This is a skeleton for a golang web application optimized for simplicity and rapid development.
- Fork this repository
- Change the package name in
go.mod
to reflect your own repository - run
modd
- if you chose not to install modd, build the app with
go build -o your_program_name
- if you chose not to install modd, build the app with
- modify code to see the results
PORT
: the port for the app to listen on. Defaults to 8080STATIC_BASE
: the base URL for static assets. Defaults to/static