yinggaozhen/awesome-go-cn

Public

一个很棒的Go框架、库和软件的中文收录大全。:alarm_clock:脚本定期与英文文档同步,包含了各工程star数/最近更新时间,助您快速发现优质项目。Awesome Go~

  • Stars5.2k+4 tuần này
  • Forks531
  • Watchers93
  • Issues6
  • Ngày tạo25/06/2019
  • Cập nhật gần nhất30/10/2026
  • Ngôn ngữ—
  • Giấy phépMIT
README.md503.1 KBRaw

Awesome Go

此项目是 awesome-go 中文版,最后一次同步时间 : 2026-01-30 07:26:33(每隔1天同步一次)

chinese Build Status Awesome Slack Widget Netlify Status

patreon avelino 为Awesome Go打赏~

精选了一系列很棒的Go框架、库和软件。灵感来自于awesome-python。

小图标说明 :

小图标 说明
最近一周有更新 最近一周有更新。可以基本判断当前库处于积极维护状态。
最近三年未更新 最近三年没有更新。反应了此库的维护积极性不高,使用时需谨慎。
归档项目 此项目已归档,不再更新,使用时需谨慎。
此项目有中文文档 此项目有中文文档。
godoc文档 godoc文档地址。

说明

中文 | English

Netlify Status Track Awesome List Last Commit 你可以快速浏览贡献者名单contribution guidelines. 感谢所有为此项目付出的同学contributors; 你真棒! We use the Golang Bridge community Slack for instant communication, follow the form here to join. 如果您在看到一个包或项目不再维护或不适合,请往awesome-go提交Pull Request,本项目每隔一天与英文文档同步。感谢! awesome-go - Curated list awesome Go frameworks, libraries and software | Product Hunt

Sponsorships:

特别感谢 (翻译出错了? 试试 英文版 吧~)

Awesome Go has no monthly fee, but we have employees who work hard to keep it running. With money raised, we can repay the effort of each person involved! You can see how we calculate our billing and distribution as it is open to the entire community. Want to be a supporter of the project click here.

A curated list of awesome Go frameworks, libraries, and software. Inspired by awesome-python.

Contributing:

Please take a quick gander at the contribution guidelines first. Thanks to all contributors; you rock!

If you see a package or project here that is no longer maintained or is not a good fit, please submit a pull request to improve this file. Thank you!

内容

Expand contents

⬆ back to top

Actor Model

Libraries for building actor-based programs. (翻译出错了? 试试 英文版 吧~)

  • ProtoActor star:5419 Distributed actors for Go, C#, and Java/Kotlin. godoc
  • Ergo star:4350 An actor-based Framework with network transparency for creating event-driven architecture in Golang. Inspired by Erlang. 近一周有更新 godoc
  • Hollywood star:2174 Blazingly fast and light-weight Actor engine written in Golang. godoc
  • Goakt star:319 Fast and Distributed Actor framework using protocol buffers as message for Golang. 近一周有更新 godoc
  • asyncmachine-go/pkg/machine Graph control flow library (AOP, actor, state-machine).

⬆ back to top

Artificial Intelligence

Libraries for building programs that leverage AI. (翻译出错了? 试试 英文版 吧~)

  • Ollama star:161061 Run large language models locally. 近一周有更新 godoc
  • LocalAI star:42463 Open Source OpenAI alternative, self-host AI models. 近一周有更新 godoc
  • langchaingo star:8548 LangChainGo is a framework for developing applications powered by language models. godoc
  • chromem-go star:832 Embeddable vector database for Go with Chroma-like interface and zero third-party dependencies. In-memory with optional persistence. godoc
  • fun The simplest but powerful way to use large language models (LLMs) in Go.
  • OllamaFarm star:94 Manage, load-balance, and failover packs of Ollamas. godoc

⬆ back to top

音频和音乐

用于操作音频的库。 (翻译出错了? 试试 英文版 吧~)

  • Oto star:1855 多平台的 low-level 声音播放库。 godoc
  • PortAudio star:824 基于 Go 的PortAudio audio I/O库。 godoc
  • beep star:510 A simple library for playback and audio manipulation. godoc
  • GoAudio star:402 本地Go音频处理库。 godoc
  • malgo star:384 迷你音频库。
  • id3v2 star:360 ID3解码和编码库为Go。 godoc
  • flac star:350 原生 Go FLAC编码器/解码器,支持FLAC流。 godoc
  • gaad star:135 原生 Go AAC位流解析器。 近三年未更新 godoc
  • minimp3 star:133 轻量级MP3解码器库。
  • gosamplerate star:38 libsamplerate 的 Go 语言实现接口。 godoc
  • go-mpris star:19 Client for mpris dbus interfaces. godoc

⬆ back to top

Authentication and Authorization

Libraries for implementing authentication and authorization. (翻译出错了? 试试 英文版 吧~)

  • casbin star:19783 Authorization library that supports access control models like ACL, RBAC, and ABAC. 近一周有更新 godoc
  • jwt-go star:8867 A full featured implementation of JSON Web Tokens (JWT). This library supports the parsing and verification as well as the generation and signing of JWTs. 近一周有更新 godoc
  • goth star:6425 提供了 OAuth 和 OAuth2 的简单清晰易用的方法。可开箱即用处理多个提供程序。 godoc
  • spicedb star:6388 A Zanzibar-inspired database that enables fine-grained authorization. 近一周有更新 godoc 包含中文文档
  • oauth2 star:5811 Successor of goauth2. Generic OAuth 2.0 package that comes with JWT, Google APIs, Compute Engine, and App Engine support. godoc
  • keto star:5259 Open Source (Go) implementation of "Zanzibar: Google's Consistent, Global Authorization System". Ships gRPC, REST APIs, newSQL, and an easy and granular permission language. Supports ACL, RBAC, and other access models. 近一周有更新 godoc
  • openfga star:4688 Implementation of fine-grained authorization based on the "Zanzibar: Google's Consistent, Global Authorization System" paper. Backed by CNCF. 近一周有更新 godoc
  • authboss star:4143 Modular authentication system for the web. It tries to remove as much boilerplate and "hard things" as possible so that each time you start a new web project in Go, you can plug it in, configure it, and start building your app without having to build an authentication system each time. godoc
  • scs star:2513 HTTP服务器的会话管理器。 godoc
  • jwx star:2304 Go module implementing various JWx (JWA/JWE/JWK/JWS/JWT, otherwise known as JOSE) technologies. 近一周有更新 godoc
  • gologin star:1945 用于使用OAuth1和OAuth2身份验证提供者登录的可链处理程序。 近一周有更新 godoc
  • osin star:1934 OAuth2服务器库。 godoc
  • loginsrv star:1927 JWT login microservice with pluggable backends such as OAuth2 (Github), htpasswd, osiam. 近三年未更新 godoc
  • oidc star:1757 Easy to use OpenID Connect client and server library written for Go and certified by the OpenID Foundation. 近一周有更新 godoc
  • gorbac star:1656 轻量级的基于角色的访问控制(RBAC)实现。 godoc
  • paseto star:932 平台无关的安全令牌(PASETO)。 godoc
  • jwt star:687 Safe, simple, and fast JSON Web Tokens for Go. godoc
  • go-guardian star:606 Go-Guardian is a golang library that provides a simple, clean, and idiomatic way to create powerful modern API and web authentication that supports LDAP, Basic, Bearer token, and Certificate based authentication. godoc
  • go-jose star:478 相当完整地实现了JOSE工作组的JSON Web令牌、JSON Web签名和JSON Web加密规范。 godoc
  • jwt star:362 轻量级JSON Web令牌库。 godoc
  • jeff star:270 Simple, flexible, secure, and idiomatic web session management with pluggable backends. godoc
  • gosession star:258 This is quick session for net/http in GoLang. This package is perhaps the best implementation of the session mechanism, or at least it tries to become one. godoc
  • jwt-auth star:237 JWT中间件,可用于Golang http服务器,提供了许多配置选项。 近三年未更新 godoc
  • goiabada star:183 An open-source authentication and authorization server supporting OAuth2 and OpenID Connect. 近一周有更新 godoc
  • otpgen star:142 库生成TOTP/HOTP代码。 godoc
  • sessionup star:129 简单但有效的HTTP会话管理和标识包。 godoc
  • sjwt star:122 简单的jwt生成器和解析器。 godoc
  • session star:118 web服务器会话管理(包括支持谷歌应用程序引擎 - GAE)。 godoc
  • branca star:95 branca token规范实现用于Golang 1.15+。 godoc
  • securecookie star:84 高效安全的cookie编码/解码。 godoc
  • sessions star:79 非常简单,高性能,可深度定制的会话服务,主要用于的 go http 服务器。 godoc
  • otpgo star:76 基于时间的一次性密码(TOTP)和基于hmac的一次性密码(HOTP)库用于Go。 近三年未更新 godoc
  • scope star:42 在Go中轻松管理OAuth2范围。 近三年未更新 godoc
  • go-iam star:34 Developer-first Identity and Access Management system with a simple UI. godoc
  • go-githubauth star:26 Utilities for GitHub authentication: generate and use GitHub application and installation tokens. godoc
  • cookiestxt star:22 provides a parser of cookies.txt file format. godoc
  • go-jwt star:15 JWT authentication package providing access tokens and refresh tokens with fingerprinting, Redis storage, and automatic refresh capabilities. godoc
  • permissions star:12 Library for keeping track of users, login states, and permissions. Uses secure cookies and bcrypt. godoc
  • x509proxy star:7 Library to handle X509 proxy certificates. godoc

