# README
Golang Rest API skeleton
Uses:
- gin as http framework
- gorm-v2 as ORM
- go-fractal as data transformer
- go-hashids as numerical ID obfuscation
Commands list:
Command | Description | Launch |
---|---|---|
develop:test | Testable command | manually |
database:migrations:migrate | Apply migrations | manually |
database:migrations:rollback | Rollback migrations | manually |
database:seeders:seed | Seed dev data to DB | manually |
database:seeders:clear | Clear dev data | manually |
app:start | API WebServer launch | manually |
Launch
- ./golang-api-skeleton {command} - simple launch
- ./golang-api-skeleton {command} -config=./config.yml - launch with args
Testing
go test --coverprofile=coverage.out ./... && go tool cover -func coverage.out && go tool cover --html=coverage.out -o coverage.html
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author