Oh my gosh. You could have saved all the time for writing that long long question if someone had told you before that GOPATH is a thing of the past.
Go has a new package dependency management system called Go Modules, and this removes the need for a central source code workspace. See https://github.com/golang/go/wiki/Modules to get started, search https://blog.golang.org for its Go Module posts, or search the Web for "Go Modules". -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/b692b126-234e-41f8-bfd4-99e8991bb531%40googlegroups.com.