⬆ back to top

区块链

构建区块链的工具。 (翻译出错了? 试试 英文版 吧~)

  • go-ethereum star:50749 以太坊协议的官方Go实现。 近一周有更新 godoc
  • kubo star:16895 An IPFS implementation in Go. It provides content-addressable storage which can be used for decentralized storage in DApps. It is based on the IPFS protocol. 近一周有更新 godoc
  • lnd star:8095 A complete implementation of a Lightning Network node. 近一周有更新 godoc
  • cosmos-sdk star:6921 在宇宙生态系统中构建公共区块链框架。 近一周有更新 godoc
  • tendermint star:5855 一个高性能中间件,可将任何语言的状态机转换为 Byzantine Fault 状态机。使用 Tendermint 一致性及区块链协议。 godoc
  • solana-go star:1506 去库与Solana JSON RPC和WebSocket接口接口。 godoc
  • gno star:1046 A comprehensive smart contract suite built with Golang and Gnolang, a deterministic, purpose-built Go variant for blockchains. 近一周有更新 godoc
  • cometbft star:850 A distributed, Byzantine fault-tolerant, deterministic state machine replication engine. It is a fork of Tendermint Core and implements the Tendermint consensus algorithm. 近一周有更新 godoc
  • gossamer star:457 Polkadot主机的Go实现。 godoc
  • nview star:38 Local monitoring tool for a Cardano Node. It's a TUI (terminal user interface) designed to fit most screens. 近一周有更新 godoc
  • gosemble star:14 A Go-based framework for building Polkadot/Substrate-compatible runtimes. godoc

⬆ back to top

Bot建设

用于构建和使用机器人的库。 (翻译出错了? 试试 英文版 吧~)

  • telegram-bot-api star:6365 简单轻量级的Telegram bot客户端。 godoc
  • telebot star:4543 Telegram bot framework is written in Go. godoc
  • wayback star:2131 A bot for Telegram, Mastodon, Slack, and other messaging platforms archives webpages. godoc
  • bot star:1551 Zero-dependencies Telegram Bot library with additional UI components. 近一周有更新 godoc
  • telego star:913 goang的Telegram Bot API库,完全一对一的API实现。 近一周有更新 godoc
  • arikawa star:568 A library and framework for the Discord API. godoc
  • echotron star:416 一个优雅的并发库Telegram Bots in Go。 godoc
  • go-joe 一个通用的机器人库的灵感来自于Hubot。
  • go-twitch-irc star:390 为twitch写机器人的库。电视聊天 godoc
  • go-sarah star:266 Framework to build a bot for desired chat services including LINE, Slack, Gitter, and more. 近一周有更新 godoc
  • slack-bot star:205 为懒惰的开发者准备好使用Slack Bot:自定义命令,Jenkins, Jira, Bitbucket, Github… 近一周有更新 godoc
  • go-tg star:124 Generated from official docs Go client library for accessing Telegram Bot API, with batteries for building complex bots included. 近一周有更新 godoc
  • slacker star:60 可简单创建Slack机器人的框架。 godoc
  • micha star:31 基于 GO 实现的Telegram 机器人API库。 godoc

⬆ back to top

构建自动化

Libraries and tools help with build automation. (翻译出错了? 试试 英文版 吧~)

  • air star:22840 Air - Live reload for Go apps. 近一周有更新 godoc 包含中文文档
  • Task star:14717 简单的“Go”的选择。 近一周有更新 godoc
  • mage star:4555 法师是一个使用Go制作/耙子类的构建工具。 godoc
  • realize star:4457 Go build a system with file watchers and live to reload. Run, build and watch file changes with custom paths. 近三年未更新 godoc
  • mmake star:1733 现代 Make 工具 godoc
  • xc star:1367 Task runner with README.md defined tasks, executable markdown. godoc
  • goyek star:676 在Go中创建构建管道。 近一周有更新 godoc
  • taskctl star:318 并发任务跑。 godoc
  • 1build star:243 命令行工具,以无摩擦地管理项目特定的命令。 godoc
  • gaper star:83 当Go项目崩溃或一些人看到文件更改时,构建并重新启动该项目。 godoc
  • gilbert 一个为 Go 项目而生的构建系统和任务运行器。
  • anko star:43 适用于多种编程语言的简单应用程序监视程序。 近三年未更新 godoc
  • gob star:14 Gradle/Maven like build tool for Go projects. godoc

⬆ back to top

命令行

高级控制台用户界面

用于构建控制台应用程序和控制台用户界面的库。 (翻译出错了? 试试 英文版 吧~)

  • bubbletea star:38900 Go framework to build terminal apps, based on The Elm Architecture. 近一周有更新 godoc
  • fx star:20219 Terminal JSON viewer & processor. 近一周有更新 godoc
  • termui star:13518 此库是基于termbox-go实现的,借鉴于blessed-contrib。 godoc
  • gocui star:10494 旨在创建控制台用户界面的极简Go库。 godoc
  • gommon/color 更换终端文本样式。
  • lipgloss star:10422 Declaratively define styles for color, format and layout in the terminal. godoc
  • bubbles star:7638 TUI components for bubbletea. godoc
  • go-prompt star:5455 构建一个强大的交互式提示,借鉴于python-prompt-toolkit godoc
  • pterm star:5353 一个在每个平台上使用许多可组合组件美化控制台输出的库。 godoc
  • termbox-go star:4764 基于文本的跨平台接口库。 godoc
  • progressbar star:4634 基本线程安全的进度条,在每个操作系统工作。 godoc
  • termdash star:2974 此库是基于termbox-go实现的,借鉴于termui。 godoc
  • asciigraph star:2951 在命令行中构建轻量级ASCII线图╭┈╯,应用程序中没有其他依赖项。 godoc
  • spinner star:2507 一个 Go 语言软件包,提供多种选项,方便在终端中创建加载动画。 godoc
  • mpb star:2472 可在终端显示多进度条。 godoc
  • uiprogress star:2140 在终端呈现进度条,可灵活配置的。 godoc
  • termenv star:1956 先进的ANSI风格和颜色支持您的终端应用程序。 godoc
  • uilive star:1714 Library for updating terminal output in real time. godoc
  • gookit/color star:1571 终端显色工具库,支持16种颜色,256种颜色,RGB显色输出,兼容Windows。 godoc 包含中文文档
  • aurora star:1477 ANSI terminal colors that support fmt.Printf/Sprintf. godoc
  • go-isatty star:884 Go 实现的 isatty。 godoc
  • go-colorable star:803 适用于windows的颜色编写器。 godoc
  • uitable star:742 改善终端应用程序中表格数据的可读性。 近三年未更新 godoc
  • box-cli-maker star:597 为你的CLI制作高度定制的盒子。 godoc
  • bubble-table star:546 An interactive table component for bubbletea. godoc
  • simpletable star:545 Simple tables in a terminal with Go. 近三年未更新 godoc
  • yacspin star:455 用于与终端旋转器一起工作。 近三年未更新 godoc
  • tabby star:367 一个可在终端生成一个极简Golang表格轻量级库 近三年未更新 godoc
  • go-colortext star:215 在终端中使用彩色文字。 近三年未更新 godoc
  • ctc star:52 不需要Print方法的非侵入性跨平台终端颜色库。 godoc 包含中文文档
  • marker star:50 最简单的方法来匹配和标记字符串的彩色终端输出。 godoc
  • table star:50 Small library for terminal color based tables. godoc
  • go-ataman star:20 在终端提供ANSI彩色文本模板。 近三年未更新 godoc
  • go-palette star:20 Go library that provides elegant and convenient style definitions using ANSI colors. Fully compatible & wraps the fmt library for nice terminal layouts. godoc
  • crab-config-files-templating star:8 Dynamic configuration file templating tool for kubernetes manifest or general configuration files. 近三年未更新 godoc

