go get github.com/gin-contrib/cors
go get github.com/gin-contrib/static
go get github.com/gin-gonic/autotls
go get github.com/gin-gonic/gin
go get github.com/sirupsen/logrus
go get github.com/spf13/viper
go get github.com/go-redis/redis
go get github.com/go-sql-driver/mysql
go get github.com/jinzhu/gorm
Usage
swagger DOC http://{{.AppListen}}/swagger/
static http://{{.AppListen}}
app INFO only works on not-prod env http://{{.AppListen}}/app/info
API baseURL : http://{{.AppListen}}/api/v1
Info
table'schema which has no "ID","id","Id'" or "iD" will not generate model or route.
the column which type is json value must be a string which is able to decode to a JSON,when call POST or PATCH.