# README
golang-echo-sample
Make an out-of-the-box backend based on golang-echo
Echo + MySQL + go-resty + Gorm + ZAP +configor
Project screen shoot
http://localhost:8080/swagger
Tree view
.
├── Dockerfile
├── LICENSE
├── README.md
├── application.yml
├── controller
│ ├── bible.go
│ ├── models.go
│ └── resp.go
├── docker
│ ├── build.sh
│ └── run.sh
├── docs
│ ├── docs.go
│ ├── swagger.json
│ └── swagger.yaml
├── go.mod
├── go.sum
├── main.go
├── models
├── router
│ ├── bible.go
│ ├── router.go
│ └── url.go
├── sample.gif
└── utils
├── config
│ └── config.go
├── logger
│ └── logger.go
├── middlewares
│ ├── error.go
│ ├── initMiddleware.go
│ └── wrapper.go
└── util.go
Docker
how to build
make build
how to run
make test
References
- https://gorm.io/
- https://echo.labstack.com/
- https://github.com/uber-go/zap
- https://github.com/jinzhu/configor
- https://github.com/go-resty/resty
- https://github.com/swaggo/swag#declarative-comments-format
- https://github.com/ybkuroki/go-webapp-sample
- https://github.com/brpaz/echozap
- https://github.com/sandipb/zap-examples
# Packages
No description provided by the author
Package docs GENERATED BY THE COMMAND ABOVE; DO NOT EDIT This file was generated by swaggo/swag.
No description provided by the author
No description provided by the author