boilerplate

command
v0.0.0-...-18a43ce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2019 License: MIT Imports: 4 Imported by: 0

README

A GinBro RESTful APIs Application

Packages

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.

Thanks

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
goCron : A Golang Job Scheduling Package.
goCron : A Golang Job Scheduling Package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL