an simple example for gin + mariadb + swagger + social(google, facebook) login token backend validate.
$ go get github.com/coolishbee/go-gin-sample
- MariaDB
- RedisDB
Create a game database and import SQL
You should modify conf/app.ini
[database]
Type = mysql
User = root
Password =
Host = 127.0.0.1:3306
Name = game
...
$ cd $GOPATH/src/go-gin-sample
$ go run main.go
- RESTful API
- Gorm
- Swagger
- Gin
- App configurable
- Logging
- Social Login backend validate (Google, Facebook, Apple)
- RedisDB
- Apple login token validate
- LevelDB