DEV Community

Discussion on: My reflections on Golang

Collapse
 
deepu105 profile image
Deepu K Sasidharan

I thought putting projects in Go path is still the official recommendation. At least the website says so golang.org/doc/code.html

Could you point me to doc or an article explaining how to do it outside of GOPATH? I'm defineley interested sop that I can get rid of my current workarounds.

Collapse
 
biros profile image
Boris Jamot ✊ /

It must be in the official go mod doc on the wiki. I'll put the link when I'll be back to my desktop.

Thread Thread
 
jma profile image
Jie

you can put code in anywhere once using go module
github.com/golang/go/wiki/Modules