golang-echo-sample

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package docs GENERATED BY THE COMMAND ABOVE; DO NOT EDIT This file was generated by swaggo/swag
Package docs GENERATED BY THE COMMAND ABOVE; DO NOT EDIT This file was generated by swaggo/swag

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL