/gin-example

Do you need a tutorial in go, see here

Primary LanguageGoMIT LicenseMIT

Gin Example

this a message.

Quick Start

1. Setter goproxy (if in china)

$ go generate

2. Install pkgs (you can need make)

$ go mod download
$ go install github.com/swaggo/swag/cmd/swag@latest
$ go install github.com/mitchellh/gox@latest

3. Start App

$ make start

Other

Project Config

# self copy
$ cp ./config/config.example.yml ./config/config.yml
# or .. auto generate
$ make genconfig

Swagger

# generate swagger doc.json
$ make docs