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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.