go version
go version go1.14.13 darwin/amd64
go build
go run server.go
____ __
/ __/___/ / ___
/ _// __/ _ \/ _ \
/___/\__/_//_/\___/ v4.1.17
High performance, minimalist Go web framework
https://echo.labstack.com
____________________________________O/_______
O\
⇨ http server started on [::]:1323
or with air (Hot reload)
air -c .air.toml
____ __
/ __/___/ / ___
/ _// __/ _ \/ _ \
/___/\__/_//_/\___/ v4.1.17
High performance, minimalist Go web framework
https://echo.labstack.com
____________________________________O/_______
O\
⇨ http server started on [::]:1323
- app
- helpers
- config
config.go
- session
session.go
- http
- controllers
- user.go
- middleware
- models
- user.go
- providers
- route_service_provider.go
- repositories
- services
- bootstrap
- app.go
- config
- app.yaml
- database.yaml
- ...
- resources
- lang
- en
- ja
- routes
- api.go
.env
go.mod
server.go
- https://medium.com/rungo/structures-in-go-76377cc106a2
- https://medium.com/rungo/anatomy-of-methods-in-go-f552aaa8ac4a