Golang boilerplate using gin-gonic framework and gorm for microservice
-
Go to your
$GOPATH/src
and clone the directory usinggit clone https://github.com/thedevsaddam/orchid.git
or download the zip file -
Install dependency manager
govendor
using the command belowgo get -u github.com/kardianos/govendor
-
Go to the
$GOPATH/src/orchid/vendor
directory and install dependencies usinggovendor sync
command -
Copy
.env.example
to.env
and set your configurations. -
Run
go build
to 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.