My standard boilerplate for an advanced go webserver, with a lot of bells and whistles
-Postgres DB
-GORM as an ORM
-Wire Dependency Injection
-Mux for routing
-Simple Docker config
-Swagger for API Documentation
-Zerolog for logging, complete with logging middleware
To get started, I make the assumption that you've got your whole go IDE set up and your GOPATH configured, etc.
I named this sample project whimsy, after GiveCard's webserver of the same name, it's also my favorite word.
Search the whole repo and replace whimsy in all occurences with whatever you've named your project (i.e. whatever package name you use when you run go mod init [package name])