⬆ back to top

标准CLI

用于构建标准或基本命令行应用程序的库。 (翻译出错了? 试试 英文版 吧~)

  • cobra star:43026 现代Go CLI命令行交互工具。 godoc
  • carapace-bin star:1673 多shell多命令参数完成器。 近一周有更新 godoc
  • carapace star:1131 用于spf13/cobra的命令参数补全生成器。 近一周有更新 godoc
  • complete star:951 使用 Go 语言编写的 bash 命令补全工具以及 Go 命令补全工具. godoc
  • argparse star:635 命令行参数分析器,灵感来自Python的argparse模块。 近三年未更新 godoc
  • climax star:217 Alternative CLI with "human face", in spirit of Go command. 近三年未更新 godoc
  • clîr star:197 一个简单而清晰的CLI库。依赖免费的。 godoc
  • commandeer star:176 开发友好的CLI应用程序。 近三年未更新 godoc
  • cmdr star:142 一个POSIX/GNU风格的、类似getopt的命令行UI Go库。 近一周有更新 godoc
  • acmd star:136 Simple, useful, and opinionated CLI package in Go. godoc
  • command-chain star:70 A go library for configure and run command chains - such as pipelining in unix shells. godoc
  • cmd star:46 扩展标准的' flag '包以支持子命令和更多惯用方式。 近三年未更新 godoc
  • argv star:42 基于Base 语法,用于分隔命令行字符串并将其作为参数的 Go 语言库, 近三年未更新 godoc
  • carapace-spec star:29 Define simple completions using a spec file. godoc
  • console Closed-loop application library for Cobra commands, with oh-my-posh prompts, and more.
  • urfave/cli star:23849 可让你简单、快速和愉快的构建命令行应用(之前是codegangsta/cli)。 近一周有更新 godoc
  • elvish star:6217 一种表达性编程语言和通用的交互外壳。 近一周有更新 godoc
  • kingpin star:3558 支持子命令的命令行和标志解析器(被' kong '取代;见下文)。 godoc
  • Dnote star:3002 一个简单的命令行笔记本与多设备同步。 godoc
  • go-flags star:2690 Go 命令行选项解析器。 godoc
  • pflag star:2690 基于POSIX/GNU-style --flags实现的包,主要用于替换Go的falg包。 godoc
  • go-arg star:2225 基于结构的参数解析。 godoc
  • ops star:1457 Unikernel 构建器/协调器。 近一周有更新 godoc
  • liner star:1086 类似readline-like的命令行接口库。 godoc
  • flaggy star:945 一个健壮的、易用的标志包,具有出色的子命令支持。 godoc
  • mow.cli star:884 用于构建具有复杂标志和参数解析和验证的CLI应用程序。 godoc
  • mkideal/cli star:730 基于golang结构标签,功能丰富易于使用的命令行包。 godoc
  • wmenu star:228 Easy to use menu structure for cli applications that prompt users to make choices. godoc
  • sflags star:166 Struct based flags generator for flag, urfave/cli, pflag, cobra, kingpin, and other libraries. godoc
  • job star:149 工作,把你的短期指令当作长期任务。 近三年未更新
  • readline star:133 Shell library with modern and easy to use UI features. godoc
  • teris-io/cli star:131 为 Go 构建命令接口提供简单而完整的API。 近三年未更新 godoc
  • env star:126 基于标记的结构化的环境配置。 godoc
  • version star:110 Collects and displays CLI version information in multiple formats along with upgrade notice. godoc
  • gocmd star:67 用于构建命令行应用程序。 godoc
  • wlog star:67 支持跨平台和并发的简单日志记录接口。 godoc
  • strumt star:63 用于创建提示链。 godoc
  • go-getoptions star:61 Go option parser inspired by the flexibility of Perl’s GetOpt::Long. godoc
  • flagvar star:48 符合 Go 标准的“flag”标志参数类型包。 godoc
  • mcli star:42 A minimal but very powerful cli library for Go. 近一周有更新 godoc
  • hashicorp/cli star:35 用于实现命令行接口的Go库。 godoc
  • hiboot cli 具有自动配置和依赖注入的cli应用程序框架。
  • go-readline-ny star:32 A customizable line-editing library with Emacs keybindings, Unicode support, completion, and syntax highlighting. Used in NYAGOS shell. 近一周有更新 godoc
  • orpheus star:26 CLI framework with security hardening, plugin storage system, and production observability features. godoc
  • flash-flags star:10 Ultra-fast, zero-dependency, POSIX-compliant flag parsing library that can be used as drop-in stdlib replacement with security hardening. godoc
  • subcmd star:8 解析和运行子命令的另一种方法。与标准的“旗帜”包一起工作。 godoc
  • getopt star:7 An accurate Go getopt, validated against the GNU libc implementation. godoc
  • structcli star:7 Eliminate Cobra boilerplate: build powerful, feature-rich CLIs declaratively from Go structs. godoc
  • goopt star:5 A declarative, struct-tag based CLI framework for Go, with a broad feature set such as hierarchical commands/flags, i18n, shell completion, and validation. 近一周有更新 godoc

⬆ back to top

配置

