Skip to content

My standard boilerplate for an advanced go webserver, with a lot of bells and whistles

Notifications You must be signed in to change notification settings

lurein/GoServerBoilerplateAdvanced

Repository files navigation

GoServerBoilerplateAdvanced

My standard boilerplate for an advanced go webserver, with a lot of bells and whistles

Features

-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

Getting Started

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])

About

My standard boilerplate for an advanced go webserver, with a lot of bells and whistles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published