mirror of
https://github.com/go-eagle/eagle.git
synced 2025-09-26 20:41:26 +08:00
aa3b835575179ed416e977a06b44a113123dd9e6

* feat: support config multiple databases
🦅 eagle
A Go framework suitable for rapid business development, which can quickly build API services or Web sites.
English | 中文文档
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 run
Documentation
CHANGELOG
Who is using
Discussion
Microservice Roadmap
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.
Languages
Go
92.8%
HTML
4.9%
Shell
1.3%
Makefile
0.7%
Dockerfile
0.3%