sendya / gin-example

Do you need a tutorial in go, see here

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Do you need a tutorial in go, see here

License:MIT License


Languages

Language:Go 91.9%Language:Makefile 6.2%Language:Dockerfile 1.9%