alexhudici / go-server-template

Basic template to quickly kick off a new project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

About

Basic template to quickly kick off a new project


Languages

Language:Go 87.5%Language:Makefile 12.5%