🦅 A Go framework for the Web or Microservice
Go to file
2024-04-23 19:14:02 +08:00
.github chore: upgrade go to v1.19 (#104) 2023-08-10 17:48:17 +08:00
cmd chore: gen project by adding branch name (#126) 2024-01-02 11:59:33 +08:00
config feat: support config multiple databases (#123) 2023-12-24 16:18:08 +08:00
deploy chore(ci): fix image url 2023-05-20 16:14:26 +08:00
docs/images docs: add image about layout 2024-03-31 22:37:08 +08:00
examples chore: improve redis queue and add example (#102) 2023-08-08 11:26:00 +08:00
internal feat: support config multiple databases (#123) 2023-12-24 16:18:08 +08:00
pkg feat: support config multiple databases (#123) 2023-12-24 16:18:08 +08:00
scripts fix(admin): start cmd and tips 2022-05-16 17:45:47 +08:00
test chore: fix docker start error 2021-10-30 09:43:58 +08:00
.gitignore chore: add sub cmd for cache and repo 2022-01-08 11:23:16 +08:00
.golangci.yml chore: upgrade go to v1.19 (#104) 2023-08-10 17:48:17 +08:00
.goreleaser.yml chore(ci): modify release config 2023-05-06 18:51:34 +08:00
.pre-commit-config.yaml feat: add config for git commit 2021-05-14 19:34:39 +08:00
CHANGELOG.md chore: gen project by adding branch name (#125) 2024-01-02 11:43:46 +08:00
docker-compose.yml chore: removed volume not is used in master 2022-09-19 15:03:49 +01:00
Dockerfile chore: optimize dockerfile 2023-05-20 13:47:50 +08:00
go.mod chore(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0 (#121) 2023-12-19 13:51:55 +08:00
go.sum chore(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0 (#121) 2023-12-19 13:51:55 +08:00
LICENSE update content 2019-11-27 19:38:32 +08:00
main.go feat: support config multiple databases (#123) 2023-12-24 16:18:08 +08:00
Makefile chore: upgrade go to v1.19 (#104) 2023-08-10 17:48:17 +08:00
README_ZH.md Update README_ZH.md (#93) 2023-06-08 08:10:55 +08:00
README.md docs: update framework diagram 2024-04-23 19:14:02 +08:00

🦅 eagle

GitHub Workflow Status codecov GolangCI godoc Gitter OpenTracing Badge Go Report Card gitmoji License

A Go framework suitable for rapid business development, which can quickly build API services or Web sites.
English | 中文文档

Features

Framework Layered Architecture

eagle-framework-diagram

Logic Layered Architecture

Eagle utilizes a classic layered structure and employs the Wire dependency injection framework to enhance modularity and reduce coupling between components.

Leagle Layout Arch

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

https://go-eagle.org/

CHANGELOG

Who is using

Discussion

Microservice Roadmap

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

Stargazers over time

License

MIT. See the LICENSE file for details.