配置解析的库。 (翻译出错了? 试试 英文版 吧~)

  • viper star:29921 配置管理。 godoc
  • godotenv star:10189 Ruby 的 dotenv 库的 Go移植版(从.env文件加载环境变量)。 godoc
  • sonic star:9122 A blazingly fast JSON serializing & deserializing library. godoc 包含中文文档
  • env star:5964 解析环境变量并赋值到struct中(默认值)。 近一周有更新 godoc
  • kelseyhightower/envconfig star:5397 管理来自环境变量的配置数据。 godoc
  • koanf star:3819 轻量级可扩展库,用于读取Go应用程序中的配置。内置支持JSON, TOML, YAML, env,命令行。 近一周有更新 godoc
  • ini star:3537 读和写INI文件。 godoc
  • kong star:2951 Command-line parser with support for arbitrarily complex command-line structures and additional sources of configuration such as YAML, JSON, TOML, etc (successor to kingpin). 近一周有更新 godoc
  • cleanenv star:2043 简约的配置阅读器(来自文件、环境,以及你想要的任何地方)。 godoc
  • xdg star:941 Go implementation of the XDG Base Directory Specification and XDG user directories. godoc
  • konfig star:646 可组合、可观察和高性能的分布式配置管理。 近三年未更新 godoc
  • aconfig star:620 简单,有用和固执的配置加载程序。 godoc
  • gookit/config star:578 程序配置管理(load,get,set)。支持JSON, YAML, TOML, INI, HCL。支持多文件加载,数据覆盖合并。 godoc 包含中文文档
  • confita star:509 从多个后端级联加载配置到struct中。 godoc
  • fig star:385 用于从文件和环境变量(带有验证和默认值)中读取配置的微型库。 godoc
  • GoLobby/Config star:369 GoLobby Config is a lightweight yet powerful configuration manager for the Go programming language. 近三年未更新 godoc
  • gone/jconf Modular JSON configuration. Keep your config structs along with the code they configure and delegate parsing to submodules without sacrificing full config serialization.
  • konf star:359 The simplest API for reading/watching config from file, env, flag and clouds (e.g. AWS, Azure, GCP). godoc
  • hjson star:347 更加人性化的JSON配置。轻松的语法,更少的错误,更多的注释。 近一周有更新 godoc
  • config star:339 云本地应用程序配置。将ENV绑定到结构体仅需两行代码。 近三年未更新 godoc
  • envconfig star:250 从环境变量中读取配置。 godoc
  • zerocfg star:198 Zero-effort, concise configuration management that avoids boilerplate and repetitive code, supports multiple sources with priority overrides. godoc
  • argus star:165 File watching and configuration management with MPSC ring buffer, adaptive batching strategies, and universal format parsing (JSON, YAML, TOML, INI, HCL, Properties). godoc
  • harvester star:134 Harvester, a easy to use static and dynamic configuration package supporting seeding, env vars and Consul integration. godoc
  • onion star:118 基于层配置的Go,支持JSON, TOML, YAML,属性,etcd, env,和加密使用PGP。 godoc
  • configuration star:108 库,用于从环境变量、文件、标记和“默认”标记初始化配置结构。 godoc
  • envh star:100 协助管理环境变量的Helpers。 godoc
  • configuro star:93 固执己见的配置加载和验证框架从环境和文件集中到12因素兼容的应用程序。 近三年未更新 godoc
  • hocon star:87 使用HOCON(一种人类友好的JSON超集)格式的配置库,支持环境变量、引用其他值、注释和多个文件等特性。 godoc
  • env star:80 用于将环境变量加载到结构中的轻量级包。 godoc
  • uConfig star:72 轻量级、零依赖和可扩展的配置管理。 godoc
  • go-aws-ssm star:62 从AWS系统管理器-参数存储中获取参数的Go包。 近一周有更新 godoc
  • config star:60 configure your app using file, environment variables, or flags in two lines of code. godoc
  • go-cfg star:47 The library provides a unified way to read configuration data into a structure from various sources, such as env, flags, and configuration files (.json, .yaml, .toml, .env). godoc
  • genv star:43 使用dotenv支持轻松读取环境变量。 近一周有更新 godoc
  • go-up star:43 一个简单的配置库,具有递归占位符解析功能。 近三年未更新 godoc
  • confiq star:39 Structured data format to config struct decoder library for Go - supporting multiple data formats. godoc
  • conflate star:37 合并来自任意url的多个JSON/YAML/TOML文件、针对JSON模式的验证以及模式中定义的默认值的应用程序。 godoc
  • enflag star:36 Container-oriented, zero-dependency configuration library that unifies Env variable and Flag parsing. Uses generics for type safety, without reflection or struct tags. godoc
  • bcl star:28 BCL is a configuration language similar to HCL. 近一周有更新 godoc
  • go-array star:22 A Go package that read or set data from map, slice or json. godoc 包含中文文档
  • go-ssm-config star:22 从AWS SSM(参数存储)加载配置参数的Go实用程序。 godoc
  • nasermirzaei89/env star:22 读取环境变量的简单有用的包。 godoc
  • ini star:18 INI Parser & Write Library, Unmarshal to Struct, Marshal to Json, Write File, watch file. godoc
  • yamagiconf star:18 The "safe subset" of YAML for Go configs. godoc
  • envyaml star:17 Yaml with environment variables reader. it helps to have secrets as environment variable but load them configs as structured Yaml. godoc
  • go-ini star:17 一个对ini文件进行封送和解送的Go包。 godoc
  • go-conf star:13 用于基于注释结构的应用程序配置的简单库。它支持从环境变量、配置文件和命令行参数读取配置。 godoc
  • typenv star:12 简约,零依赖,类型化环境变量库。 godoc
  • gonfig star:10 基于标记的配置解析器,它将来自不同提供程序的值加载到类型安全结构中。 近三年未更新 godoc
  • nfigure star:10 Per-library struct-tag based configuration from command lines (Posix & Go-style); environment, JSON, YAML godoc
  • piper star:10 带有配置继承和密钥生成的Viper包装器。 近三年未更新 godoc
  • swap star:8 根据构建环境递归实例化/配置结构。(YAML, TOML, JSON和env)。 godoc
  • env star:7 An environment utility package with support for unmarshaling into structs. godoc
  • hedzr/store star:7 Extensible, high-performance configuration management library, optimized for hierarchical data. 近一周有更新 godoc
  • GoCfg star:6 Config manager with Struct Tags based contracts, custom value providers, parsers, and documentation generation. Customizable yet simple. godoc
  • azureappconfiguration star:5 The configuration provider for consuming data in Azure App Configuration from Go applications. godoc
  • go-config star:4 Simple and convenient library for working with app configurations. godoc

⬆ back to top

持续集成

用于帮助进行持续集成的工具。 (翻译出错了? 试试 英文版 吧~)

  • drone star:33842 Drone 是一个基于 Docker 的持续集成平台,用 Go 编写。 近一周有更新 godoc
  • woodpecker star:6362 Woodpecker is a community fork of the Drone CI system. 近一周有更新 godoc
  • CDS star:4799 企业级CI/CD和DevOps自动化开源平台。 近一周有更新 godoc
  • muffet star:2589 Fast website link checker in Go, see alternatives. 近一周有更新 godoc
  • abstruse star:957 Abstruse is a distributed CI platform. godoc
  • Bencher A suite of continuous benchmarking tools designed to catch performance regressions in CI.
  • goveralls star:792 Coveralls.io 是一个用 Go 编写,可持续对代码覆盖率进行检测的系统。 godoc
  • gotestfmt star:592 为人类测试输出。 godoc
  • overalls star:116 针对多package 的 Go 语言项目,可为类似 goveralls 这样的工具生成覆盖率报告。 近三年未更新 godoc
  • gomason star:66 在一个干净的工作区中对你的 Go 二进制文件进行测试、构建、签名和发布。 godoc
  • dot star:33 A minimal, local first continuous integration system that uses Docker to run jobs concurrently in stages. godoc
  • go-beautiful-html-coverage star:20 A GitHub Action to track code coverage in your pull requests, with a beautiful HTML preview, for free.
  • go-semver-release star:20 Automate the semantic versioning of Git repositories. godoc
  • go-test-coverage A GitHub Action which reports issues when test coverage is below set threshold.
  • roveralls star:20 递归覆盖测试工具。 近三年未更新 godoc
  • go-fuzz-action star:19 Use Go 1.18's built-in fuzz testing in GitHub Actions.

⬆ back to top

CSS预处理器

用于预处理CSS文件的库。 (翻译出错了? 试试 英文版 吧~)

  • go-libsass star:214 采用 Go封装,100% 与 Sass 兼容的 libsass 项目。
  • go-css star:90 A very simple CSS parser, written in Go. godoc

⬆ back to top

Data Integration Frameworks

Frameworks for performing ELT / ETL (翻译出错了? 试试 英文版 吧~)

  • Benthos star:8568 一系列协议之间的消息流桥接。 近一周有更新 godoc
  • CloudQuery A high-performance ELT data integration framework with pluggable architecture.
  • omniparser star:1075 一个通用的ETL库,以流方式解析文本输入(CSV/txt/JSON/XML/EDI/X12/EDIFACT/etc),并使用数据驱动模式将数据转换为JSON输出。 godoc

⬆ back to top

数据结构与算法

Bit-packing和压缩

  • roaring star:2824 实现了压缩 bitsets 的Go包。 近一周有更新 godoc
  • binpacker star:234 帮助用户构建自定义二进制流的二进制封装器和解包器 近三年未更新 godoc
  • bit star:169 Go 语言集合数据结构。提供了额外的位操作功能。 近三年未更新 godoc
  • crunch star:101 打包实现缓冲区,以便轻松处理各种数据类型。 近三年未更新 godoc
  • bingo star:50 将本地类型快速、零分配、保持字典顺序的字节打包。 godoc
  • go-ef star:41 实现了 Elias-Fano 编码。 godoc

