Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
E

eagle

> 数据库
Open source

A Go framework for the API or Microservice

2.4K stars0 likes1 views
WebsiteGitHub

About

A Go framework for the API or Microservice

eagle

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

Features

  • API framework gin
  • RPC framework gRPC
  • Configuration viper
  • Logging component zap
  • Database ORM component gorm | MongoDB
  • Search component Elasticsearch
  • Cache component go-redis, ristretto
  • Message Queue Rabbitmq | redis
  • Authentication JWT
  • Parameter Validator validator
  • Scheduled tasks cron
  • Metrics monitoring prometheus, grafana
  • Distributed Tracing opentelemetry
  • Service registration and discovery etcd | consul | nacos
  • Unit Test GoConvey
  • Lint GolangCI-lint
  • CI/CD GitHub Actions, docker, kubernetes

Framework Layered Architecture

Logic Layered Architecture

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

Directory Structure

…

Installtion CLI

bash
GOPROXY="https://goproxy.cn,direct"

# 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

bash
# gen a server with http and gRPC
eagle new eagle-demo
# or 
eagle new github.com/foo/eagle-demo

# install dependence
go mod tidy

# run
make run

Documentation

https://go-eagle.org/

CHANGELOG

  • CHANGELOG

Who is using

  • 1024casts
  • FastIM
  • Go-microservice

Discussion

  • Issue: https://github.com/go-eagle/eagle/issues
  • Discord: https://discord.com/channels/968369660900814869

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.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Gocloud-nativeeagleframeworkgin

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category数据库
PricingOpen source

> Related tools

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库