Troubleshooting dot init

This is how I resolved the build errors that occurred when converting Chapter 4, SOLID Design in Go, to the dot init technique.

First, I used the cd command to direct to the project's root directory (where the project is Chapter 4SOLID Design in Go, source code):

Next, I ran glide-update to tell Glide to put the dependencies in the vendors directory:

But, that failed because the import statement was incorrect:

Here's ...

Get Learning Functional Programming in Go now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.