https://github.com/veryhappytree/go-boilerplate
Starter for golang projects
https://github.com/veryhappytree/go-boilerplate
boilerplate chi golang golang-examples gorm rabbitmq redis rest-api starter-kit viper
Last synced: 3 months ago
JSON representation
Starter for golang projects
- Host: GitHub
- URL: https://github.com/veryhappytree/go-boilerplate
- Owner: veryhappytree
- Created: 2023-06-25T14:02:54.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-05T14:36:55.000Z (6 months ago)
- Last Synced: 2025-04-09T22:51:25.940Z (3 months ago)
- Topics: boilerplate, chi, golang, golang-examples, gorm, rabbitmq, redis, rest-api, starter-kit, viper
- Language: Go
- Homepage:
- Size: 52.7 KB
- Stars: 22
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Go Boilerplate
Easily expandable ready to use golang boilerplate.
## Features
- Configuration by [viper](https://github.com/spf13/viper)
- API Routing by [chi](https://github.com/go-chi/chi)
- API Documentation [swagger](github.com/flowchartsman/swaggerui)
- Database usage [gorm](https://github.com/go-gorm/gorm)
- Database migrations [gormigrate](https://github.com/go-gormigrate/gormigrate)
- AMQP client [rabbitmq](https://github.com/rabbitmq/amqp091-go)
- Redis client [redis](https://github.com/redis/go-redis)
## How to use
Copy .env.example file and fill environment variables
```
cp .env.example .env
```
Run
```
make tidy
make run
```