Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 683 Bytes

README.md

File metadata and controls

26 lines (21 loc) · 683 Bytes

go-server-template

Basic template to quickly kick off a new project

Make it go

make clean #delete bin/ directory
make build #install dependencies and build
make run-dev #run with dev configuration

Run straight-up:

# build the binary
go build -o bin/server

# run in dev: log-level defaults to debug and logging to stdout
./bin/server

# run in production
./bin/server --log-level=warn --log-file="/var/log/server.log"

Uses: