This is My Template/Boilerplate to Create REST API/Microservice Using:
- Go
- Echo Framework (v4)
- MySQL
- Viper
- Paseto Token
- Migrate (golang-migrate)
- Clone this repo
go mod init YOUR_GO_MOD_NAME
- Find and Replace in vscode
github.com/joisandresky/go-echo-mysql-boilerplate
intoYOUR_GO_MOD_NAME
go mod download
- copy
configs/env_example.yaml
and rename intoenv.yaml
go run cmd/main.go