位集合

  • bitset star:1476 实现了 bitsets 的 Go 包。 godoc
  • bitmap star:374 高密度,零分配,在Go中启用simd位图/bitset。

布隆和布谷鸟过滤器

  • bloom star:2740 实现Bloom过滤器。 godoc
  • boomfilters star:1639 用于处理连续的概率数据结构。 godoc
  • cuckoofilter star:1213 布谷鸟过滤器:一个用Go实现,可替代计数 bloom 过滤器。 godoc
  • cuckoo-filter star:305 Cuckoo filter: a comprehensive cuckoo filter, which is configurable and space optimized compared with other implements, and all features mentioned in original paper are available. godoc 包含中文文档
  • bloom star:147 在Go中实现了Bloom过滤器。 近三年未更新 godoc
  • ring star:143 高性能、线程安全的bloom过滤器。 近三年未更新 godoc
  • bloom star:88 Golang Bloom过滤器的实现。 近三年未更新 godoc
  • bloomfilter star:20 另一个在Go中的Bloomfilter实现,与Java的番石榴库兼容。 godoc

数据结构和算法集合

  • gods star:17380 数据结构。容器、集合、列表、堆栈、地图、BidiMaps、树、HashSet等。 godoc
  • go-datastructures star:7891 可靠的、高性能的和线程安全的数据结构的集合。 godoc
  • gostl star:1132 用于go的数据结构和算法库,旨在提供类似c++ STL的函数。 godoc
  • algorithms star:838 算法和数据结构。来源于CLRS。 近三年未更新 godoc

迭代器

  • iter star:195 Go实现的c++ STL迭代器和算法。 近三年未更新 godoc 包含中文文档
  • gloop star:26 Convenient looping using Go's range-over-func feature. godoc
  • goterator star:17 迭代器实现,提供映射和减少功能。 godoc

地图

See also Database for more complex key-value stores, and Trees for additional ordered map implementations.

  • concurrent-swiss-map star:261 A high-performance, thread-safe generic concurrent hash map implementation with Swiss Map. godoc
  • cmap star:100 一个线程安全的go map godoc
  • goradd/maps star:51 Go 1.18+ generic map interface for maps; safe maps; ordered maps; ordered, safe maps; etc. godoc
  • hmap HMap is a concurrent and secure, generic support Map implementation designed to provide an easy-to-use API.
  • dict star:46 实现类似 python dict的功能(dict)。 godoc
  • go-shelve star:12 A persistent, map-like object for the Go programming language. Supports multiple embedded key-value stores. godoc

杂项数据结构和算法

  • gota star:3274 实现了数据帧,序列以及数据噪音。 godoc 归档项目
  • hyperloglog star:1027 HyperLogLog implementation with Sparse, LogLog-Beta bias correction and TailCut space reduction. godoc
  • go-geoindex star:359 基于内存的地理索引。 近三年未更新 godoc
  • go-rquad star:140 区域四叉树具有高效的点定位和邻域查找功能。 近三年未更新 godoc
  • gogu star:107 A comprehensive, reusable and efficient concurrent-safe generics utility functions and data structures library. godoc
  • go-rampart star:106 Determine how intervals relate to each other. godoc
  • go-tuple star:96 Go 1.18+的通用元组实现。 godoc
  • fsm star:87 有限状态机包。 近三年未更新 godoc
  • go-generics star:85 Generic slice, map, set, iterator, and goroutine utilities. godoc
  • hide star:73 ID type with marshalling to/from hash to prevent sending IDs to clients. 近三年未更新 godoc
  • count-min-log star:68 Go实现Count-Min-log sketch的功能 : 使用近似计数器进行近似计数(类似Count-Min sketch,但使用更少内存)。 godoc
  • concurrent-writer star:58 具备高并发能力,可替换 bufio.Writer。 近三年未更新 godoc
  • genfuncs star:51 Go 1.18+ generics package inspired by Kotlin's Sequence and Map. 近三年未更新 godoc
  • go18ds star:46 Go Data Structures using Go 1.18 generics. godoc
  • quadtree star:41 Generic, zero-alloc, 100%-test covered quadtree. godoc
  • slices star:22 Pure, generic functions for slices. 近三年未更新 godoc
  • gofal star:19 基于 Go 实现的分数计算。包含分子、分母运算 近三年未更新 godoc 包含中文文档

可空类型

  • nan star:87 一个库中的可零分配空结构,具有方便的转换函数、编组器和解组器。 godoc
  • typ star:46 从复杂结构中获取值,支持空类型、安全的类型转换。 近三年未更新 godoc
  • null star:38 对空的 Go 数据类型也可以进行JSON进行解析/反解析。 近三年未更新 godoc

队列

  • hatchet star:6473 Distributed, Fault-tolerant task queue. 近一周有更新
  • deque star:754 快速环缓冲区deque(双端队列)。 godoc
  • goconcurrentqueue star:434 并行FIFO队列。 godoc
  • queue star:330 Multiple thread-safe, generic queue implementations for Go. godoc
  • deque star:203 高度优化的双端队列。 godoc
  • memlog star:134 受Apache Kafka启发,一个易于使用、轻量级、线程安全、只追加内存数据结构。 godoc
  • list star:11 A generic, thread-safe doubly linked list with full iterator support and an intrusive singly linked list for embedded use; a feature-rich replacement for container/list. godoc
  • dqueue star:1 Simple, in memory, zero dependency and battle tested, thread-safe deferred queue. godoc

集

  • golang-set star:4642 线程安全和非线程安全的高性能集。 godoc
  • goset star:52 一个有用的Go集合实现。 近三年未更新 godoc
  • set star:29 使用LinkedHashMap在Go中实现简单的set数据结构。 godoc
  • dsu star:16 在Go中实现离散集数据结构。 近三年未更新 godoc

文本分析

  • bleve star:10939 基于 Go 的现代文本索引库。 近一周有更新 godoc
  • trie star:788 在Go中实现Trie。 近一周有更新 godoc
  • go-edlib star:590 Go字符串比较和编辑距离算法库(Levenshtein, LCS, Hamming, Damerau Levenshtein, Jaro-Winkler等)兼容Unicode。 godoc
  • levenshtein star:450 实现在Go中计算levenshtein距离。 godoc
  • go-adaptive-radix-tree star:412 自适应基数树。 godoc
  • levenshtein star:90 Levenshtein distance and similarity metrics with customizable edit costs and Winkler-like bonus for common prefix. 近三年未更新 godoc
  • ptrie star:44 前缀树的一种实现。 godoc
  • mspm star:27 用于信息检索的多字符串模式匹配算法。 近三年未更新 godoc
  • parsefields star:7 用于解析类似json的日志的工具,用于收集惟一的字段和事件。 近三年未更新 godoc

树

  • skiplist star:294 高性能的 Go 跳表实现。 近三年未更新 godoc
  • skiplist star:84 在Go中实现了跳表。 近三年未更新 godoc
  • treemap star:67 在底层使用红黑树的通用键排序地图。 近三年未更新 godoc
  • merkle star:21 默克尔根哈希的空间高效计算和包含证明。 godoc
  • graphlib star:3 Topological sort lib,Sorting and pruning of DAG graphs. godoc
  • hashsplit 将字节流分割成块,并将块排列成树,边界由内容而不是位置决定。

管道

  • pipeline star:60 实现了 fan-in 和 fan-out 的管道功能。 近三年未更新 godoc
  • ordered-concurrently star:44 Go模块,处理并发工作,并在通道中返回输入顺序的输出。 godoc
  • parapipe star:37 FIFO管道,并行执行在每个阶段,同时保持消息和结果的顺序。 godoc
  • pipelines star:13 Generic pipeline functions for concurrent processing. godoc

⬆ back to top

数据库

