go-boilerplate
go-boilerplate copied to clipboard
Starter for golang projects
Go Boilerplate
Easily expandable ready to use golang boilerplate.
Features
- Configuration by viper
- API Routing by chi
- API Documentation swagger
- Database usage gorm
- Database migrations gormigrate
- AMQP client rabbitmq
- Redis client redis
- Logging with zerolog
How to use
Copy .env.example file and fill environment variables
cp .env.example .env
Run
make tidy
make run