Note: this question is related to this one, but two years is a very long time in Go history.
What is the standard way to organize a Go project during development ?
My project is a single package mypack
, so I guess I put all the .go files in a mypack
directory.
But then, I would like to test it during development so I need at least a file declaring the main
package, so that I can do go run trypack.go
How should I organize this ? Do I need to do go install mypack
each time I want to try it ?