Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```