缓存

具有过期记录的数据存储、内存中的分布式数据存储或基于文件的数据库的内存子集。 (翻译出错了? 试试 英文版 吧~)

  • BigCache star:8064 高效的键/值缓存为千兆字节的数据。 godoc
  • GCache star:2732 支持过期缓存、LFU、LRU和ARC的缓存库。 godoc
  • fastcache star:2330 基于内存的快速线程安全的缓存,可缓存大量的条目。最大限度地减少GC开销。 godoc
  • cache2go star:2164 基于内存的 K/V 缓存,支持超时的自动失效。 godoc
  • EchoVault star:518 Embeddable Distributed in-memory data store compatible with Redis clients. godoc
  • cachego star:373 基于多个驱动程序的缓存组件。 godoc
  • bcache star:162 Eventually consistent distributed in-memory cache Go library. 近三年未更新 godoc
  • go-cache star:160 A flexible multi-layer Go caching library to deal with in-memory and shared cache by adopting Cache-Aside pattern. godoc
  • couchcache star:66 由 Couchbase服务 支持的RESTful缓存微服务。 godoc
  • clusteredBigCache star:45 BigCache 支持集群和独立且生命周期存储项。 近三年未更新 godoc
  • coherence-go-client star:14 Full implementation of Oracle Coherence cache API for Go applications using gRPC as network transport. godoc
  • gdcache star:13 一个由golang实现的纯非侵入式缓存库,您可以使用它来实现您自己的分布式缓存。 近三年未更新 godoc 包含中文文档
  • go-freelru A GC-less, fast and generic LRU hashmap library with optional locking, sharding, eviction and expiration.
  • groupcache star:13316 Groupcache是一个缓存和缓存填充库,在许多情况下,它是memcached的替代品。 godoc
  • ristretto star:6698 A high performance memory-bound Go cache. godoc
  • gocache star:2833 A complete Go cache library with multiple stores (memory, memcache, redis, ...), chainable, loadable, metrics cache and more. godoc
  • otter star:2499 A high performance lockless cache for Go. Many times faster than Ristretto and friends. godoc
  • sturdyc star:1247 A caching library with advanced concurrency features designed to make I/O heavy applications robust and highly performant. godoc
  • ttlcache star:1208 具有项目过期和泛型的内存缓存。 godoc
  • jetcache-go star:524 Unified Go cache library supporting multi-level caching. godoc 包含中文文档
  • theine star:362 High performance, near optimal in-memory cache with proactive TTL expiration and generics. godoc
  • pocache star:231 Pocache is a minimal cache package which focuses on a preemptive optimistic caching strategy. godoc
  • imcache star:123 A generic in-memory cache Go library. It supports expiration, sliding expiration, max entries limit, eviction callbacks and sharding. godoc
  • go-mcache star:102 基于内存的实现了高性能的key:value存储库。指针缓存。 近一周有更新 godoc
  • timedmap star:74 实现了有生命周期的键值对Map。 godoc
  • icache star:23 A High Performance, Generic, thread-safe, zero-dependency cache package. godoc
  • gocache star:17 A data race free Go ache library with high performance and auto pruge functionality godoc
  • nscache star:13 A Go caching framework that supports multiple data source drivers. godoc
  • go-gcache star:12 The generic version of GCache, cache support for expirable Cache, LFU, LRU and ARC. godoc
  • ttlcache star:10 内存键值存储与TTL为每个记录。 近三年未更新 godoc

Go中实现的数据库

  • prometheus star:62449 用于监控系统和时序的数据库。 近一周有更新 godoc
  • Milvus star:42514 Milvus是一个矢量数据库,用于嵌入管理、分析和搜索。 近一周有更新 godoc
  • tidb star:39656 TiDB是一个分布式SQL数据库。灵感来自谷歌F1的设计。 近一周有更新 godoc 包含中文文档
  • cockroach star:31796 可伸缩、区域备份、事务性数据存储。 近一周有更新 godoc
  • influxdb star:31164 可伸缩的数据存储,用于指标衡量、事件和实时分析。 近一周有更新
  • dgraph star:21486 可伸缩、分布式、低延迟、高吞吐量的图形数据库。 近一周有更新 godoc
  • dolt star:19646 Dolt – It's Git for Data. 近一周有更新 godoc
  • rqlite star:17271 基于SQLite的轻量级分布式关系数据库。 近一周有更新 godoc
  • VictoriaMetrics star:16189 开源,快速,可伸缩的时间序列数据库。支持PromQL。 近一周有更新 godoc
  • badger star:15429 快速 K/V 存储。 godoc
  • DiceDB star:10674 An open-source, fast, reactive, in-memory database optimized for modern hardware. Higher throughput and lower median latencies, making it ideal for modern workloads. godoc 归档项目
  • bbolt star:9336 一个用于Go的嵌入式键/值数据库。 近一周有更新 godoc
  • Bitcask Bitcask是一个可嵌入的、持久的、快速的键值(KV)数据库,使用纯Go编写,具有可预测的读写性能、低延迟和高吞吐量,这得益于Bitcask的磁盘布局(LSM+WAL)。
  • immudb star:8907 immudb是一个轻量级、高速、不可变的数据库,用于用Go编写的系统和应用程序。 godoc
  • goleveldb star:6324 在Go中实现LevelDB key/value数据库。 godoc
  • pebble star:5745 RocksDB/LevelDB inspired key-value database in Go. 近一周有更新 godoc
  • rosedb star:4882 基于LSM+WAL的嵌入式k-v数据库,支持string、list、hash、set、zset。 godoc 包含中文文档
  • buntdb star:4835 基于内存的K/V,快速,可嵌入的数据库,可自定义索引和空间支持。 godoc
  • redka star:4444 Redis re-implemented with SQLite. godoc
  • ledisdb star:4130 Ledisdb是一种高性能的NoSQL,类似于基于LevelDB的Redis。 godoc
  • godis star:3819 一个Golang实现了高性能Redis服务器和集群。 godoc 包含中文文档
  • nutsdb star:3549 Nutsdb is a simple, fast, embeddable, persistent key/value store written in pure Go. It supports fully serializable transactions and many data structures such as list, set, sorted set. godoc 包含中文文档
  • LinDB star:3057 LinDB is a scalable, high performance, high availability distributed time series database. 近一周有更新 godoc 包含中文文档
  • tiedot star:2734 属于你的NoSQL数据库。 近三年未更新 godoc
  • lotusdb star:2249 快速k/v数据库兼容lsm和b+树。 godoc
  • CovenantSQL star:1526 区块链领域的一个SQL数据库。 godoc
  • column star:1508 高性能、柱状、可嵌入的内存存储,具有位图索引和事务。 godoc
  • diskv star:1460 支持磁盘备份的可持久化 K/V 存储。 近三年未更新 godoc
  • Databunker star:1380 个人身份信息(PII)存储服务符合GDPR和CCPA。 godoc
  • pogreb star:1350 针对大量读取工作负载的嵌入式键值存储。 godoc
  • objectbox-go star:1259 High-performance embedded Object Database (NoSQL) with Go API. godoc
  • eliasdb star:1029 无其他依赖项,支持REST API,短语搜索和sql类似的查询语言的事务图数据库。 近三年未更新 godoc
  • moss star:1017 Moss是一个用100% Go编写的简单LSM键值存储引擎。 godoc
  • clover star:807 一个轻量级的面向文档的NoSQL数据库编写纯Golang。 godoc
  • levigo star:420 实现了对LevelDB封装。 近三年未更新 godoc
  • pudge star:370 使用Go的标准库编写的快捷、简单的键/值存储。 近三年未更新 godoc
  • Vasto star:263 分布式高性能键值存储。可做磁盘备份。最终一致。高可用。能够在不中断服务的情况下增长或收缩。 近三年未更新 godoc
  • piladb star:206 基于堆栈数据结构的轻量级RESTful数据库引擎。 godoc
  • libradb star:200 LibraDB is a simple database with less than 1000 lines of code for learning. godoc
  • NoKV star:167 High-performance distributed KV storage based on LSM Tree. 近一周有更新 godoc
  • unitdb star:122 Fast timeseries database for IoT, realtime messaging applications. Access unitdb with pubsub over tcp or websocket using github.com/unit-io/unitd application. godoc
  • hare star:97 一个简单的数据库管理系统,将每个表存储为一行分隔的JSON文本文件。 近三年未更新 godoc
  • rotom star:41 A tiny Redis server built with Golang, compatible with RESP protocols. godoc
  • Coffer star:39 支持事务的简单ACID键值数据库。 近一周有更新 godoc
  • tempdb star:19 用于临时数据存放的 K/V 存储。 近三年未更新 godoc

