A Go framework suitable for rapid business development, which can quickly build API services or Web sites.
English | δΈζζζ‘£
- Router Gin
- Middleware Gin
- Database GORM
- Document Swagger ηζ
- Config Viper
- Auth JWT
- Validator validator
- Cron cron
- Test GoConvey
- CI/CD GitHub Actions
- Lint GolangCI-lint
βββ Makefile
βββ api
βββ cmd
βββ config
βββ docs
βββ internal
β βββ cache
β βββ handler
β βββ middleware
β βββ model
β βββ dao
β βββ ecode
β βββ routers
β βββ server
β βββ service
βββ logs
βββ main.go
βββ pkg
βββ test
βββ scripts
# go >= 1.16
go install github.com/go-eagle/eagle/cmd/eagle@latest
# go < 1.16
go get github.com/go-eagle/eagle/cmd/eagle
eagle new eagle-demo
# or
eagle new github.com/foo/eagle-demo
# build
make build
# run
eagle run
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the repository to your own GitHub account.
- Create a new branch for your changes.
- Make your changes to the code.
- Commit your changes and push the branch to your forked repository.
- Open a pull request on our repository.
MIT. See the LICENSE file for details.