Golang Project Structure

Tips and tricks for writing and structuring Go code



Some Simple Suggestions for Structuring Go Code

You don’t always have to think long and hard about structure: the easiest way to begin when writing Go code is just to create a main.go file and run it. In the past, this file would have had to be located in a package within the $GOPATH/src directory. However, since version 1.11 of the Go […]