config
: configuration
docs
: swagger configuration
handlers
: layer between operation and business logic
repositories
: repository of specific business logic function
models
: model configuration
middleware
: logic of configuration on middle layer
helper
: reusable function and tool
assets
: external assets directory
Be carefull with go version.
Want to contribute? Great!
Duplicate .env.example and rename to .env
Fill variable on .env that refer to database mysql
Prepare module
go mod tidy
Init swag
swag init
Running Application
go run main.go
Look endpoint list in Swagger Documentation
http://localhost:8080/documentation/index.html
Up docker
docker-compose up -d --build