November 2017
Intermediate to advanced
670 pages
17h 35m
English
That init script must have done something else for us, right? Let's run our goenv info command again to see what else it did:

We get a warning because the GOPATH is actually a path. (Most other vendor solutions will not work properly if GOPATH is anything other than a single directory.) Our GOPATH is constructed just like our PATH environment variable. It's composed of paths appended together, separated by a colon character.
Our GOPATH is comprised of two values: the src path (with our project source files) and the vendors path (with our third-party dependency source files).