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

https://github.com/dunghenry/gin_mysql_docker


https://github.com/dunghenry/gin_mysql_docker

docker docker-compose gin-gonic mysql

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

          

## Gin + MySQL

### Setup and install

```js
go mod init gin/mysql
```

```js
go get -u github.com/gin-gonic/gin
```

```js
go get -u github.com/go-sql-driver/mysql
```

```js
go install github.com/cosmtrek/air@latest
```

```js
air init
```

### Run auto reload

```js
air run main.go
```

### Run

```js

go run main.go
```