Go
Project structure
- "How I write HTTP services after eight years" - I really like this
- "Standard Package Layout" - some cool ideas here
- for CLIs: "The Within Go Repo Layout"
func main
func main() { if err := run(os.Args, os.Stdout); err != nil { // ... } } func run(args []string, stdout io.Writer) error { // ... }
Context
HTTP frameworks?
- compatible with net/http: https://github.com/go-chi/chi