modulepackage
0.0.0-20230403152415-ea17c9a0bb9d
Repository: https://github.com/coolishbee/go-gin-sample.git
Documentation: pkg.go.dev
# README
go-gin-sample
an simple example for gin + mariadb + swagger + social(google, facebook) login token backend validate.
Installation
$ go get github.com/coolishbee/go-gin-sample
How to run
Required
- MariaDB
- RedisDB
Ready
Create a game database and import SQL
Conf
You should modify conf/app.ini
[database]
Type = mysql
User = root
Password =
Host = 127.0.0.1:3306
Name = game
...
Run
$ cd $GOPATH/src/go-gin-sample
$ go run main.go
Features
- RESTful API
- Gorm
- Swagger
- Gin
- App configurable
- Logging
- Social Login backend validate (Google, Facebook, Apple)
- RedisDB
TODO
- Apple login token validate
- LevelDB
Reference
# Packages
Package docs GENERATED BY SWAG; DO NOT EDIT This file was generated by swaggo/swag.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author