Search code examples
gocode-organization

Go code organisation best practice


After reading How to Write Go Code, and watching this screencast, I just want to ask:

  • Is having multiple directories in the GOPATH variable environment considered a good practice ?

Solution

  • It's not about good or bad practice. It's about different needs. Many developers can live with a single path in their GOPATH. Others have special needs and for them the multiple-path GOPATH is a solution.