数据库模式迁移

  • migrate star:18020 基于CLI的数据库迁移库。 godoc
  • bytebase star:13652 Safe database schema change and version control for DevOps teams. 近一周有更新 godoc
  • goose star:10094 数据库迁移工具。您可以通过创建增量SQL或Go脚本来管理数据库的升级。 近一周有更新 godoc
  • atlas star:7956 一个数据库工具箱。旨在帮助企业更好地处理数据的CLI。 近一周有更新 godoc
  • dbmate star:6666 A lightweight, framework-agnostic database migration tool. 近一周有更新 godoc
  • sql-migrate star:3398 数据库迁移工具。允许使用go-bindata将迁移嵌入到应用程序中。 godoc
  • skeema star:1355 用于MySQL的纯sql模式管理系统,支持分片和外部在线模式更改工具。 godoc
  • soda 数据库迁移、创建、ORM等。用于MySQL、PostgreSQL和SQLite。
  • gormigrate star:1149 面向Gorm ORM的数据库 schema 迁移辅助程序。 godoc
  • goavro star:1053 一个对Avro数据进行编码和解码的Go包。 godoc
  • migrator star:178 非常简单的 Go 数据库迁移库。 godoc
  • darwin star:149 用于数据库 schema 升级的库。 godoc
  • sqlize star:124 数据库迁移生成器。允许生成sql迁移从模型和现有的sql不同。 godoc
  • go-pg-migrations star:86 用Go -pg/pg编写的迁移包。 godoc
  • avro star:48 发现SQL schemas并将其转换为AVRO schemas。 godoc
  • schema star:42 库,用于将数据库/sql兼容数据库的模式迁移嵌入到Go二进制文件中。 godoc
  • go-fixtures star:31 类似 Django fixture,用于 Go 建立内置数据库/sql库。 近三年未更新 godoc
  • migrator star:25 MySQL数据库迁移器设计用于运行到您的特性的迁移,并管理数据库模式更新与直观的go代码。 godoc
  • gorm-seeder star:18 Simple database seeder for Gorm ORM. 近三年未更新 godoc
  • libschema star:17 Define your migrations separately in each library. Migrations for open source libraries. MySQL & PostgreSQL. 近一周有更新 godoc
  • go-pg-migrate star:11 用于go-pg迁移管理的cli友好包。 godoc
  • godfish star:10 数据库迁移管理器,使用本地查询语言。支持cassandra, mysql, postgres, sqlite3。 近一周有更新 godoc

数据库工具

  • vitess star:20660 vitess提供了可以为大规模web服务扩展MySQL数据库提供便利的服务和工具。 近一周有更新 godoc
  • pgweb star:9235 基于web的PostgreSQL数据库浏览器。 godoc
  • go-mysql star:4917 Go 工具集,用于处理MySQL协议和复制。 近一周有更新 godoc
  • pREST star:4516 简化和加速开发,⚡即时、实时、高性能在任何Postgres应用,现有的或新的。 近一周有更新 godoc
  • chproxy star:1428 ClickHouse数据库的HTTP代理。 godoc
  • pg_timetable star:1312 高级调度为PostgreSQL。 近一周有更新 godoc
  • onedump star:887 Database backup from different drivers to different destinations with one command and configuration. godoc
  • rdb star:596 Redis RDB文件解析器用于二次开发和内存分析。 godoc
  • clickhouse-bulk star:505 收集小的插入,并向ClickHouse服务器发送大的请求。 godoc
  • wescale star:313 WeScale is a database proxy designed to enhance the scalability, performance, security, and resilience of your applications. godoc
  • gatewayd star:275 Cloud-native database gateway and framework for building data-driven applications. Like API gateways, for databases. 近一周有更新 godoc
  • octillery star:200 用于数据库分表(支持每个ORM或原生SQL)。 godoc
  • dbbench star:115 数据库基准测试工具,支持多个数据库和脚本。 近一周有更新 godoc
  • gorm-multitenancy star:77 Multi-tenancy support for GORM managed databases. godoc
  • hasql 用于访问多主机SQL数据库安装的库。
  • dg star:43 A fast data generator that produces CSV files from generated relational data. godoc
  • prep star:36 在不更改代码的情况下使用准备好的SQL语句。 近三年未更新 godoc
  • database-gateway star:30 Running SQL in production with ACLs, logs, and shared links. godoc
  • rwdb star:21 rwdb为多个数据库服务器的设置提供读取副本功能。 近三年未更新 godoc

SQL查询生成器

用于构建和使用SQL的库。 (翻译出错了? 试试 英文版 吧~)

  • sqlc star:16827 从SQL生成类型安全的代码。 近一周有更新 godoc
  • Squirrel star:7852 帮助您构建SQL查询的Go库。 godoc
  • xo star:3886 基于现有的schema定义和自定义查询生成 Go 代码,基于支持PostgreSQL、MySQL、SQLite、Oracle和Microsoft SQL Server。 godoc
  • jet star:3558 用于在Go中编写类型安全的SQL查询的框架,能够轻松地将数据库查询结果转换为所需的任意对象结构。 近一周有更新 godoc
  • goqu star:2634 常用的SQL生成器和查询库。 godoc
  • gendry star:1642 非入侵的SQL构建器和强大的数据绑定器。 godoc 包含中文文档
  • Dotsql star:747 Go library帮助您将sql文件保存在一个地方,并轻松地使用它们。 godoc
  • ozzo-dbx star:663 Powerful data retrieval methods as well as DB-agnostic query building capabilities. godoc
  • sqlingo star:447 在Go中构建SQL的轻量级DSL。 godoc
  • dbq star:413 Zero boilerplate database operations for Go 近三年未更新 godoc
  • sqrl star:283 SQL查询生成器,从Squirrel fork而来,并再此基础上对性能做了优化。 godoc
  • Squalus Go SQL中间层,能使得执行查询更加容易。
  • sq star:203 用于Go的类型安全的SQL生成器和结构映射器。 近三年未更新 godoc
  • bqb star:186 轻量级和易于学习的查询构建器。 godoc
  • sqlf star:186 快速SQL查询生成器。 godoc
  • buildsqlx star:185 去数据库查询生成器库的PostgreSQL。 godoc
  • igor star:126 PostgreSQL的抽象层,支持高级功能和类似gorm的语法。 godoc
  • builq star:97 Easily build SQL queries in Go. godoc
  • godbal star:59 数据库抽象层(dbal)。支持SQL builder,轻松获取结果。 近三年未更新 godoc
  • gosql star:37 支持更好的空值的SQL查询生成器。 近三年未更新 godoc
  • qry star:35 该工具使用原始SQL查询从文件生成常量。 godoc
  • Hotcoal star:23 Secure your handcrafted SQL against injection. godoc
  • ormlite star:16 包含一些类似orm的特性和sqlite数据库的辅助程序的轻量级包 近三年未更新 godoc
  • obreron star:12 Fast and cheap SQL builder which does only one thing, SQL building. godoc
  • sg star:7 A SQL Gen for generating standard SQLs(supports: CRUD) written in Go. 近三年未更新 godoc
  • patcher star:6 Powerful SQL Query builder that automatically generates SQL queries from structs. godoc

⬆ back to top

数据库驱动程序

