Golang boilerplate using gin-gonic framework and gorm for microservice
-
Go to your
$GOPATH/srcand clone the directory usinggit clone https://github.com/thedevsaddam/orchid.gitor download the zip file -
Install dependency manager
govendorusing the command belowgo get -u github.com/kardianos/govendor -
Go to the
$GOPATH/src/orchid/vendordirectory and install dependencies usinggovendor synccommand -
Copy
.env.exampleto.envand set your configurations. -
Run
go buildto build binary file and to start the application use./orchid
- Job Queue
- Caching
- Localization
- Helpers
- OAuth2 server or JWT
- Fixing inconsistent codes
- Request validation
- Security
- Find out performance issues
- Benchmarking
- Routing, middleware, route-group gin-gonic
- Object-relational mapping gorm
- Dependency management package govendor
- Environment management package godotenv
The Orchid-micro is a open-source software licensed under the MIT License.