Skip to content

Lonka/go-gin-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Gin Base

An example of gin base on eddycjy/go-gin-example

How to run

Required

  • Install MySQL and create a db database and import SQL
  • Swagger

Conf

Setting configuration via conf/app.ini.

Run

$ cd ./go-gin-base
$ swag init
$ go run main.go

Features

  • Go Mod
  • gin
  • gin cors
  • Jwt-go
  • go-playground/validator
  • gorm (callback)
  • Redis
  • MQTT Client (mosquitto ca)
  • WebSocket (broadcast, namesapce, event)
  • logging
  • export excel
  • minimum docker image