Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sendya/gin-example
Do you need a tutorial in go, see here
https://github.com/sendya/gin-example
gin go golang
Last synced: about 5 hours ago
JSON representation
Do you need a tutorial in go, see here
- Host: GitHub
- URL: https://github.com/sendya/gin-example
- Owner: sendya
- License: mit
- Created: 2022-03-16T13:07:28.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-05-16T06:49:06.000Z (over 2 years ago)
- Last Synced: 2024-05-03T00:23:00.293Z (7 months ago)
- Topics: gin, go, golang
- Language: Go
- Homepage:
- Size: 88.9 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Gin Example
this a message.## Quick Start
#### 1. Setter goproxy (if in china)
```bash
$ go generate
```#### 2. Install pkgs (you can need `make`)
```bash
$ go mod download
$ go install github.com/swaggo/swag/cmd/swag@latest
$ go install github.com/mitchellh/gox@latest
```#### 3. Start App
```bash
$ make start
```---
## Other
### Project Config
```bash
# self copy
$ cp ./config/config.example.yml ./config/config.yml
# or .. auto generate
$ make genconfig
```### Swagger
```bash
# generate swagger doc.json
$ make docs
```