go-rest-template

module
v0.0.0-...-819b816 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2020 License: MIT

README

go-rest-template

Go (Golang) API REST Template/Boilerplate with Gin Framework

Go Report Card Open Source Love Build Status

0. Run

1. Run with Docker

  • Build make build-docker
  • Run docker run -p 3000:3000 api-rest
  • Test go test -v ./test/...

2. Generate Docs

  • Get swag go get -u github.com/swaggo/swag/cmd/swag
  • Generate docs swag init --dir cmd/api --parseDependency --output docs

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL