/go-rest-boi

zacoding's go rest template but shedding some of that belly fat for more flexibility

Primary LanguageGoApache License 2.0Apache-2.0

Go Rest API Base Template

Golang REST API Template/Boilerplate with Gin/Gorm/Fx.

Run with docker

$ make compose.local.up

Check .http files for tests in sample.http

Tests

# Clean test cache, Run go tests and build
$ make tests

Lint

# Run golangci-lint
$ make lint

Build

$ make build
$ tree ./build/bin                                       
./build/bin
└── apiserver

Release

$ make release
# $ make release.local  # for local tests
# $ make release.dry    # for dry run

Relocate project

; TBD