Echo template for Create Go App CLI
Echo is a high performance, minimalist Go web framework.
- Create a new project with Echo:
cgapp create
# Choose a backend framework:
# > echo
# fiber
# net/http
Prerequisites:
make test
make lint make coverage ## with Go
make local ## with Docker
make docker.run- Go to API Docs page (Swagger): 127.0.0.1:5000/swagger/index.html
├── cmd
│ └── template
│ └── main.go
│...
Folder with business logic only. This directory doesn't care about what database driver you're using or which caching solution your choose or any third-party things.
./app/controllersfolder for functional controllers (used in routes)./app/modelsfolder for describe business models and methods of your project./app/queriesfolder for describe queries for models of your project
Folder with API Documentation. This directory contains config files for auto-generated API Docs by Swagger.
├── internal
│ ├── api
│ │ ├── models
│ ├── cache
│ ├── datastore
│ ├── middleware
│ ├── migrations
│ ├── redis
│ └── token
Apache 2.0 © Vic Shóstak & True web artisans.
