This is built on top of Go Fiber Golang Framework.
There is some dependencies that we used in this skeleton:
- Go Fiber [Go Framework]
- Viper [Go Configuration]
- Cobra [Go Modern CLI]
- Logrus Logger [Go Logger]
- Goose Migration [Go Migration]
- Gobreaker [Go Circuit Breaker]
- OpenTelemetry [OpenTelemetry Tracer]
- Golang version 1.21 or latest
- Database MySQL
- RabbitMQ
install required dependencies
make installrun current service after all dependencies installed
make startmigration up
go run main.go db:migrate upmigration down
go run main.go db:migrate downmigration reset
go run main.go db:migrate resetmigration reset
go run main.go db:migrate resetmigration redo
go run main.go db:migrate redomigration status
go run main.go db:migrate statuscreate migration table
go run main.go db:migrate create {table-name} sql
# example
go run main.go db:migrate create users sqlto show all command
go run main.go db:migrate