Skip to content

key60529/go-gin-gorm-api-starter-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-gin-gorm-api-starter-kit

A golang API which include gin and gorm packages starter kit.

Requirements

  • go: go 1.9 or newer
  • dep: stable 0.4.1 or newer

Packages

Usage

Database (MySQL)

// app/database/db.go
...
const (
  //DbHost for example 127.0.0.1:3306
  DbHost = ""
  //DbUser username to login your mysql
  DbUser = ""
  //DbPassword mysql password
  DbPassword = ""
  //DbName database name
  DbName = ""
)
...

Serve

cd your-path/go-gin-gorm-api-starter-kit/
go run main.go

About

An golang API starter kit which include gin & gorm package.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages