π¦
eagle
Introduction
A Go framework suitable for rapid business development, which can quickly build API services or Web sites.
Features
- 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
Directory Structure
βββ Makefile
βββ api
βββ cmd
βββ config
βββ docs
βββ internal
β βββ cache
β βββ handler
β βββ middleware
β βββ model
β βββ dao
β βββ ecode
β βββ routers
β βββ server
β βββ service
βββ logs
βββ main.go
βββ pkg
βββ test
βββ scripts
Installtion CLI
# 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
Quick Start
eagle new eagle-demo
# or
eagle new github.com/foo/eagle-demo
# build
make build
# run
./eagle-demo
Documentation
CHANGELOG
Who is using
Discussion
Contributing
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.
Stargazers over time
License
MIT. See the LICENSE file for details.