maxvint / gin-starter

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.


Languages

Language:Go 93.6%Language:Python 4.1%Language:Makefile 2.4%