Salva template easily starter for development apis in go.
- Viper (https://github.com/spf13/viper)
- Gorm (https://github.com/go-gorm/gorm)
- Fiver (https://github.com/gofiber/fiber)
- Yaml (https://github.com/go-yaml/yaml/tree/v2.4.0)
- Salva (https://github.com/yahyrparedes/salva)
make run
o
swag init -g cmd/main.go --output docs
go run cmd/main.go
make prod
o
swag init -g cmd/main.go --output docs
APP_ENV=prod go run cmd/main.go
https://github.com/swaggo/swag
swag init -g cmd/main.go --output docs
- Add new endpoint for app
salva magic
Example endpoint User
salva magic user