Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 ?
like image 937
Salah Eddine Taouririt Avatar asked Feb 14 '26 15:02

Salah Eddine Taouririt


1 Answers

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.

like image 181
zzzz Avatar answered Feb 17 '26 09:02

zzzz



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!