Skip to content

maxvint/gin-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gin Strter

Gin Framework with a structured starter project including Protobuf, CURD operations, routing, pagination and more.

Configured with

Features

Quickstart

Install Dependencies
$ dep ensure
Run Your Application
$ go run ./

# You can use realize to hot reload your application
$ realize start --run --nc 

Config

Config MySQL

You will find the MySQL config file in conf/app.yaml. In which you can setup your database config attribute.

db_address:
  database_name: test
  hostname: 127.0.0.1
  username: root
  password: 123456
  port: 3306
  options: charset=utf8mb4&parseTime=True&loc=UTC&interpolateParams=true
  ssl_client_key:
  ssl_client_cert:
  ssl_ca:
  max_open_conns: 100
  max_idle_conns: 10
  max_life_time: 1000

Support & Suggestions

About

Gin Framework with a structured starter project including Protobuf, CURD operations, routing, pagination and more.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published