gin-gorm-boilerplate
An API boilerplate written in Golang with Gin Framework
Installation
- configuration manage from config.yml file
- To add all dependencies for a package in your module
go get .
in the current directory
Lets Run
- Docker Run
docker-compose up
- Locally Run
go run main.go
orgo build main.go
and run./main
- The application should be available and running on 0.0.0.0:8000
Under the hood
- Viper – Go configuration with fangs.
- Gorm – The fantastic ORM library for Golang
- Logger – Structured, pluggable logging for Go.