Gimic is simple boilerplate for building Microservice with Gin Gonic + Go-Micro.
git clone https://github.com/hajidalakhtar/Gimic.git
Mysql database
go get github.com/go-sql-driver/mysql
Go Framework
go get -u github.com/gin-gonic/gin
Go-Micro
go get github.com/micro/micro/v2
Object Relation Mapping
go get -u github.com/jinzhu/gorm
Serving the project
go run main.go serve
COMMAND | DESCRIPTION |
---|---|
go run main.go serve |
running server instance |
go run main.go migrate |
running auto migration |
go run main.go microservice |
running service |
Gomen | simple boilerplate for building Microservice with golang.