多个后端接口

  • cayley star:15025 图形数据库,支持多个后端。 godoc
  • gokv star:821 可扩展的简单的 K/V 存储(Redis、Consul、etcd、bbolt、BadgerDB、LevelDB、Memcached、DynamoDB、S3、PostgreSQL、MongoDB、CockroachDB等等)。 godoc
  • go-transaction-manager star:376 Transaction manager with multiple adapters (sql, sqlx, gorm, mongo, ...) controls transaction boundaries. godoc
  • dsc star:35 面向 SQL、NoSQL、结构化文件的数据存储连接。 godoc
  • dynamo star:22 A simple key-value abstraction to store algebraic and linked-data data types at AWS storage services: AWS DynamoDB and AWS S3. godoc

关系数据库驱动程序

  • go-sql-driver/mysql star:15408 MySQL驱动程序。 godoc
  • pgx star:13252 PostgreSQL驱动,支持比现有database/sql更多的特性。 近一周有更新 godoc
  • pq star:9778 纯 Go 的Postgres驱动。 近一周有更新 godoc
  • go-sqlite3 star:8940 SQLite3驱动程序。
  • go-mssqldb star:1878 微软MSSQL驱动程序。 godoc
  • go-sqlite3 star:904 This Go module is compatible with the database/sql driver. It allows embedding SQLite into your application, provides direct access to its C API, supports SQLite VFS, and also includes a GORM driver. 近一周有更新 godoc
  • sqlhooks star:662 将钩子附加到任何数据库/sql驱动程序。 godoc
  • sqlite Package sqlite is a sql/database driver using a CGo-free port of the C SQLite3 library.
  • go-oci8 star:636 Oracle 驱动程序。 godoc
  • godror star:585 基于 ODPI-C 的 Oracle 驱动程序
  • Sqinn-Go star:511 SQLite with pure Go. godoc
  • KSQL star:352 A Simple and Powerful Golang SQL Library. 近一周有更新 godoc
  • surrealdb.go star:298 SurrealDB Driver for Go. godoc
  • firebirdsql star:254 Firebird RDBMS SQL驱动程序。 godoc
  • go-rqlite star:178 A Go client for rqlite, providing easy-to-use abstractions for working with the rqlite API. godoc
  • ydb-go-sdk star:174 native and database/sql driver YDB (Yandex Database). 近一周有更新 godoc
  • go-adodb star:151 Microsoft ActiveX对象数据库驱动程序。 近三年未更新 godoc
  • avatica star:124 Apache Avatica/Phoenix SQL驱动程序。 godoc
  • gofreetds star:114 微软该司机。去包装FreeTDS。 近三年未更新 godoc
  • bgc star:21 BigQuery 的数据存储连接。 godoc
  • pig star:17 简单的pgx包装器执行和扫描查询结果很容易。 godoc

NoSQL数据库驱动程序

  • redis star:21879 基于 Go 的 Redis 客户端。 近一周有更新 godoc 包含中文文档
  • rueidis 快速Redis RESP3客户端与自动流水线和服务器辅助的客户端缓存。
  • redigo star:9885 Redigo 是基于 Go 的Redis 客户端。 godoc
  • mongo-go-driver star:8497 官方的 MongoDB 驱动。 近一周有更新 godoc
  • mgo star:1971 (已停止维护) MongoDB驱动。 近三年未更新 godoc
  • gorethink star:1650 RethinkDB 驱动。 godoc
  • qmgo star:1348 MongoDB司机走了。它是基于官方MongoDB司机但更容易使用像分别。 godoc 包含中文文档
  • mgm star:764 基于MongoDB模型的ODM for Go(基于官方MongoDB驱动)。 godoc
  • aerospike-client-go star:458 Aerospike 客户端。 近一周有更新 godoc
  • redeo star:446 与 redis 协议兼容的 TCP 服务器/服务。 近三年未更新 godoc
  • neoism star:389 Golang 的 Neo4j 客户端。 近三年未更新 godoc
  • gocb star:375 官方Couchbase Go SDK。 godoc
  • go-rejson star:346 实现了基于 Redigo 客户端的redislabs' ReJSON 模块。可简单地将结构体存储为JSON对象并对其进行操作。 godoc
  • Kivik star:335 Kivik为CouchDB、PouchDB和类似的数据库提供了一个通用的Go和GopherJS客户端库。 godoc
  • go-couchbase star:324 Couchbase客户端。 godoc
  • go-mongox star:218 A Go Mongo library based on the official driver, featuring streamlined document operations, generic binding of structs to collections, built-in CRUD, aggregation, automated field updates, struct validation, hooks, and plugin-based programming. godoc 包含中文文档
  • godis star:113 由GoLang实现的redis客户端,灵感来自jedis。 近三年未更新 godoc
  • arangolite star:72 轻量级的 ArangoDB 驱动。 近三年未更新 godoc
  • go-pilosa star:57 Pilosa客户端。 近三年未更新 godoc 归档项目
  • forestdb star:36 基于 Go 的 ForestDB 接口实现。 近三年未更新 godoc
  • goriak star:30 Riak KV 驱动。 近三年未更新 godoc
  • neo4j star:29 Neo4j Rest API实现。 近三年未更新 godoc
  • gocosmos star:22 Azure Cosmos DB的REST客户端和标准的“数据库/sql”驱动程序。 godoc
  • gocql Apache Cassandra 的 Go 驱动。
  • gomemcached star:22 A binary Memcached client for Go with support for sharding using consistent hashing, along with SASL. godoc
  • xredis star:19 类型安全,可定制,清晰和易用的Redis客户端。 近三年未更新 godoc
  • asc star:11 Aerospike 的数据存储连接器。 godoc
  • godscache star:11 谷歌云平台Go Datastore包的封装,它采用了memcached添加缓存。 近三年未更新 godoc
  • gomemcache memcache客户端库。

检索及分析资料库

  • elastic star:7478 Elasticsearch 客户端。 godoc
  • go-elasticsearch star:6023 官方 Elasticsearch 客户端。 近一周有更新 godoc
  • zoekt star:1361 Fast trigram based code search. godoc
  • elasticsql star:1194 将 SQL 转换为 elasticsearch dsl。 godoc
  • elastigo star:941 Elasticsearch 客户端。 近三年未更新 godoc
  • skizze star:92 面向概率数据结构的服务和存储。 近三年未更新 godoc
  • effdsl star:34 Elasticsearch query builder for Go. godoc
  • goes star:31 实现了与 Elasticsearch 交互的库。 近三年未更新 godoc
  • clickhouse-go ClickHouse SQL client for Go with a database/sql compatibility.

⬆ back to top

日期和时间

用于处理日期和时间的库。 (翻译出错了? 试试 英文版 吧~)

  • carbon star:5216 A simple, semantic and developer-friendly time package for golang. 近一周有更新 godoc 包含中文文档
  • now star:4654 now 是时间有关的工具类。 godoc
  • dateparse star:2137 可以解析很多格式不固定的日期字符串。 godoc
  • carbon star:783 简单的时间扩展,包含了许多使用方法,从 PHP Carbon 库移植的。 godoc
  • durafmt star:510 轻量级、可让time.Duration更加易读的库。 近三年未更新 godoc
  • go-persian-calendar star:237 太阳历实现。 godoc
  • gostradamus star:210 和约会对象一起工作的软件包。 godoc
  • timeutil star:193 面向 Golang 的时间库,集成了很多有用的扩展(Timedelta, Strftime, ...)。 近三年未更新 godoc
  • go-sunrise star:172 计算指定位置的日出和日落时间。 godoc
  • iso8601 star:157 不用正则表达式有效解析 ISO8601 日期时间。 godoc
  • date star:142 增加处理日期、日期范围、时间跨度、时间段和time-of-day。 godoc
  • go-str2duration star:117 将字符串转换为持续时间。支持的时间。持续时间返回字符串等。 godoc
  • timespan star:84 用于处理时间间隔相关的库,可定义开始时间和持续时间。 近三年未更新 godoc
  • feiertage star:52 用于计算德国公共假期的函数,�

Nội dung README thuộc về yinggaozhen và cộng đồng đóng góp, giấy phép MIT. Nguồn: github.com/yinggaozhen/awesome-go-cn