This is Framework concept with Golang, Gin, Gorm and etc
- Rest API Framework
- JWT Authentication
- Redis + Session
https://golang.org/doc/install
|-- src
|-- config
|-- config.{environment}.yaml
|-- database.go
|-- controllers
|-- ...
|-- *.controller.go
|-- entities
|-- ...
|-- *.entitiy.go
|-- helpers
|-- ...
|-- *.helper.go
|-- middlewares
|-- ...
|-- *.go
|-- routes
|-- ...
|-- route.go
|-- services
|-- ...
|-- *.service.go
|-- main.go
go run src/main.go
http://localhost:8080/public/api
export ENV=prod; go run src/main.go