go-webapp
An example of a reasonably complex web server in Go.
What's Included
This is a boilerplate application designed to show how to build web applications in Go. The following features are already set up:
- An API subrouter
- A demo of authentication middleware
- Static file serving
- Graceful shutdown
This application largely uses the standard library. Routing is provided by the go-chi/chi
package.
Usage
go run app.go