awesome-go-cn/README.md

3575 lines
539 KiB
Markdown
Raw Normal View History

2022-03-22 12:36:07 +08:00
# Awesome Go
2019-06-25 18:06:22 +08:00
2019-09-17 18:05:03 +08:00
[Awesome]: https://cdn.jsdelivr.net/gh/yinggaozhen/awesome-go-cn@1.4.1/docs/awesome.svg "star > 2000"
2022-04-09 15:16:10 +08:00
[G]: https://cdn.jsdelivr.net/gh/yinggaozhen/awesome-go-cn@1.1/docs/Green.svg "最近一周有更新"
[Y]: https://cdn.jsdelivr.net/gh/yinggaozhen/awesome-go-cn@1.1/docs/Yellow.svg "最近三年没有更新"
2019-08-02 14:36:09 +08:00
[CN]: https://cdn.jsdelivr.net/gh/yinggaozhen/awesome-go-cn@1.1/docs/Cn.svg "包含中文文档"
2019-08-08 10:38:13 +08:00
[Archived]: https://cdn.jsdelivr.net/gh/yinggaozhen/awesome-go-cn@1.2.1/docs/archived.svg "项目已归档"
2022-04-09 15:16:10 +08:00
[D]: https://cdn.jsdelivr.net/gh/yinggaozhen/awesome-go-cn@1.3.0/docs/DOC.svg "godoc文档地址"
2019-11-22 15:09:28 +08:00
2023-08-04 07:26:48 +08:00
**此项目是 [awesome-go](https://awesome-go.com/) 中文版,最后一次同步时间 : 2023-08-04 07:12:14(每隔1天同步一次)**
2019-06-27 17:22:00 +08:00
2019-09-05 21:28:20 +08:00
[![chinese](https://cdn.jsdelivr.net/gh/yinggaozhen/awesome-go-cn@1.3.0/docs/english.svg)](README_EN.md) [![Build Status](https://travis-ci.org/avelino/awesome-go.svg?branch=master)](https://travis-ci.org/avelino/awesome-go) [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome) [![Slack Widget](https://img.shields.io/badge/join-us%20on%20slack-gray.svg?longCache=true&logo=slack&colorB=red)](http://gophers.slack.com/messages/awesome) [![Netlify Status](https://api.netlify.com/api/v1/badges/83a6dcbe-0da6-433e-b586-f68109286bd5/deploy-status)](https://app.netlify.com/sites/awesome-go/deploys)
2019-06-25 18:06:22 +08:00
2019-06-27 17:22:00 +08:00
[![patreon avelino](https://c5.patreon.com/external/logo/become_a_patron_button@2x.png)](https://www.patreon.com/avelinosource) 为Awesome Go打赏~
2019-06-25 18:06:22 +08:00
2019-06-27 17:22:00 +08:00
精选了一系列很棒的Go框架、库和软件。灵感来自于[awesome-python](https://github.com/vinta/awesome-python)。
2019-06-25 18:06:22 +08:00
2019-07-03 11:46:00 +08:00
**小图标说明** :
小图标 | 说明
2019-07-04 15:47:46 +08:00
:-:|-
2022-04-09 15:16:10 +08:00
![最近一周有更新][G] | 最近一周有更新。可以基本判断当前库处于积极维护状态。
![最近三年未更新][Y] | 最近三年没有更新。反应了此库的维护积极性不高,使用时需谨慎。
2019-08-08 10:38:13 +08:00
![归档项目][Archived] | 此项目已归档,不再更新,使用时需谨慎。
2019-07-24 22:51:47 +08:00
![此项目有中文文档][CN] | 此项目有中文文档。
2022-04-11 07:21:38 +08:00
![godoc文档][D] | godoc文档地址。
2019-08-01 21:20:26 +08:00
### 说明
[中文](README.md) | [English](README_EN.md)
2019-07-03 11:46:00 +08:00
2022-03-22 12:36:07 +08:00
[![Netlify Status](https://api.netlify.com/api/v1/badges/83a6dcbe-0da6-433e-b586-f68109286bd5/deploy-status)](https://app.netlify.com/sites/awesome-go/deploys)
[![Track Awesome List](https://www.trackawesomelist.com/badge.svg)](https://www.trackawesomelist.com/avelino/awesome-go/)
2019-07-03 11:46:00 +08:00
2020-07-23 07:13:57 +08:00
你可以快速浏览贡献者名单[contribution guidelines](https://github.com/avelino/awesome-go/blob/master/CONTRIBUTING.md). 感谢所有为此项目付出的同学[contributors](https://github.com/avelino/awesome-go/graphs/contributors); 你真棒!
2022-03-22 12:36:07 +08:00
2020-07-23 07:13:57 +08:00
如果您在看到一个包或项目不再维护或不适合请往awesome-go提交[Pull Request](https://github.com/avelino/awesome-go/pulls),本项目每隔一天与英文文档同步。感谢!
2022-03-22 12:36:07 +08:00
**Sponsorships:**
_特别感谢 (翻译出错了? 试试 [英文版](README_EN.md#awesome-go) 吧~)_
2022-02-04 07:18:18 +08:00
<div align="center">
2022-03-22 12:36:07 +08:00
<table cellpadding="5">
<tbody align="center">
<tr>
<td>
<a href="https://bit.ly/awesome-go-workos">
<img src="https://avelino.run/sponsors/workos-logo-white-bg.svg" width="200" alt="WorkOS"><br/>
<b>Your app, enterprise-ready.</b><br/>
<sub>Start selling to enterprise customers with just a few lines of code.</sub><br/>
<sup>Add Single Sign-On (and more) in minutes instead of months.</sup>
</a>
</td>
<td>
<a href="https://bit.ly/awesome-go-keygen">
<img src="https://avelino.run/sponsors/keygen-logo.png" width="200" alt="keygen"><br/>
2023-06-09 07:21:48 +08:00
<b>An open, source-available software licensing and distribution API.</b><br/>
2022-03-22 12:36:07 +08:00
<sub>Securely license and distribute Go applications with a single API.</sub><br>
<sup>Add auto updates with only a few lines of code.</sup>
</a>
</td>
</tr>
<tr>
2022-10-05 07:28:40 +08:00
<td colspan="2">
2022-03-22 12:36:07 +08:00
<a href="https://bit.ly/awesome-go-digitalocean">
<img src="https://avelino.run/sponsors/do_logo_horizontal_blue-210.png" width="200" alt="Digital Ocean">
</a>
</td>
</tr>
</tbody>
</table>
2022-02-04 07:18:18 +08:00
</div>
2021-09-15 07:19:07 +08:00
2022-10-21 07:43:52 +08:00
**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](mailto:avelinorun+oss@gmail.com?subject=awesome-go%3A%20project%20support)._
2021-04-10 07:10:01 +08:00
2022-10-21 07:43:52 +08:00
> A curated list of awesome Go frameworks, libraries, and software. Inspired by [awesome-python](https://github.com/vinta/awesome-python).
2021-12-25 07:23:27 +08:00
2022-03-22 12:36:07 +08:00
**Contributing:**
2021-04-10 07:10:01 +08:00
2023-04-15 10:58:14 +08:00
Please take a quick gander at the [contribution guidelines](https://github.com/avelino/awesome-go/blob/main/CONTRIBUTING.md) first. Thanks to all [contributors](https://github.com/avelino/awesome-go/graphs/contributors); you rock!
2020-04-19 07:08:59 +08:00
2022-03-22 12:36:07 +08:00
> _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!_
2020-04-19 07:08:59 +08:00
2022-03-22 12:36:07 +08:00
## 内容
2019-06-25 18:06:22 +08:00
- [Awesome Go](#awesome-go)
2022-03-22 12:36:07 +08:00
- [内容](#内容)
- [音频和音乐](#音频和音乐)
- [身份验证和OAuth](#身份验证和oauth)
- [区块链](#区块链)
- [Bot建设](#bot建设)
- [构建自动化](#构建自动化)
- [命令行](#命令行)
- [高级控制台用户界面](#高级控制台用户界面)
- [标准CLI](#标准cli)
- [配置](#配置)
- [持续集成](#持续集成)
- [CSS预处理器](#css预处理器)
2022-04-08 20:10:43 +08:00
- [数据结构与算法](#数据结构与算法)
- [Bit-packing and Compression](#bit-packing-and-compression)
2022-04-09 15:16:10 +08:00
- [位集合](#位集合)
- [布隆和布谷鸟过滤器](#布隆和布谷鸟过滤器)
2022-04-08 20:10:43 +08:00
- [数据结构和算法集合](#数据结构和算法集合)
- [迭代器](#迭代器)
- [地图](#地图)
- [杂项数据结构和算法](#杂项数据结构和算法)
- [可空类型](#可空类型)
- [队列](#队列)
- [](#集)
- [文本分析](#文本分析)
- [](#树)
- [管道](#管道)
2022-03-22 12:36:07 +08:00
- [数据库](#数据库)
2022-04-08 20:10:43 +08:00
- [缓存](#缓存)
- [Go中实现的数据库](#go中实现的数据库)
- [数据库模式迁移](#数据库模式迁移)
- [数据库工具](#数据库工具)
- [SQL查询生成器](#sql查询生成器)
2022-03-22 12:36:07 +08:00
- [数据库驱动程序](#数据库驱动程序)
2022-04-08 20:10:43 +08:00
- [多个后端接口](#多个后端接口)
- [关系数据库驱动程序](#关系数据库驱动程序)
- [NoSQL数据库驱动程序](#nosql数据库驱动程序)
- [检索及分析资料库](#检索及分析资料库)
2022-03-22 12:36:07 +08:00
- [日期和时间](#日期和时间)
- [分布式系统](#分布式系统)
- [动态域名](#动态域名)
- [电子邮件](#电子邮件)
- [可嵌入的脚本语言](#可嵌入的脚本语言)
- [错误处理](#错误处理)
- [文件处理](#文件处理)
- [金融](#金融)
- [表单](#表单)
- [方法](#方法)
- [游戏开发](#游戏开发)
2022-04-08 20:10:43 +08:00
- [发电机](#发电机)
2022-03-22 12:36:07 +08:00
- [地理](#地理)
- [Go 编译器](#go-编译器)
- [Goroutines](#goroutines)
- [GUI](#gui)
- [硬件](#硬件)
- [图片](#图片)
- [IoT (Internet of Things)](#iot-internet-of-things)
- [作业调度器](#作业调度器)
- [JSON](#json)
- [日志记录](#日志记录)
- [机器学习](#机器学习)
- [消息](#消息)
- [微软办公软件](#微软办公软件)
- [Microsoft Excel](#microsoft-excel)
- [杂项](#杂项)
- [依赖注入](#依赖注入)
- [项目布局](#项目布局)
- [字符串](#字符串)
- [未分类的](#未分类的)
- [自然语言处理](#自然语言处理)
- [语言检测](#语言检测)
- [形态分析](#形态分析)
- [鼻涕虫](#鼻涕虫)
- [分词器](#分词器)
- [翻译](#翻译)
- [音译](#音译)
- [网络](#网络)
- [HTTP客户端](#http客户端)
- [OpenGL](#opengl)
- [ORM](#orm)
- [包管理](#包管理)
- [性能](#性能)
- [查询语言](#查询语言)
- [嵌入的资源](#嵌入的资源)
- [科学与数据分析](#科学与数据分析)
- [安全](#安全)
- [序列化](#序列化)
- [服务器应用程序](#服务器应用程序)
- [流处理](#流处理)
- [模板引擎](#模板引擎)
- [测试](#测试)
- [文本处理](#文本处理)
- [格式器](#格式器)
- [标记语言](#标记语言)
- [Parsers/Encoders/Decoders](#parsersencodersdecoders)
- [正则表达式](#正则表达式)
- [环境卫生](#环境卫生)
- [刮刀](#刮刀)
- [RSS](#rss)
- [Utility/Miscellaneous](#utilitymiscellaneous)
- [Third-party APIs](#third-party-apis)
- [公用事业公司](#公用事业公司)
- [UUID](#uuid)
- [验证](#验证)
- [版本控制](#版本控制)
- [视频](#视频)
- [Web框架](#web框架)
- [中间件](#中间件)
- [仿真中间件](#仿真中间件)
- [用于创建HTTP中间件的库](#用于创建http中间件的库)
- [路由器](#路由器)
- [WebAssembly](#webassembly)
- [Windows](#windows)
- [XML](#xml)
- [零信任](#零信任)
- [代码分析](#代码分析)
- [编辑器插件](#编辑器插件)
- [Go 生成工具](#go-生成工具)
- [Go 工具](#go-工具)
- [软件包](#软件包)
- [DevOps 工具](#devops-工具)
- [其他软件](#其他软件)
2019-06-27 17:22:00 +08:00
- [资源](#资源)
2022-03-22 12:36:07 +08:00
- [基准](#基准)
- [会议](#会议)
- [E-Books](#e-books)
- [E-books for purchase](#e-books-for-purchase)
- [Free e-books](#free-e-books)
- [Gophers](#gophers)
- [聚会](#聚会)
- [风格指南](#风格指南)
- [社交媒体](#社交媒体)
2019-07-01 18:49:40 +08:00
- [Twitter](#twitter)
2022-03-22 12:36:07 +08:00
- [Reddit](#reddit)
- [网站](#网站)
- [教程](#教程)
2023-05-16 07:23:55 +08:00
- [Guided Learning Paths](#guided-learning-paths)
2019-06-27 17:22:00 +08:00
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 音频和音乐
2022-03-22 12:36:07 +08:00
_用于操作音频的库。 (翻译出错了? 试试 [英文版](README_EN.md#audio-and-music) 吧~)_
2019-08-01 21:20:26 +08:00
2023-08-04 07:26:48 +08:00
- [Oto](https://github.com/hajimehoshi/oto) **star:1299** 多平台的 low-level 声音播放库。 [![近一周有更新][G]](https://github.com/hajimehoshi/oto) [![godoc][D]](https://godoc.org/github.com/hajimehoshi/oto)
- [PortAudio](https://github.com/gordonklaus/portaudio) **star:607** 基于 Go 的PortAudio audio I/O库。 [![godoc][D]](https://godoc.org/github.com/gordonklaus/portaudio)
- [id3v2](https://github.com/bogem/id3v2) **star:293** ID3解码和编码库为Go。 [![godoc][D]](https://godoc.org/github.com/bogem/id3v2)
2023-07-20 07:26:36 +08:00
- [GoAudio](https://github.com/DylanMeeus/GoAudio) **star:290** 本地Go音频处理库。 [![godoc][D]](https://godoc.org/github.com/DylanMeeus/GoAudio)
2023-07-27 07:20:38 +08:00
- [flac](https://github.com/mewkiz/flac) **star:255** 原生 Go FLAC编码器/解码器支持FLAC流。 [![godoc][D]](https://godoc.org/github.com/mewkiz/flac)
2023-07-20 07:26:36 +08:00
- [malgo](https://github.com/gen2brain/malgo) **star:223** 迷你音频库。
2023-06-26 07:28:04 +08:00
- [gaad](https://github.com/Comcast/gaad) **star:112** 原生 Go AAC位流解析器。 [![godoc][D]](https://godoc.org/github.com/Comcast/gaad)
2023-08-02 07:21:08 +08:00
- [minimp3](https://github.com/tosone/minimp3) **star:107** 轻量级MP3解码器库。 [![近一周有更新][G]](https://github.com/tosone/minimp3)
- [gosamplerate](https://github.com/dh1tw/gosamplerate) **star:29** libsamplerate 的 Go 语言实现接口。 [![近三年未更新][Y]](https://github.com/dh1tw/gosamplerate) [![godoc][D]](https://godoc.org/github.com/dh1tw/gosamplerate)
2019-06-27 17:22:00 +08:00
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 身份验证和OAuth
2022-10-21 07:43:52 +08:00
_Libraries for implementing authentication schemes. (翻译出错了? 试试 [英文版](README_EN.md#authentication-and-oauth) 吧~)_
2022-03-22 12:36:07 +08:00
2023-08-04 07:26:48 +08:00
- [casbin](https://github.com/casbin/casbin) **star:15395** Authorization library that supports access control models like ACL, RBAC, and ABAC. [![近一周有更新][G]](https://github.com/casbin/casbin) [![godoc][D]](https://godoc.org/github.com/casbin/casbin)
- [jwt-go](https://github.com/golang-jwt/jwt) **star:5063** 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. [![近一周有更新][G]](https://github.com/golang-jwt/jwt) [![godoc][D]](https://godoc.org/github.com/golang-jwt/jwt)
- [oauth2](https://github.com/golang/oauth2) **star:4808** Successor of goauth2. Generic OAuth 2.0 package that comes with JWT, Google APIs, Compute Engine, and App Engine support. [![godoc][D]](https://godoc.org/github.com/golang/oauth2)
- [goth](https://github.com/markbates/goth) **star:4247** 提供了 OAuth 和 OAuth2 的简单清晰易用的方法。可开箱即用处理多个提供程序。 [![近一周有更新][G]](https://github.com/markbates/goth) [![godoc][D]](https://godoc.org/github.com/markbates/goth)
- [keto](https://github.com/ory/keto) **star:4150** 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. [![近一周有更新][G]](https://github.com/ory/keto) [![godoc][D]](https://godoc.org/github.com/ory/keto)
2023-08-02 07:21:08 +08:00
- [authboss](https://github.com/volatiletech/authboss) **star:3469** 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][D]](https://godoc.org/github.com/volatiletech/authboss)
- [loginsrv](https://github.com/tarent/loginsrv) **star:1899** JWT登录微服务带有可插拔的后端服务如OAuth2 (Github)、htpasswd、osiam。 [![godoc][D]](https://godoc.org/github.com/tarent/loginsrv)
- [osin](https://github.com/openshift/osin) **star:1826** OAuth2服务器库。 [![godoc][D]](https://godoc.org/github.com/openshift/osin)
- [gologin](https://github.com/dghubble/gologin) **star:1622** 用于使用OAuth1和OAuth2身份验证提供者登录的可链处理程序。 [![近一周有更新][G]](https://github.com/dghubble/gologin) [![godoc][D]](https://godoc.org/github.com/dghubble/gologin)
2023-08-04 07:26:48 +08:00
- [scs](https://github.com/alexedwards/scs) **star:1538** HTTP服务器的会话管理器。 [![godoc][D]](https://godoc.org/github.com/alexedwards/scs)
2023-08-02 07:21:08 +08:00
- [gorbac](https://github.com/mikespook/gorbac) **star:1479** 轻量级的基于角色的访问控制(RBAC)实现。 [![godoc][D]](https://godoc.org/github.com/mikespook/gorbac)
2022-10-21 07:43:52 +08:00
- [gosession](http://github.com/Kwynto/gosession) 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.
2023-08-04 07:26:48 +08:00
- [paseto](https://github.com/o1egl/paseto) **star:735** 平台无关的安全令牌(PASETO)。 [![godoc][D]](https://godoc.org/github.com/o1egl/paseto)
2023-08-02 07:21:08 +08:00
- [jwt](https://github.com/cristalhq/jwt) **star:611** Safe, simple, and fast JSON Web Tokens for Go. [![近一周有更新][G]](https://github.com/cristalhq/jwt) [![godoc][D]](https://godoc.org/github.com/cristalhq/jwt)
- [permissions2](https://github.com/xyproto/permissions2) **star:486** Library for keeping track of users, login states, and permissions. Uses secure cookies and bcrypt. [![godoc][D]](https://godoc.org/github.com/xyproto/permissions2)
2023-08-04 07:26:48 +08:00
- [go-guardian](https://github.com/shaj13/go-guardian) **star:481** 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][D]](https://godoc.org/github.com/shaj13/go-guardian)
2023-07-27 07:20:38 +08:00
- [jwt](https://github.com/pascaldekloe/jwt) **star:337** 轻量级JSON Web令牌库。 [![godoc][D]](https://godoc.org/github.com/pascaldekloe/jwt)
2023-07-17 07:22:48 +08:00
- [jeff](https://github.com/abraithwaite/jeff) **star:257** Simple, flexible, secure, and idiomatic web session management with pluggable backends. [![godoc][D]](https://godoc.org/github.com/abraithwaite/jeff)
2023-07-07 07:24:47 +08:00
- [jwt-auth](https://github.com/adam-hanna/jwt-auth) **star:229** JWT中间件可用于Golang http服务器提供了许多配置选项。 [![godoc][D]](https://godoc.org/github.com/adam-hanna/jwt-auth)
2023-08-04 07:26:48 +08:00
- [go-jose](https://github.com/go-jose/go-jose) **star:148** 相当完整地实现了JOSE工作组的JSON Web令牌、JSON Web签名和JSON Web加密规范。 [![godoc][D]](https://godoc.org/github.com/go-jose/go-jose)
2023-05-04 07:21:08 +08:00
- [otpgen](https://github.com/grijul/otpgen) **star:130** 库生成TOTP/HOTP代码。 [![godoc][D]](https://godoc.org/github.com/grijul/otpgen)
2023-07-27 07:20:38 +08:00
- [sessionup](https://github.com/swithek/sessionup) **star:120** 简单但有效的HTTP会话管理和标识包。 [![godoc][D]](https://godoc.org/github.com/swithek/sessionup)
2023-06-07 07:22:22 +08:00
- [sjwt](https://github.com/brianvoe/sjwt) **star:112** 简单的jwt生成器和解析器。 [![godoc][D]](https://godoc.org/github.com/brianvoe/sjwt)
2023-01-28 07:26:39 +08:00
- [session](https://github.com/icza/session) **star:111** web服务器会话管理(包括支持谷歌应用程序引擎 - GAE)。 [![godoc][D]](https://godoc.org/github.com/icza/session)
2023-07-03 07:26:28 +08:00
- [securecookie](https://github.com/chmike/securecookie) **star:75** 高效安全的cookie编码/解码。 [![godoc][D]](https://godoc.org/github.com/chmike/securecookie)
2023-07-27 07:20:38 +08:00
- [sessions](https://github.com/adam-hanna/sessions) **star:74** 非常简单,高性能,可深度定制的会话服务,主要用于的 go http 服务器。 [![godoc][D]](https://godoc.org/github.com/adam-hanna/sessions)
2023-08-02 07:21:08 +08:00
- [branca](https://github.com/essentialkaos/branca) **star:62** branca token[规范实现](https://github.com/tuupola/branca-spec)用于Golang 1.15+。 [![godoc][D]](https://godoc.org/github.com/essentialkaos/branca)
2023-06-26 07:28:04 +08:00
- [otpgo](https://github.com/jltorresm/otpgo) **star:58** 基于时间的一次性密码(TOTP)和基于hmac的一次性密码(HOTP)库用于Go。 [![godoc][D]](https://godoc.org/github.com/jltorresm/otpgo)
2023-07-27 07:20:38 +08:00
- [scope](https://github.com/SonicRoshan/scope) **star:32** 在Go中轻松管理OAuth2范围。 [![godoc][D]](https://godoc.org/github.com/SonicRoshan/scope)
2023-04-15 10:58:14 +08:00
- [cookiestxt](https://github.com/mengzhuo/cookiestxt) **star:12** provides a parser of cookies.txt file format. [![godoc][D]](https://godoc.org/github.com/mengzhuo/cookiestxt)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2021-09-10 07:22:03 +08:00
## 区块链
2022-03-22 12:36:07 +08:00
_构建区块链的工具。 (翻译出错了? 试试 [英文版](README_EN.md#blockchain) 吧~)_
2021-09-10 07:22:03 +08:00
2023-08-04 07:26:48 +08:00
- [go-ethereum](https://github.com/ethereum/go-ethereum) **star:43156** 以太坊协议的官方Go实现。 [![近一周有更新][G]](https://github.com/ethereum/go-ethereum) [![godoc][D]](https://godoc.org/github.com/ethereum/go-ethereum)
- [tendermint](https://github.com/tendermint/tendermint) **star:5530** 一个高性能中间件,可将任何语言的状态机转换为 Byzantine Fault 状态机。使用 Tendermint 一致性及区块链协议。 [![godoc][D]](https://godoc.org/github.com/tendermint/tendermint)
- [cosmos-sdk](https://github.com/cosmos/cosmos-sdk) **star:5361** 在宇宙生态系统中构建公共区块链框架。 [![近一周有更新][G]](https://github.com/cosmos/cosmos-sdk) [![godoc][D]](https://godoc.org/github.com/cosmos/cosmos-sdk)
2023-08-02 07:21:08 +08:00
- [solana-go](https://github.com/gagliardetto/solana-go) **star:440** 去库与Solana JSON RPC和WebSocket接口接口。 [![godoc][D]](https://godoc.org/github.com/gagliardetto/solana-go)
- [gossamer](https://github.com/ChainSafe/gossamer) **star:391** Polkadot主机的Go实现。 [![近一周有更新][G]](https://github.com/ChainSafe/gossamer) [![godoc][D]](https://godoc.org/github.com/ChainSafe/gossamer)
2023-08-04 07:26:48 +08:00
- [cometbft](https://github.com/cometbft/cometbft) **star:326** A distributed, Byzantine fault-tolerant, deterministic state machine replication engine. It is a fork of Tendermint Core and implements the Tendermint consensus algorithm. [![近一周有更新][G]](https://github.com/cometbft/cometbft) [![godoc][D]](https://godoc.org/github.com/cometbft/cometbft)
2021-09-10 07:22:03 +08:00
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-10 07:22:03 +08:00
2019-06-27 17:22:00 +08:00
## Bot建设
2022-03-22 12:36:07 +08:00
_用于构建和使用机器人的库。 (翻译出错了? 试试 [英文版](README_EN.md#bot-building) 吧~)_
2023-08-04 07:26:48 +08:00
- [telegram-bot-api](https://github.com/Syfaro/telegram-bot-api) **star:4811** 简单轻量级的Telegram bot客户端。 [![近一周有更新][G]](https://github.com/Syfaro/telegram-bot-api) [![godoc][D]](https://godoc.org/github.com/Syfaro/telegram-bot-api)
- [olivia](https://github.com/olivia-ai/olivia) **star:3570** 用人工神经网络建造的聊天机器人。 [![godoc][D]](https://godoc.org/github.com/olivia-ai/olivia)
- [telebot](https://github.com/tucnak/telebot) **star:3180** Telegram bot framework is written in Go. [![godoc][D]](https://godoc.org/github.com/tucnak/telebot)
- [wayback](https://github.com/wabarc/wayback) **star:1378** A bot for Telegram, Mastodon, Slack, and other messaging platforms archives webpages. [![godoc][D]](https://godoc.org/github.com/wabarc/wayback)
2023-07-27 07:20:38 +08:00
- [Kelp](https://github.com/stellar/kelp) **star:1005** 官方交易和做市机器人为[Stellar](https://www.stellar.org/) DEX。开箱即用的作品用 Golang 编写,兼容集中交易和定制交易策略。 [![godoc][D]](https://godoc.org/github.com/stellar/kelp)
2023-08-04 07:26:48 +08:00
- [Golang CryptoTrading Bot](https://github.com/saniales/golang-crypto-trading-bot) **star:924** 基于控制台的,用于加密货币交易所的的交易机器人。 [![godoc][D]](https://godoc.org/github.com/saniales/golang-crypto-trading-bot)
2023-08-02 07:21:08 +08:00
- [slacker](https://github.com/shomali11/slacker) **star:787** 可简单创建Slack机器人的框架。 [![近一周有更新][G]](https://github.com/shomali11/slacker) [![godoc][D]](https://godoc.org/github.com/shomali11/slacker)
2023-08-04 07:26:48 +08:00
- [go-chat-bot](https://github.com/go-chat-bot/bot) **star:786** 用 Go 编写的IRC, Slack和电报机器人。 [![godoc][D]](https://godoc.org/github.com/go-chat-bot/bot)
2022-03-22 12:36:07 +08:00
- [go-joe](https://joe-bot.net) 一个通用的机器人库的灵感来自于Hubot。
2023-06-19 07:27:31 +08:00
- [tbot](https://github.com/yanzay/tbot) **star:336** 带有类似于net/http API的Telegram bot服务器。 [![godoc][D]](https://godoc.org/github.com/yanzay/tbot)
2023-07-27 07:20:38 +08:00
- [go-twitch-irc](https://github.com/gempir/go-twitch-irc) **star:302** 为twitch写机器人的库。电视聊天 [![godoc][D]](https://godoc.org/github.com/gempir/go-twitch-irc)
2023-07-20 07:26:36 +08:00
- [echotron](https://github.com/NicoNex/echotron) **star:260** 一个优雅的并发库Telegram Bots in Go。 [![godoc][D]](https://godoc.org/github.com/NicoNex/echotron)
2023-07-27 07:20:38 +08:00
- [go-sarah](https://github.com/oklahomer/go-sarah) **star:259** Framework to build a bot for desired chat services including LINE, Slack, Gitter, and more. [![godoc][D]](https://godoc.org/github.com/oklahomer/go-sarah)
2023-08-02 07:21:08 +08:00
- [telego](https://github.com/mymmrac/telego) **star:232** goang的Telegram Bot API库完全一对一的API实现。 [![近一周有更新][G]](https://github.com/mymmrac/telego) [![godoc][D]](https://godoc.org/github.com/mymmrac/telego)
2023-04-23 07:26:25 +08:00
- [Tenyks](https://github.com/kyleterry/tenyks) **star:175** 面向服务的IRC bot使用Redis和JSON进行消息传递。 [![godoc][D]](https://godoc.org/github.com/kyleterry/tenyks)
2023-08-04 07:26:48 +08:00
- [bot](https://github.com/go-telegram/bot) **star:153** Zero-dependencies Telegram Bot library with additional UI components [![godoc][D]](https://godoc.org/github.com/go-telegram/bot)
2023-07-27 07:20:38 +08:00
- [hanu](https://github.com/sbstjn/hanu) **star:147** 用于编写Slack机器人的框架。 [![godoc][D]](https://godoc.org/github.com/sbstjn/hanu)
2023-07-20 07:26:36 +08:00
- [larry](https://github.com/ezeoleaf/larry) **star:145** 拉里🐦是一个很简单的推特机器人生成器,tweet随机从Github库建在走。 [![godoc][D]](https://godoc.org/github.com/ezeoleaf/larry)
- [slack-bot](https://github.com/innogames/slack-bot) **star:141** 为懒惰的开发者准备好使用Slack Bot:自定义命令Jenkins, Jira, Bitbucket, Github… [![近一周有更新][G]](https://github.com/innogames/slack-bot) [![godoc][D]](https://godoc.org/github.com/innogames/slack-bot)
2023-06-26 07:28:04 +08:00
- [go-tgbot](https://github.com/olebedev/go-tgbot) **star:119** Pure Golang Telegram Bot API wrapper, generated from swagger file, session-based router, and middleware. [![近三年未更新][Y]](https://github.com/olebedev/go-tgbot) [![godoc][D]](https://godoc.org/github.com/olebedev/go-tgbot)
2023-08-04 07:26:48 +08:00
- [ephemeral-roles](https://github.com/ewohltman/ephemeral-roles) **star:80** 用于管理基于语音通道成员存在的临时角色的不和机器人。 [![godoc][D]](https://godoc.org/github.com/ewohltman/ephemeral-roles)
2023-06-19 07:27:31 +08:00
- [margelet](https://github.com/zhulik/margelet) **star:80** 构建电报机器人的框架。 [![godoc][D]](https://godoc.org/github.com/zhulik/margelet)
2023-07-27 07:20:38 +08:00
- [slackscot](https://github.com/alexandre-normand/slackscot) **star:55** 另一个构建Slack机器人的框架。 [![godoc][D]](https://godoc.org/github.com/alexandre-normand/slackscot)
- [govkbot](https://github.com/nikepan/govkbot) **star:43** 简单的Go [VK](https://vk.com) bot库。 [![godoc][D]](https://godoc.org/github.com/nikepan/govkbot)
2023-07-07 07:24:47 +08:00
- [micha](https://github.com/onrik/micha) **star:25** 基于 GO 实现的Telegram 机器人API库。 [![godoc][D]](https://godoc.org/github.com/onrik/micha)
2023-08-02 07:21:08 +08:00
- [teleterm](https://github.com/alfiankan/teleterm) **star:25** Telegram Bot执行终端命令。 [![godoc][D]](https://godoc.org/github.com/alfiankan/teleterm)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2021-01-15 07:47:27 +08:00
## 构建自动化
2022-10-21 07:43:52 +08:00
_Libraries and tools help with build automation. (翻译出错了? 试试 [英文版](README_EN.md#build-automation) 吧~)_
2021-01-15 07:47:27 +08:00
2023-08-04 07:26:48 +08:00
- [Task](https://github.com/go-task/task) **star:8229** 简单的“Go”的选择。 [![近一周有更新][G]](https://github.com/go-task/task) [![godoc][D]](https://godoc.org/github.com/go-task/task)
2023-08-02 07:21:08 +08:00
- [realize](https://github.com/tockins/realize) **star:4405** Go build a system with file watchers and live to reload. Run, build and watch file changes with custom paths. [![godoc][D]](https://godoc.org/github.com/tockins/realize)
2023-08-04 07:26:48 +08:00
- [mage](https://github.com/magefile/mage) **star:3625** 法师是一个使用Go制作/耙子类的构建工具。 [![近一周有更新][G]](https://github.com/magefile/mage) [![godoc][D]](https://godoc.org/github.com/magefile/mage)
2023-08-02 07:21:08 +08:00
- [mmake](https://github.com/tj/mmake) **star:1663** 现代 Make 工具 [![godoc][D]](https://godoc.org/github.com/tj/mmake)
2023-08-04 07:26:48 +08:00
- [xc](https://github.com/joerdav/xc) **star:875** Task runner with README.md defined tasks, executable markdown. [![godoc][D]](https://godoc.org/github.com/joerdav/xc)
2023-08-02 07:21:08 +08:00
- [goyek](https://github.com/goyek/goyek) **star:391** 在Go中创建构建管道。 [![godoc][D]](https://godoc.org/github.com/goyek/goyek)
- [taskctl](https://github.com/taskctl/taskctl) **star:257** 并发任务跑。 [![godoc][D]](https://godoc.org/github.com/taskctl/taskctl)
2023-07-27 07:20:38 +08:00
- [1build](https://github.com/gopinath-langote/1build) **star:213** 命令行工具,以无摩擦地管理项目特定的命令。 [![godoc][D]](https://godoc.org/github.com/gopinath-langote/1build)
2023-07-12 07:22:59 +08:00
- [gaper](https://github.com/maxcnunes/gaper) **star:74** 当Go项目崩溃或一些人看到文件更改时构建并重新启动该项目。 [![godoc][D]](https://godoc.org/github.com/maxcnunes/gaper)
2022-03-22 12:36:07 +08:00
- [gilbert](https://go-gilbert.github.io) 一个为 Go 项目而生的构建系统和任务运行器。
2023-06-26 07:28:04 +08:00
- [anko](https://github.com/GuilhermeCaruso/anko) **star:29** 适用于多种编程语言的简单应用程序监视程序。 [![godoc][D]](https://godoc.org/github.com/GuilhermeCaruso/anko)
2021-01-15 07:47:27 +08:00
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 命令行
2022-03-22 12:36:07 +08:00
### 高级控制台用户界面
2019-06-27 17:22:00 +08:00
2022-03-22 12:36:07 +08:00
_用于构建控制台应用程序和控制台用户界面的库。 (翻译出错了? 试试 [英文版](README_EN.md#advanced-console-uis) 吧~)_
2023-08-04 07:26:48 +08:00
- [bubbletea](https://github.com/charmbracelet/bubbletea) **star:19182** Go framework to build terminal apps, based on The Elm Architecture. [![近一周有更新][G]](https://github.com/charmbracelet/bubbletea) [![godoc][D]](https://godoc.org/github.com/charmbracelet/bubbletea)
- [termui](https://github.com/gizak/termui) **star:12587** 此库是基于**termbox-go**实现的,借鉴于[blessed-contrib](https://github.com/yaronn/blessed-contrib)。 [![godoc][D]](https://godoc.org/github.com/gizak/termui)
- [gocui](https://github.com/jroimartin/gocui) **star:9296** 旨在创建控制台用户界面的极简Go库。 [![godoc][D]](https://godoc.org/github.com/jroimartin/gocui)
2022-03-22 12:36:07 +08:00
- [gommon/color](https://github.com/labstack/gommon/tree/master/color) 更换终端文本样式。
2023-08-04 07:26:48 +08:00
- [lipgloss](https://github.com/charmbracelet/lipgloss) **star:6074** Declaratively define styles for color, format and layout in the terminal. [![近一周有更新][G]](https://github.com/charmbracelet/lipgloss) [![godoc][D]](https://godoc.org/github.com/charmbracelet/lipgloss)
- [go-prompt](https://github.com/c-bata/go-prompt) **star:4964** 构建一个强大的交互式提示,借鉴于[python-prompt-toolkit](https://github.com/jonathanslenders/python-prompt-toolkit) [![godoc][D]](https://godoc.org/github.com/c-bata/go-prompt)
2023-08-02 07:21:08 +08:00
- [termbox-go](https://github.com/nsf/termbox-go) **star:4554** 基于文本的跨平台接口库。 [![godoc][D]](https://godoc.org/github.com/nsf/termbox-go)
2023-08-04 07:26:48 +08:00
- [pterm](https://github.com/pterm/pterm) **star:3912** 一个在每个平台上使用许多可组合组件美化控制台输出的库。 [![近一周有更新][G]](https://github.com/pterm/pterm) [![godoc][D]](https://godoc.org/github.com/pterm/pterm)
- [bubbles](https://github.com/charmbracelet/bubbles) **star:3635** TUI components for bubbletea. [![近一周有更新][G]](https://github.com/charmbracelet/bubbles) [![godoc][D]](https://godoc.org/github.com/charmbracelet/bubbles)
- [progressbar](https://github.com/schollz/progressbar) **star:3414** 基本线程安全的进度条,在每个操作系统工作。 [![近一周有更新][G]](https://github.com/schollz/progressbar) [![godoc][D]](https://godoc.org/github.com/schollz/progressbar)
- [termdash](https://github.com/mum4k/termdash) **star:2348** 此库是基于**termbox-go**实现的,借鉴于[termui](https://github.com/gizak/termui)。 [![godoc][D]](https://godoc.org/github.com/mum4k/termdash)
- [asciigraph](https://github.com/guptarohit/asciigraph) **star:2285** 在命令行中构建轻量级ASCII线图╭┈╯应用程序中没有其他依赖项。 [![godoc][D]](https://godoc.org/github.com/guptarohit/asciigraph)
- [spinner](https://github.com/briandowns/spinner) **star:2126** 一个 Go 语言软件包,提供多种选项,方便在终端中创建加载动画。 [![godoc][D]](https://godoc.org/github.com/briandowns/spinner)
- [mpb](https://github.com/vbauerster/mpb) **star:2073** 可在终端显示多进度条。 [![近一周有更新][G]](https://github.com/vbauerster/mpb) [![godoc][D]](https://godoc.org/github.com/vbauerster/mpb)
- [uiprogress](https://github.com/gosuri/uiprogress) **star:2035** 在终端呈现进度条,可灵活配置的。 [![godoc][D]](https://godoc.org/github.com/gosuri/uiprogress)
2023-08-02 07:21:08 +08:00
- [uilive](https://github.com/gosuri/uilive) **star:1586** Library for updating terminal output in real time. [![godoc][D]](https://godoc.org/github.com/gosuri/uilive)
- [termenv](https://github.com/muesli/termenv) **star:1425** 先进的ANSI风格和颜色支持您的终端应用程序。 [![近一周有更新][G]](https://github.com/muesli/termenv) [![godoc][D]](https://godoc.org/github.com/muesli/termenv)
2023-08-04 07:26:48 +08:00
- [gookit/color](https://github.com/gookit/color) **star:1355** 终端显色工具库支持16种颜色256种颜色RGB显色输出兼容Windows。 [![godoc][D]](https://godoc.org/github.com/gookit/color) [![包含中文文档][CN]](https://github.com/gookit/color)
- [aurora](https://github.com/logrusorgru/aurora) **star:1340** ANSI terminal colors that support fmt.Printf/Sprintf. [![godoc][D]](https://godoc.org/github.com/logrusorgru/aurora)
- [go-isatty](https://github.com/mattn/go-isatty) **star:722** Go 实现的 isatty。 [![godoc][D]](https://godoc.org/github.com/mattn/go-isatty)
2023-07-27 07:20:38 +08:00
- [uitable](https://github.com/gosuri/uitable) **star:711** 改善终端应用程序中表格数据的可读性。 [![godoc][D]](https://godoc.org/github.com/gosuri/uitable)
2023-08-02 07:21:08 +08:00
- [go-colorable](https://github.com/mattn/go-colorable) **star:704** 适用于windows的颜色编写器。 [![godoc][D]](https://godoc.org/github.com/mattn/go-colorable)
2023-08-04 07:26:48 +08:00
- [simpletable](https://github.com/alexeyco/simpletable) **star:461** Simple tables in a terminal with Go. [![godoc][D]](https://godoc.org/github.com/alexeyco/simpletable)
2023-07-17 07:22:48 +08:00
- [chalk](https://github.com/ttacon/chalk) **star:428** 美化终端/控制台输出。 [![近三年未更新][Y]](https://github.com/ttacon/chalk) [![godoc][D]](https://godoc.org/github.com/ttacon/chalk)
2023-08-02 07:21:08 +08:00
- [yacspin](https://github.com/theckman/yacspin) **star:404** 用于与终端旋转器一起工作。 [![godoc][D]](https://godoc.org/github.com/theckman/yacspin)
- [box-cli-maker](https://github.com/Delta456/box-cli-maker) **star:371** 为你的CLI制作高度定制的盒子。 [![godoc][D]](https://godoc.org/github.com/Delta456/box-cli-maker)
2023-07-27 07:20:38 +08:00
- [tabby](https://github.com/cheynewallace/tabby) **star:331** 一个可在终端生成一个极简Golang表格轻量级库 [![godoc][D]](https://godoc.org/github.com/cheynewallace/tabby)
2023-08-04 07:26:48 +08:00
- [bubble-table](https://github.com/Evertras/bubble-table) **star:231** An interactive table component for bubbletea. [![godoc][D]](https://godoc.org/github.com/Evertras/bubble-table)
2023-08-02 07:21:08 +08:00
- [go-colortext](https://github.com/daviddengcn/go-colortext) **star:214** 在终端中使用彩色文字。 [![近三年未更新][Y]](https://github.com/daviddengcn/go-colortext) [![godoc][D]](https://godoc.org/github.com/daviddengcn/go-colortext)
2023-07-27 07:20:38 +08:00
- [cfmt](https://github.com/mingrammer/cfmt) **star:95** 提供上下文的fmt灵感来自于bootstrap color classes。 [![近三年未更新][Y]](https://github.com/mingrammer/cfmt) [![godoc][D]](https://godoc.org/github.com/mingrammer/cfmt)
2023-07-03 07:26:28 +08:00
- [tabular](https://github.com/InVisionApp/tabular) **star:70** 不需要向API传递大量参数就可从命令行实用程序中打印ASCII表。 [![godoc][D]](https://godoc.org/github.com/InVisionApp/tabular)
2023-07-27 07:20:38 +08:00
- [cfmt](https://github.com/i582/cfmt) **star:58** 简单和方便格式化格式化输出完全兼容fmt库。 [![godoc][D]](https://godoc.org/github.com/i582/cfmt)
- [ctc](https://github.com/wzshiming/ctc) **star:44** 不需要Print方法的非侵入性跨平台终端颜色库。 [![godoc][D]](https://godoc.org/github.com/wzshiming/ctc) [![包含中文文档][CN]](https://github.com/wzshiming/ctc)
2023-06-02 07:24:06 +08:00
- [table](https://github.com/tomlazar/table) **star:44** 为基于终端颜色的表的小库。 [![godoc][D]](https://godoc.org/github.com/tomlazar/table)
2023-05-31 07:26:28 +08:00
- [marker](https://github.com/cyucelen/marker) **star:40** 最简单的方法来匹配和标记字符串的彩色终端输出。 [![godoc][D]](https://godoc.org/github.com/cyucelen/marker)
2022-10-05 07:28:40 +08:00
- [colourize](https://github.com/TreyBastian/colourize) **star:26** 在终端提供ANSI彩色文本。 [![godoc][D]](https://godoc.org/github.com/TreyBastian/colourize) [![归档项目][Archived]](https://github.com/TreyBastian/colourize)
2023-04-15 10:58:14 +08:00
- [go-ataman](https://github.com/workanator/go-ataman) **star:14** 在终端提供ANSI彩色文本模板。 [![godoc][D]](https://godoc.org/github.com/workanator/go-ataman)
2023-06-19 07:27:31 +08:00
- [go-palette](https://github.com/abusomani/go-palette) **star:10** Go library that provides elegant and convenient style definitions using ANSI colors. Fully compatible & wraps the [fmt library](https://pkg.go.dev/fmt) for nice terminal layouts. [![godoc][D]](https://godoc.org/github.com/abusomani/go-palette)
2022-11-07 07:27:33 +08:00
- [crab-config-files-templating](https://github.com/alfiankan/crab-config-files-templating) **star:6** Dynamic configuration file templating tool for kubernetes manifest or general configuration files. [![godoc][D]](https://godoc.org/github.com/alfiankan/crab-config-files-templating)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2022-03-22 12:36:07 +08:00
### 标准CLI
2019-06-27 17:22:00 +08:00
2022-03-22 12:36:07 +08:00
_用于构建标准或基本命令行应用程序的库。 (翻译出错了? 试试 [英文版](README_EN.md#standard-cli) 吧~)_
2023-08-04 07:26:48 +08:00
- [cobra](https://github.com/spf13/cobra) **star:32774** 现代Go CLI命令行交互工具。 [![godoc][D]](https://godoc.org/github.com/spf13/cobra)
- [elvish](https://github.com/elves/elvish) **star:5109** 一种表达性编程语言和通用的交互外壳。 [![近一周有更新][G]](https://github.com/elves/elvish) [![godoc][D]](https://godoc.org/github.com/elves/elvish)
- [kingpin](https://github.com/alecthomas/kingpin) **star:3360** 支持子命令的命令行和标志解析器(被' kong '取代;见下文)。 [![godoc][D]](https://godoc.org/github.com/alecthomas/kingpin)
- [Dnote](https://github.com/dnote/dnote) **star:2551** 一个简单的命令行笔记本与多设备同步。 [![godoc][D]](https://godoc.org/github.com/dnote/dnote)
- [go-flags](https://github.com/jessevdk/go-flags) **star:2420** Go 命令行选项解析器。 [![godoc][D]](https://godoc.org/github.com/jessevdk/go-flags)
- [pflag](https://github.com/spf13/pflag) **star:2144** 基于POSIX/GNU-style --flags实现的包主要用于替换Go的falg包。 [![godoc][D]](https://godoc.org/github.com/spf13/pflag)
- [mitchellh/cli](https://github.com/mitchellh/cli) **star:1680** 用于实现命令行接口的Go库。 [![godoc][D]](https://godoc.org/github.com/mitchellh/cli)
2023-08-02 07:21:08 +08:00
- [go-arg](https://github.com/alexflint/go-arg) **star:1678** 基于结构的参数解析。 [![godoc][D]](https://godoc.org/github.com/alexflint/go-arg)
2023-08-04 07:26:48 +08:00
- [ops](https://github.com/nanovms/ops) **star:1109** Unikernel 构建器/协调器。 [![近一周有更新][G]](https://github.com/nanovms/ops) [![godoc][D]](https://godoc.org/github.com/nanovms/ops)
- [liner](https://github.com/peterh/liner) **star:983** 类似readline-like的命令行接口库。 [![godoc][D]](https://godoc.org/github.com/peterh/liner)
2023-07-27 07:20:38 +08:00
- [complete](https://github.com/posener/complete) **star:891** 使用 Go 语言编写的 bash 命令补全工具以及 Go 命令补全工具. [![godoc][D]](https://godoc.org/github.com/posener/complete)
2023-08-02 07:21:08 +08:00
- [mow.cli](https://github.com/jawher/mow.cli) **star:854** 用于构建具有复杂标志和参数解析和验证的CLI应用程序。 [![godoc][D]](https://godoc.org/github.com/jawher/mow.cli)
2023-07-17 07:22:48 +08:00
- [flaggy](https://github.com/integrii/flaggy) **star:832** 一个健壮的、易用的标志包,具有出色的子命令支持。 [![godoc][D]](https://godoc.org/github.com/integrii/flaggy)
2023-08-02 07:21:08 +08:00
- [cli](https://github.com/mkideal/cli) **star:689** 基于golang结构标签功能丰富易于使用的命令行包。 [![godoc][D]](https://godoc.org/github.com/mkideal/cli)
- [argparse](https://github.com/akamensky/argparse) **star:536** 命令行参数分析器灵感来自Python的argparse模块。 [![godoc][D]](https://godoc.org/github.com/akamensky/argparse)
- [carapace-bin](https://github.com/rsteube/carapace-bin) **star:257** 多shell多命令参数完成器。 [![近一周有更新][G]](https://github.com/rsteube/carapace-bin) [![godoc][D]](https://godoc.org/github.com/rsteube/carapace-bin)
2023-07-10 07:28:10 +08:00
- [climax](https://github.com/tucnak/climax) **star:207** Alternative CLI with "human face", in spirit of Go command. [![godoc][D]](https://godoc.org/github.com/tucnak/climax)
2023-08-02 07:21:08 +08:00
- [commandeer](https://github.com/jaffee/commandeer) **star:169** 开发友好的CLI应用程序。 [![godoc][D]](https://godoc.org/github.com/jaffee/commandeer)
- [clîr](https://github.com/leaanthony/clir) **star:154** 一个简单而清晰的CLI库。依赖免费的。 [![godoc][D]](https://godoc.org/github.com/leaanthony/clir)
- [job](https://github.com/liujianping/job) **star:128** 工作,把你的短期指令当作长期任务。 [![近三年未更新][Y]](https://github.com/liujianping/job)
2023-05-31 07:26:28 +08:00
- [flag](https://github.com/cosiner/flag) **star:126** 简单但功能强大的命令行选项解析库用于支持Go子命令。 [![godoc][D]](https://godoc.org/github.com/cosiner/flag)
2023-08-02 07:21:08 +08:00
- [cmdr](https://github.com/hedzr/cmdr) **star:122** 一个POSIX/GNU风格的、类似getopt的命令行UI Go库。 [![godoc][D]](https://godoc.org/github.com/hedzr/cmdr)
2023-06-29 07:26:27 +08:00
- [cli](https://github.com/teris-io/cli) **star:120** 为 Go 构建命令接口提供简单而完整的API。 [![godoc][D]](https://godoc.org/github.com/teris-io/cli)
2023-07-27 07:20:38 +08:00
- [carapace](https://github.com/rsteube/carapace) **star:115** 用于spf13/cobra的命令参数补全生成器。 [![近一周有更新][G]](https://github.com/rsteube/carapace) [![godoc][D]](https://godoc.org/github.com/rsteube/carapace)
2023-06-07 07:22:22 +08:00
- [env](https://github.com/codingconcepts/env) **star:106** 基于标记的结构化的环境配置。 [![godoc][D]](https://godoc.org/github.com/codingconcepts/env)
2023-08-02 07:21:08 +08:00
- [acmd](https://github.com/cristalhq/acmd) **star:91** Simple, useful, and opinionated CLI package in Go. [![近一周有更新][G]](https://github.com/cristalhq/acmd) [![godoc][D]](https://godoc.org/github.com/cristalhq/acmd)
2023-06-26 07:28:04 +08:00
- [gocmd](https://github.com/devfacet/gocmd) **star:65** 用于构建命令行应用程序。 [![godoc][D]](https://godoc.org/github.com/devfacet/gocmd)
2022-06-08 07:21:04 +08:00
- [hiboot cli](https://github.com/hidevopsio/hiboot/tree/master/pkg/app/cli) 具有自动配置和依赖注入的cli应用程序框架。
2023-08-02 07:21:08 +08:00
- [go-getoptions](https://github.com/DavidGamba/go-getoptions) **star:47** Go option parser inspired by the flexibility of Perls GetOpt::Long. [![近一周有更新][G]](https://github.com/DavidGamba/go-getoptions) [![godoc][D]](https://godoc.org/github.com/DavidGamba/go-getoptions)
2023-07-27 07:20:38 +08:00
- [command-chain](https://github.com/rainu/go-command-chain) **star:44** A go library for configure and run command chains - such as pipelining in unix shells. [![godoc][D]](https://godoc.org/github.com/rainu/go-command-chain)
2023-04-20 07:25:14 +08:00
- [flagvar](https://github.com/sgreben/flagvar) **star:42** 符合 Go 标准的“flag”标志参数类型包。 [![godoc][D]](https://godoc.org/github.com/sgreben/flagvar)
2023-06-07 07:22:22 +08:00
- [argv](https://github.com/cosiner/argv) **star:38** 基于Base 语法,用于分隔命令行字符串并将其作为参数的 Go 语言库, [![近三年未更新][Y]](https://github.com/cosiner/argv) [![godoc][D]](https://godoc.org/github.com/cosiner/argv)
2023-07-17 07:22:48 +08:00
- [cmd](https://github.com/posener/cmd) **star:37** 扩展标准的' flag '包以支持子命令和更多惯用方式。 [![godoc][D]](https://godoc.org/github.com/posener/cmd)
2023-07-20 07:26:36 +08:00
- [go-commander](https://github.com/yitsushi/go-commander) **star:33** 用于简化CLI工作流的 Go 库。 [![近三年未更新][Y]](https://github.com/yitsushi/go-commander) [![godoc][D]](https://godoc.org/github.com/yitsushi/go-commander) [![归档项目][Archived]](https://github.com/yitsushi/go-commander)
2023-06-19 07:27:31 +08:00
- [go-andotp](https://github.com/grijul/go-andotp) **star:23** A CLI program to encrypt/decrypt [andOTP](https://github.com/andOTP/andOTP) files. Can be used as a library as well. [![godoc][D]](https://godoc.org/github.com/grijul/go-andotp)
2023-08-02 07:21:08 +08:00
- [mcli](https://github.com/jxskiss/mcli) **star:13** A minimal but very powerful cli library for Go. [![近一周有更新][G]](https://github.com/jxskiss/mcli) [![godoc][D]](https://godoc.org/github.com/jxskiss/mcli)
2023-07-10 07:28:10 +08:00
- [carapace-spec](https://github.com/rsteube/carapace-spec) **star:7** Define simple completions using a spec file. [![近一周有更新][G]](https://github.com/rsteube/carapace-spec) [![godoc][D]](https://godoc.org/github.com/rsteube/carapace-spec)
2023-05-31 07:26:28 +08:00
- [readline](https://github.com/reeflective/readline) Shell library with modern and easy to use UI features.
2023-08-04 07:26:48 +08:00
- [urfave/cli](https://github.com/urfave/cli) **star:20491** 可让你简单、快速和愉快的构建命令行应用(之前是codegangsta/cli)。 [![godoc][D]](https://godoc.org/github.com/urfave/cli)
- [survey](https://github.com/go-survey/survey) **star:3898** Build interactive and accessible prompts with full support for windows and posix terminals. [![godoc][D]](https://godoc.org/github.com/go-survey/survey)
2023-08-02 07:21:08 +08:00
- [wmenu](https://github.com/dixonwille/wmenu) **star:194** Easy to use menu structure for cli applications that prompt users to make choices. [![godoc][D]](https://godoc.org/github.com/dixonwille/wmenu)
2023-08-04 07:26:48 +08:00
- [sflags](https://github.com/octago/sflags) **star:145** Struct based flags generator for flag, urfave/cli, pflag, cobra, kingpin, and other libraries. [![godoc][D]](https://godoc.org/github.com/octago/sflags)
2023-08-02 07:21:08 +08:00
- [ukautz/clif](https://github.com/ukautz/clif) **star:123** 简小的命令行接口框架。 [![近三年未更新][Y]](https://github.com/ukautz/clif) [![godoc][D]](https://godoc.org/github.com/ukautz/clif)
- [version](https://github.com/mszostok/version) **star:71** Collects and displays CLI version information in multiple formats along with upgrade notice. [![godoc][D]](https://godoc.org/github.com/mszostok/version)
2023-05-31 07:26:28 +08:00
- [wlog](https://github.com/dixonwille/wlog) **star:59** 支持跨平台和并发的简单日志记录接口。 [![godoc][D]](https://godoc.org/github.com/dixonwille/wlog)
2023-06-09 07:21:48 +08:00
- [strumt](https://github.com/antham/strumt) **star:55** 用于创建提示链。 [![godoc][D]](https://godoc.org/github.com/antham/strumt)
2023-07-20 07:26:36 +08:00
- [sand](https://github.com/Zaba505/sand) **star:20** 用于创建解释器等的简单API。 [![近三年未更新][Y]](https://github.com/Zaba505/sand) [![godoc][D]](https://godoc.org/github.com/Zaba505/sand)
2023-05-31 07:26:28 +08:00
- [ts](https://github.com/liujianping/ts) **star:17** 时间戳转换和比较工具。 [![近三年未更新][Y]](https://github.com/liujianping/ts) [![godoc][D]](https://godoc.org/github.com/liujianping/ts)
2023-07-12 07:22:59 +08:00
- [subcmd](https://github.com/bobg/subcmd) **star:4** 解析和运行子命令的另一种方法。与标准的“旗帜”包一起工作。 [![godoc][D]](https://godoc.org/github.com/bobg/subcmd)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 配置
2022-03-22 12:36:07 +08:00
_配置解析的库。 (翻译出错了? 试试 [英文版](README_EN.md#configuration) 吧~)_
2023-08-04 07:26:48 +08:00
- [viper](https://github.com/spf13/viper) **star:23606** 配置管理。 [![近一周有更新][G]](https://github.com/spf13/viper) [![godoc][D]](https://godoc.org/github.com/spf13/viper)
- [godotenv](https://github.com/joho/godotenv) **star:6451** Ruby 的 dotenv 库的 Go移植版(从.env文件加载环境变量)。 [![godoc][D]](https://godoc.org/github.com/joho/godotenv)
- [kelseyhightower/envconfig](https://github.com/kelseyhightower/envconfig) **star:4617** 管理来自环境变量的配置数据。 [![godoc][D]](https://godoc.org/github.com/kelseyhightower/envconfig)
- [env](https://github.com/caarlos0/env) **star:3730** 解析环境变量并赋值到struct中(默认值)。 [![近一周有更新][G]](https://github.com/caarlos0/env) [![godoc][D]](https://godoc.org/github.com/caarlos0/env)
2023-08-02 07:21:08 +08:00
- [ini](https://github.com/go-ini/ini) **star:3276** 读和写INI文件。 [![godoc][D]](https://godoc.org/github.com/go-ini/ini)
2023-08-04 07:26:48 +08:00
- [koanf](https://github.com/knadh/koanf) **star:1912** 轻量级可扩展库用于读取Go应用程序中的配置。内置支持JSON, TOML, YAML, env命令行。 [![godoc][D]](https://godoc.org/github.com/knadh/koanf)
2023-08-02 07:21:08 +08:00
- [kong](https://github.com/alecthomas/kong) **star:1477** 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`). [![近一周有更新][G]](https://github.com/alecthomas/kong) [![godoc][D]](https://godoc.org/github.com/alecthomas/kong)
2023-08-04 07:26:48 +08:00
- [cleanenv](https://github.com/ilyakaznacheev/cleanenv) **star:1097** 简约的配置阅读器(来自文件、环境,以及你想要的任何地方)。 [![近一周有更新][G]](https://github.com/ilyakaznacheev/cleanenv) [![godoc][D]](https://godoc.org/github.com/ilyakaznacheev/cleanenv)
2023-08-02 07:21:08 +08:00
- [konfig](https://github.com/lalamove/konfig) **star:639** 可组合、可观察和高性能的分布式配置管理。 [![godoc][D]](https://godoc.org/github.com/lalamove/konfig)
- [gookit/config](https://github.com/gookit/config) **star:474** 程序配置管理(load,get,set)。支持JSON, YAML, TOML, INI, HCL。支持多文件加载数据覆盖合并。 [![godoc][D]](https://godoc.org/github.com/gookit/config) [![包含中文文档][CN]](https://github.com/gookit/config)
- [confita](https://github.com/heetch/confita) **star:471** 从多个后端级联加载配置到struct中。 [![godoc][D]](https://godoc.org/github.com/heetch/confita)
2023-08-04 07:26:48 +08:00
- [aconfig](https://github.com/cristalhq/aconfig) **star:466** 简单,有用和固执的配置加载程序。 [![godoc][D]](https://godoc.org/github.com/cristalhq/aconfig)
- [xdg](https://github.com/adrg/xdg) **star:421** Go实现[XDG基本目录规范](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html)和[XDG用户目录](https://wiki.archlinux.org/index.php/XDG_user_directories)。 [![godoc][D]](https://godoc.org/github.com/adrg/xdg)
2023-07-27 07:20:38 +08:00
- [GoLobby/Config](https://github.com/golobby/config) **star:335** GoLobby Config is a lightweight yet powerful configuration manager for the Go programming language. [![godoc][D]](https://godoc.org/github.com/golobby/config)
2022-04-24 07:22:27 +08:00
- [gone/jconf](https://github.com/One-com/gone/tree/master/jconf) 模块化的JSON配置。保持配置结构及其配置的代码并将解析委托给子模块而不牺牲配置的完整序列化。
2023-08-02 07:21:08 +08:00
- [config](https://github.com/JeremyLoy/config) **star:329** 云本地应用程序配置。将ENV绑定到结构体仅需两行代码。 [![godoc][D]](https://godoc.org/github.com/JeremyLoy/config)
2023-07-27 07:20:38 +08:00
- [hjson](https://github.com/hjson/hjson-go) **star:302** 更加人性化的JSON配置。轻松的语法更少的错误更多的注释。 [![godoc][D]](https://godoc.org/github.com/hjson/hjson-go)
2023-08-04 07:26:48 +08:00
- [fig](https://github.com/kkyr/fig) **star:275** 用于从文件和环境变量(带有验证和默认值)中读取配置的微型库。 [![godoc][D]](https://godoc.org/github.com/kkyr/fig)
2023-08-02 07:21:08 +08:00
- [store](https://github.com/tucnak/store) **star:271** 轻量级配置管理器。 [![godoc][D]](https://godoc.org/github.com/tucnak/store)
2023-08-04 07:26:48 +08:00
- [config](https://github.com/olebedev/config) **star:265** 带有环境变量和标记解析的JSON或YAML配置包装器。 [![godoc][D]](https://godoc.org/github.com/olebedev/config)
- [envconfig](https://github.com/vrischmann/envconfig) **star:234** 从环境变量中读取配置。 [![godoc][D]](https://godoc.org/github.com/vrischmann/envconfig)
2023-08-02 07:21:08 +08:00
- [joshbetz/config](https://github.com/joshbetz/config) **star:215** 一个可解析环境变量、JSON文件小巧的配置库在SIGHUP时会自动重新加载。 [![godoc][D]](https://godoc.org/github.com/joshbetz/config)
2023-07-17 07:22:48 +08:00
- [gcfg](https://github.com/go-gcfg/gcfg) **star:164** 将ini的配置文件读入 Go structs中;支持用户定义的类型和子选项。 [![godoc][D]](https://godoc.org/github.com/go-gcfg/gcfg)
2023-07-20 07:26:36 +08:00
- [harvester](https://github.com/beatlabs/harvester) **star:126** Harvester, a easy to use static and dynamic configuration package supporting seeding, env vars and Consul integration. [![近一周有更新][G]](https://github.com/beatlabs/harvester) [![godoc][D]](https://godoc.org/github.com/beatlabs/harvester)
2023-04-15 10:58:14 +08:00
- [onion](https://github.com/goraz/onion) **star:113** 基于层配置的Go支持JSON, TOML, YAML属性etcd, env和加密使用PGP。 [![godoc][D]](https://godoc.org/github.com/goraz/onion)
2023-05-24 07:25:19 +08:00
- [envcfg](https://github.com/tomazk/envcfg) **star:100** 对环境变量进行解析并赋值到struct。 [![近三年未更新][Y]](https://github.com/tomazk/envcfg) [![godoc][D]](https://godoc.org/github.com/tomazk/envcfg)
2023-06-19 07:27:31 +08:00
- [envh](https://github.com/antham/envh) **star:96** 协助管理环境变量的Helpers。 [![godoc][D]](https://godoc.org/github.com/antham/envh)
2023-04-15 10:58:14 +08:00
- [configuro](https://github.com/sherifabdlnaby/configuro) **star:87** 固执己见的配置加载和验证框架从环境和文件集中到12因素兼容的应用程序。 [![godoc][D]](https://godoc.org/github.com/sherifabdlnaby/configuro)
2023-08-02 07:21:08 +08:00
- [configuration](https://github.com/BoRuDar/configuration) **star:84** 库,用于从环境变量、文件、标记和“默认”标记初始化配置结构。 [![godoc][D]](https://godoc.org/github.com/BoRuDar/configuration)
2023-07-17 07:22:48 +08:00
- [xdg](https://github.com/OpenPeeDeeP/xdg) **star:76** 遵循[XDG标准](https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html)的跨平台包。 [![godoc][D]](https://godoc.org/github.com/OpenPeeDeeP/xdg)
2023-06-19 07:27:31 +08:00
- [gofigure](https://github.com/ian-kent/gofigure) **star:66** 让程序配置变得简单。 [![近三年未更新][Y]](https://github.com/ian-kent/gofigure) [![godoc][D]](https://godoc.org/github.com/ian-kent/gofigure)
2023-05-24 07:25:19 +08:00
- [uConfig](https://github.com/omeid/uconfig) **star:62** 轻量级、零依赖和可扩展的配置管理。 [![godoc][D]](https://godoc.org/github.com/omeid/uconfig)
2023-07-07 07:24:47 +08:00
- [hocon](https://github.com/gurkankaymak/hocon) **star:60** 使用HOCON(一种人类友好的JSON超集)格式的配置库,支持环境变量、引用其他值、注释和多个文件等特性。 [![godoc][D]](https://godoc.org/github.com/gurkankaymak/hocon)
2022-10-05 07:28:40 +08:00
- [configure](https://github.com/paked/configure) **star:57** 通过多个源提供配置包括JSON、flags和环境变量。 [![近三年未更新][Y]](https://github.com/paked/configure) [![godoc][D]](https://godoc.org/github.com/paked/configure)
2023-01-28 07:26:39 +08:00
- [go-aws-ssm](https://github.com/PaddleHQ/go-aws-ssm) **star:54** 从AWS系统管理器-参数存储中获取参数的Go包。 [![godoc][D]](https://godoc.org/github.com/PaddleHQ/go-aws-ssm)
2023-07-10 07:28:10 +08:00
- [go-up](https://github.com/ufoscout/go-up) **star:42** 一个简单的配置库,具有递归占位符解析功能。 [![近三年未更新][Y]](https://github.com/ufoscout/go-up) [![godoc][D]](https://godoc.org/github.com/ufoscout/go-up)
2023-07-27 07:20:38 +08:00
- [env](https://github.com/junk1tm/env) **star:40** 用于将环境变量加载到结构中的轻量级包。 [![近一周有更新][G]](https://github.com/junk1tm/env) [![godoc][D]](https://godoc.org/github.com/junk1tm/env)
2023-08-02 07:21:08 +08:00
- [config](https://github.com/num30/config) **star:37** configure you app using file, environment variables, or flags in two lines of code [![godoc][D]](https://godoc.org/github.com/num30/config)
2023-04-15 10:58:14 +08:00
- [ingo](https://github.com/schachmat/ingo) **star:36** flag保存在类ini的配置文件中。 [![近三年未更新][Y]](https://github.com/schachmat/ingo) [![godoc][D]](https://godoc.org/github.com/schachmat/ingo)
2023-05-22 07:23:47 +08:00
- [mini](https://github.com/sasbury/mini) **star:34** 用于解析ini类型的配置文件。 [![近三年未更新][Y]](https://github.com/sasbury/mini) [![godoc][D]](https://godoc.org/github.com/sasbury/mini)
2023-06-09 07:21:48 +08:00
- [genv](https://github.com/sakirsensoy/genv) **star:33** 使用dotenv支持轻松读取环境变量。 [![近三年未更新][Y]](https://github.com/sakirsensoy/genv) [![godoc][D]](https://godoc.org/github.com/sakirsensoy/genv)
2023-08-04 07:26:48 +08:00
- [conflate](https://github.com/the4thamigo-uk/conflate) **star:27** 合并来自任意url的多个JSON/YAML/TOML文件、针对JSON模式的验证以及模式中定义的默认值的应用程序。 [![godoc][D]](https://godoc.org/github.com/the4thamigo-uk/conflate)
2022-10-17 07:41:41 +08:00
- [go-ssm-config](https://github.com/ianlopshire/go-ssm-config) **star:17** 从AWS SSM(参数存储)加载配置参数的Go实用程序。 [![godoc][D]](https://godoc.org/github.com/ianlopshire/go-ssm-config)
2023-07-27 07:20:38 +08:00
- [ini](https://github.com/wlevene/ini) **star:12** INI Parser & Write Library, Unmarshal to Struct,Marshal to Json,Write File,watch File。 [![godoc][D]](https://godoc.org/github.com/wlevene/ini)
2022-10-05 07:28:40 +08:00
- [envconf](https://github.com/ian-kent/envconf) **star:11** 从环境配置中读取配置。 [![近三年未更新][Y]](https://github.com/ian-kent/envconf) [![godoc][D]](https://godoc.org/github.com/ian-kent/envconf)
2023-02-20 07:27:34 +08:00
- [nasermirzaei89/env](https://github.com/nasermirzaei89/env) **star:10** 读取环境变量的简单有用的包。 [![godoc][D]](https://godoc.org/github.com/nasermirzaei89/env)
2023-07-27 07:20:38 +08:00
- [go-ini](https://github.com/subpop/go-ini) **star:9** 一个对ini文件进行封送和解送的Go包。 [![godoc][D]](https://godoc.org/github.com/subpop/go-ini)
2022-10-05 07:28:40 +08:00
- [typenv](https://github.com/diegomarangoni/typenv) **star:9** 简约,零依赖,类型化环境变量库。 [![godoc][D]](https://godoc.org/github.com/diegomarangoni/typenv)
2023-04-15 10:58:14 +08:00
- [go-conf](https://github.com/ThomasObenaus/go-conf) **star:8** 用于基于注释结构的应用程序配置的简单库。它支持从环境变量、配置文件和命令行参数读取配置。 [![godoc][D]](https://godoc.org/github.com/ThomasObenaus/go-conf)
2022-12-02 07:25:32 +08:00
- [swap](https://github.com/oblq/swap) **star:8** 根据构建环境递归实例化/配置结构。(YAML, TOML, JSON和env)。 [![godoc][D]](https://godoc.org/github.com/oblq/swap)
2022-10-05 07:28:40 +08:00
- [piper](https://github.com/Yiling-J/piper) **star:7** 带有配置继承和密钥生成的Viper包装器。 [![godoc][D]](https://godoc.org/github.com/Yiling-J/piper)
2022-11-29 07:22:02 +08:00
- [gonfig](https://github.com/milad-abbasi/gonfig) **star:6** 基于标记的配置解析器,它将来自不同提供程序的值加载到类型安全结构中。 [![godoc][D]](https://godoc.org/github.com/milad-abbasi/gonfig)
2023-07-17 07:22:48 +08:00
- [nfigure](https://github.com/muir/nfigure) **star:5** Per-library struct-tag based configuration from command lines (Posix & Go-style); environment, JSON, YAML [![godoc][D]](https://godoc.org/github.com/muir/nfigure)
2023-04-15 10:58:14 +08:00
- [goConfig](https://github.com/crgimenes/goConfig) **star:3** 将结构体解析为输入,并用来自命令行、环境变量和配置文件的参数填充该结构体的字段。 [![godoc][D]](https://godoc.org/github.com/crgimenes/goConfig)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 持续集成
2022-03-22 12:36:07 +08:00
_用于帮助进行持续集成的工具。 (翻译出错了? 试试 [英文版](README_EN.md#continuous-integration) 吧~)_
2019-06-27 17:22:00 +08:00
2023-08-04 07:26:48 +08:00
- [drone](https://github.com/drone/drone) **star:27126** Drone 是一个基于 Docker 的持续集成平台,用 Go 编写。 [![近一周有更新][G]](https://github.com/drone/drone) [![godoc][D]](https://godoc.org/github.com/drone/drone)
- [CDS](https://github.com/ovh/cds) **star:4255** 企业级CI/CD和DevOps自动化开源平台。 [![近一周有更新][G]](https://github.com/ovh/cds) [![godoc][D]](https://godoc.org/github.com/ovh/cds)
- [woodpecker](https://github.com/woodpecker-ci/woodpecker) **star:2892** Woodpecker is a community fork of the Drone CI system. [![近一周有更新][G]](https://github.com/woodpecker-ci/woodpecker) [![godoc][D]](https://godoc.org/github.com/woodpecker-ci/woodpecker)
2023-08-02 07:21:08 +08:00
- [goveralls](https://github.com/mattn/goveralls) **star:765** Coveralls.io 是一个用 Go 编写,可持续对代码覆盖率进行检测的系统。 [![godoc][D]](https://godoc.org/github.com/mattn/goveralls)
2023-08-04 07:26:48 +08:00
- [gotestfmt](https://github.com/GoTestTools/gotestfmt) **star:406** 为人类测试输出。 [![godoc][D]](https://godoc.org/github.com/GoTestTools/gotestfmt)
2023-06-07 07:22:22 +08:00
- [overalls](https://github.com/go-playground/overalls) **star:112** 针对多package 的 Go 语言项目,可为类似 goveralls 这样的工具生成覆盖率报告。 [![近三年未更新][Y]](https://github.com/go-playground/overalls) [![godoc][D]](https://godoc.org/github.com/go-playground/overalls)
2023-04-15 10:58:14 +08:00
- [duci](https://github.com/duck8823/duci) **star:74** 一个简单的 ci 服务。 [![godoc][D]](https://godoc.org/github.com/duck8823/duci) [![归档项目][Archived]](https://github.com/duck8823/duci)
2023-05-31 07:26:28 +08:00
- [gomason](https://github.com/nikogura/gomason) **star:57** 在一个干净的工作区中对你的 Go 二进制文件进行测试、构建、签名和发布。 [![godoc][D]](https://godoc.org/github.com/nikogura/gomason)
2022-10-05 07:28:40 +08:00
- [roveralls](https://github.com/LawrenceWoodman/roveralls) **star:19** 递归覆盖测试工具。 [![近三年未更新][Y]](https://github.com/LawrenceWoodman/roveralls) [![godoc][D]](https://godoc.org/github.com/LawrenceWoodman/roveralls)
2023-07-20 07:26:36 +08:00
- [go-test-coverage](https://github.com/vladopajic/go-test-coverage) **star:15** Tool and GitHub action which reports issues when test coverage is below set threshold. [![godoc][D]](https://godoc.org/github.com/vladopajic/go-test-coverage)
2023-04-15 10:58:14 +08:00
- [go-fuzz-action](https://github.com/jidicula/go-fuzz-action) **star:9** Use Go 1.18's built-in fuzz testing in GitHub Actions.
2019-06-27 17:22:00 +08:00
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## CSS预处理器
2022-03-22 12:36:07 +08:00
_用于预处理CSS文件的库。 (翻译出错了? 试试 [英文版](README_EN.md#css-preprocessors) 吧~)_
2019-06-27 17:22:00 +08:00
2023-08-02 07:21:08 +08:00
- [gcss](https://github.com/yosssi/gcss) **star:483** 纯Go编写的 CSS 预处理器。 [![近三年未更新][Y]](https://github.com/yosssi/gcss) [![godoc][D]](https://godoc.org/github.com/yosssi/gcss)
2023-07-27 07:20:38 +08:00
- [go-libsass](https://github.com/wellington/go-libsass) **star:196** 采用 Go封装100% 与 Sass 兼容的 libsass 项目。
2019-06-27 17:22:00 +08:00
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2022-04-08 20:10:43 +08:00
## 数据结构与算法
### Bit-packing和压缩
2023-08-02 07:21:08 +08:00
- [roaring](https://github.com/RoaringBitmap/roaring) **star:2093** 实现了压缩 bitsets 的Go包。 [![godoc][D]](https://godoc.org/github.com/RoaringBitmap/roaring)
2023-07-27 07:20:38 +08:00
- [binpacker](https://github.com/zhuangsirui/binpacker) **star:210** 帮助用户构建自定义二进制流的二进制封装器和解包器 [![godoc][D]](https://godoc.org/github.com/zhuangsirui/binpacker)
2023-08-02 07:21:08 +08:00
- [bit](https://github.com/yourbasic/bit) **star:150** Go 语言集合数据结构。提供了额外的位操作功能。 [![godoc][D]](https://godoc.org/github.com/yourbasic/bit)
2023-06-19 07:27:31 +08:00
- [crunch](https://github.com/superwhiskers/crunch) **star:87** 打包实现缓冲区,以便轻松处理各种数据类型。 [![godoc][D]](https://godoc.org/github.com/superwhiskers/crunch)
2023-07-07 07:24:47 +08:00
- [go-ef](https://github.com/amallia/go-ef) **star:30** 实现了 Elias-Fano 编码。 [![近三年未更新][Y]](https://github.com/amallia/go-ef) [![godoc][D]](https://godoc.org/github.com/amallia/go-ef)
2023-06-19 07:27:31 +08:00
- [bingo](https://github.com/iancmcc/bingo) **star:23** 将本地类型快速、零分配、保持字典顺序的字节打包。 [![godoc][D]](https://godoc.org/github.com/iancmcc/bingo)
2022-04-08 20:10:43 +08:00
2022-04-09 15:16:10 +08:00
### 位集合
2022-04-08 20:10:43 +08:00
2023-08-02 07:21:08 +08:00
- [bitset](https://github.com/bits-and-blooms/bitset) **star:1138** 实现了 bitsets 的 Go 包。 [![godoc][D]](https://godoc.org/github.com/bits-and-blooms/bitset)
2023-07-20 07:26:36 +08:00
- [bitmap](https://github.com/kelindar/bitmap) **star:223** 高密度零分配在Go中启用simd位图/bitset。
2022-04-08 20:10:43 +08:00
2022-04-09 15:16:10 +08:00
### 布隆和布谷鸟过滤器
2022-04-08 20:10:43 +08:00
2023-08-02 07:21:08 +08:00
- [bloom](https://github.com/bits-and-blooms/bloom) **star:2003** 实现Bloom过滤器。 [![godoc][D]](https://godoc.org/github.com/bits-and-blooms/bloom)
2023-08-04 07:26:48 +08:00
- [boomfilters](https://github.com/tylertreat/BoomFilters) **star:1548** 用于处理连续的概率数据结构。 [![godoc][D]](https://godoc.org/github.com/tylertreat/BoomFilters)
- [cuckoofilter](https://github.com/seiflotfy/cuckoofilter) **star:998** 布谷鸟过滤器:一个用Go实现可替代计数 bloom 过滤器。 [![godoc][D]](https://godoc.org/github.com/seiflotfy/cuckoofilter)
- [cuckoo-filter](https://github.com/linvon/cuckoo-filter) **star:262** 布谷鸟滤波器:一种综合布谷鸟滤波器,与其他实现相比,具有可配置性和空间优化性,原论文中提到的所有特性均可获得。 [![godoc][D]](https://godoc.org/github.com/linvon/cuckoo-filter) [![包含中文文档][CN]](https://github.com/linvon/cuckoo-filter)
2023-06-29 07:26:27 +08:00
- [bloom](https://github.com/zhenjl/bloom) **star:148** 在Go中实现了Bloom过滤器。 [![近三年未更新][Y]](https://github.com/zhenjl/bloom) [![godoc][D]](https://godoc.org/github.com/zhenjl/bloom)
2023-06-26 07:28:04 +08:00
- [ring](https://github.com/TheTannerRyan/ring) **star:130** 高性能、线程安全的bloom过滤器。 [![godoc][D]](https://godoc.org/github.com/TheTannerRyan/ring)
2023-07-17 07:22:48 +08:00
- [bloom](https://github.com/yourbasic/bloom) **star:79** Golang Bloom过滤器的实现。 [![近三年未更新][Y]](https://github.com/yourbasic/bloom) [![godoc][D]](https://godoc.org/github.com/yourbasic/bloom)
2023-04-15 10:58:14 +08:00
- [bloomfilter](https://github.com/OldPanda/bloomfilter) **star:13** 另一个在Go中的Bloomfilter实现与Java的番石榴库兼容。 [![godoc][D]](https://godoc.org/github.com/OldPanda/bloomfilter)
2022-04-08 20:10:43 +08:00
### 数据结构和算法集合
2023-08-04 07:26:48 +08:00
- [gods](https://github.com/emirpasic/gods) **star:14080** 数据结构。容器、集合、列表、堆栈、地图、BidiMaps、树、HashSet等。 [![godoc][D]](https://godoc.org/github.com/emirpasic/gods)
- [go-datastructures](https://github.com/Workiva/go-datastructures) **star:7126** 可靠的、高性能的和线程安全的数据结构的集合。 [![godoc][D]](https://godoc.org/github.com/Workiva/go-datastructures)
- [gostl](https://github.com/liyue201/gostl) **star:896** 用于go的数据结构和算法库旨在提供类似c++ STL的函数。 [![godoc][D]](https://godoc.org/github.com/liyue201/gostl)
2023-08-02 07:21:08 +08:00
- [algorithms](https://github.com/shady831213/algorithms) **star:732** 算法和数据结构。来源于CLRS。 [![godoc][D]](https://godoc.org/github.com/shady831213/algorithms)
2022-04-08 20:10:43 +08:00
### 迭代器
2023-08-02 07:21:08 +08:00
- [iter](https://github.com/disksing/iter) **star:179** Go实现的c++ STL迭代器和算法。 [![godoc][D]](https://godoc.org/github.com/disksing/iter) [![包含中文文档][CN]](https://github.com/disksing/iter)
- [goterator](https://github.com/yaa110/goterator) **star:14** 迭代器实现,提供映射和减少功能。 [![godoc][D]](https://godoc.org/github.com/yaa110/goterator)
2022-04-08 20:10:43 +08:00
### 地图
See also [Database](#database) for more complex key-value stores, and [Trees](#trees) for
additional ordered map implementations.
2023-07-27 07:20:38 +08:00
- [cmap](https://github.com/lrita/cmap) **star:61** 一个线程安全的go map [![godoc][D]](https://godoc.org/github.com/lrita/cmap)
2023-05-31 07:26:28 +08:00
- [dict](https://github.com/srfrog/dict) **star:39** 实现类似 python dict的功能(dict)。 [![godoc][D]](https://godoc.org/github.com/srfrog/dict)
2023-05-22 07:23:47 +08:00
- [goradd/maps](https://github.com/goradd/maps) **star:22** Go 1.18+ generic map interface for maps; safe maps; ordered maps; ordered, safe maps; etc. [![godoc][D]](https://godoc.org/github.com/goradd/maps)
2022-04-08 20:10:43 +08:00
### 杂项数据结构和算法
2023-08-04 07:26:48 +08:00
- [gota](https://github.com/kniren/gota) **star:2721** 实现了数据帧,序列以及数据噪音。 [![godoc][D]](https://godoc.org/github.com/kniren/gota)
2023-07-27 07:20:38 +08:00
- [hyperloglog](https://github.com/axiomhq/hyperloglog) **star:868** HyperLogLog implementation with Sparse, LogLog-Beta bias correction and TailCut space reduction. [![godoc][D]](https://godoc.org/github.com/axiomhq/hyperloglog)
2023-08-04 07:26:48 +08:00
- [go-geoindex](https://github.com/hailocab/go-geoindex) **star:350** 基于内存的地理索引。 [![近三年未更新][Y]](https://github.com/hailocab/go-geoindex) [![godoc][D]](https://godoc.org/github.com/hailocab/go-geoindex)
2023-07-27 07:20:38 +08:00
- [hilbert](https://github.com/google/hilbert) **star:266** 用于映射空间填充曲线(例如 Hilbert 曲线和 Peano 曲线)和数值。 [![godoc][D]](https://godoc.org/github.com/google/hilbert)
2023-06-09 07:21:48 +08:00
- [go-rquad](https://github.com/aurelien-rainone/go-rquad) **star:126** 区域四叉树具有高效的点定位和邻域查找功能。 [![godoc][D]](https://godoc.org/github.com/aurelien-rainone/go-rquad)
2023-07-27 07:20:38 +08:00
- [conjungo](https://github.com/InVisionApp/conjungo) **star:116** 一个小型、强大和灵活的合并库。 [![godoc][D]](https://godoc.org/github.com/InVisionApp/conjungo)
- [go-rampart](https://github.com/francesconi/go-rampart) **star:90** Determine how intervals relate to each other. [![godoc][D]](https://godoc.org/github.com/francesconi/go-rampart)
2023-07-20 07:26:36 +08:00
- [gogu](https://github.com/esimov/gogu) **star:80** A comprehensive, reusable and efficient concurrent-safe generics utility functions and data structures library. [![godoc][D]](https://godoc.org/github.com/esimov/gogu)
2023-07-17 07:22:48 +08:00
- [count-min-log](https://github.com/seiflotfy/count-min-log) **star:63** Go实现Count-Min-log sketch的功能 : 使用近似计数器进行近似计数(类似Count-Min sketch但使用更少内存)。 [![近三年未更新][Y]](https://github.com/seiflotfy/count-min-log) [![godoc][D]](https://godoc.org/github.com/seiflotfy/count-min-log)
2023-07-20 07:26:36 +08:00
- [go-tuple](https://github.com/barweiss/go-tuple) **star:63** Go 1.18+的通用元组实现。 [![godoc][D]](https://godoc.org/github.com/barweiss/go-tuple)
2023-07-10 07:28:10 +08:00
- [hide](https://github.com/emvi/hide) **star:54** ID type with marshalling to/from hash to prevent sending IDs to clients. [![godoc][D]](https://godoc.org/github.com/emvi/hide)
2023-04-23 07:26:25 +08:00
- [concurrent-writer](https://github.com/free/concurrent-writer) **star:49** 具备高并发能力,可替换 bufio.Writer。 [![近三年未更新][Y]](https://github.com/free/concurrent-writer) [![godoc][D]](https://godoc.org/github.com/free/concurrent-writer)
2023-08-02 07:21:08 +08:00
- [genfuncs](https://github.com/nwillc/genfuncs) **star:46** Go 1.18+ generics package inspired by Kotlin's Sequence and Map. [![godoc][D]](https://godoc.org/github.com/nwillc/genfuncs)
2023-05-16 07:23:55 +08:00
- [fsm](https://github.com/cocoonspace/fsm) **star:45** 有限状态机包。 [![godoc][D]](https://godoc.org/github.com/cocoonspace/fsm)
2023-05-17 07:27:03 +08:00
- [go18ds](https://github.com/daichi-m/go18ds) **star:32** Go Data Structures using Go 1.18 generics. [![godoc][D]](https://godoc.org/github.com/daichi-m/go18ds)
2023-08-02 07:21:08 +08:00
- [go-generics](https://github.com/bobg/go-generics) **star:30** Generic slice, map, set, iterator, and goroutine utilities. [![godoc][D]](https://godoc.org/github.com/bobg/go-generics)
2023-08-04 07:26:48 +08:00
- [quadtree](https://github.com/s0rg/quadtree) **star:27** Generic, zero-alloc, 100%-test covered quadtree. [![近一周有更新][G]](https://github.com/s0rg/quadtree) [![godoc][D]](https://godoc.org/github.com/s0rg/quadtree)
2022-10-05 07:28:40 +08:00
- [gofal](https://github.com/xxjwxc/gofal) **star:17** 基于 Go 实现的分数计算。包含分子、分母运算 [![近三年未更新][Y]](https://github.com/xxjwxc/gofal) [![godoc][D]](https://godoc.org/github.com/xxjwxc/gofal) [![包含中文文档][CN]](https://github.com/xxjwxc/gofal)
2023-04-20 07:25:14 +08:00
- [slices](https://github.com/srfrog/slices) **star:13** 对片进行操作的函数;类似于“包字符串”,但适用于使用片。 [![godoc][D]](https://godoc.org/github.com/srfrog/slices)
2022-11-07 07:27:33 +08:00
- [slices](https://github.com/twharmon/slices) **star:13** Pure, generic functions for slices. [![godoc][D]](https://godoc.org/github.com/twharmon/slices)
2022-04-08 20:10:43 +08:00
### 可空类型
2023-07-17 07:22:48 +08:00
- [nan](https://github.com/kak-tus/nan) **star:75** 一个库中的可零分配空结构,具有方便的转换函数、编组器和解组器。 [![godoc][D]](https://godoc.org/github.com/kak-tus/nan)
2023-07-20 07:26:36 +08:00
- [typ](https://github.com/gurukami/typ) **star:42** 从复杂结构中获取值,支持空类型、安全的类型转换。 [![godoc][D]](https://godoc.org/github.com/gurukami/typ)
2023-04-15 10:58:14 +08:00
- [null](https://github.com/emvi/null) **star:31** 对空的 Go 数据类型也可以进行JSON进行解析/反解析。 [![godoc][D]](https://godoc.org/github.com/emvi/null)
2022-04-08 20:10:43 +08:00
### 队列
2023-08-04 07:26:48 +08:00
- [deque](https://github.com/gammazero/deque) **star:473** 快速环缓冲区deque(双端队列)。 [![godoc][D]](https://godoc.org/github.com/gammazero/deque)
- [goconcurrentqueue](https://github.com/enriquebris/goconcurrentqueue) **star:294** 并行FIFO队列。 [![godoc][D]](https://godoc.org/github.com/enriquebris/goconcurrentqueue)
2023-08-02 07:21:08 +08:00
- [queue](https://github.com/adrianbrad/queue) **star:176** Multiple thread-safe, generic queue implementations for Go. [![godoc][D]](https://godoc.org/github.com/adrianbrad/queue)
2023-08-04 07:26:48 +08:00
- [deque](https://github.com/edwingeng/deque) **star:135** 高度优化的双端队列。 [![godoc][D]](https://godoc.org/github.com/edwingeng/deque)
2023-08-02 07:21:08 +08:00
- [memlog](https://github.com/embano1/memlog) **star:98** 受Apache Kafka启发一个易于使用、轻量级、线程安全、只追加内存数据结构。 [![godoc][D]](https://godoc.org/github.com/embano1/memlog)
2022-04-08 20:10:43 +08:00
### 集
2023-08-04 07:26:48 +08:00
- [golang-set](https://github.com/deckarep/golang-set) **star:3390** 线程安全和非线程安全的高性能集。 [![近一周有更新][G]](https://github.com/deckarep/golang-set) [![godoc][D]](https://godoc.org/github.com/deckarep/golang-set)
2023-04-15 10:58:14 +08:00
- [goset](https://github.com/zoumo/goset) **star:51** 一个有用的Go集合实现。 [![godoc][D]](https://godoc.org/github.com/zoumo/goset)
2023-05-24 07:25:19 +08:00
- [set](https://github.com/StudioSol/set) **star:23** 使用LinkedHashMap在Go中实现简单的set数据结构。 [![godoc][D]](https://godoc.org/github.com/StudioSol/set)
2023-02-06 07:25:49 +08:00
- [dsu](https://github.com/ihebu/dsu) **star:11** 在Go中实现离散集数据结构。 [![godoc][D]](https://godoc.org/github.com/ihebu/dsu)
2022-04-08 20:10:43 +08:00
### 文本分析
2023-08-04 07:26:48 +08:00
- [bleve](https://github.com/blevesearch/bleve) **star:9180** 基于 Go 的现代文本索引库。 [![近一周有更新][G]](https://github.com/blevesearch/bleve) [![godoc][D]](https://godoc.org/github.com/blevesearch/bleve)
2023-08-02 07:21:08 +08:00
- [trie](https://github.com/derekparker/trie) **star:655** 在Go中实现Trie。 [![godoc][D]](https://godoc.org/github.com/derekparker/trie)
- [go-edlib](https://github.com/hbollon/go-edlib) **star:396** Go字符串比较和编辑距离算法库(Levenshtein, LCS, Hamming, Damerau Levenshtein, Jaro-Winkler等)兼容Unicode。 [![godoc][D]](https://godoc.org/github.com/hbollon/go-edlib)
2023-08-04 07:26:48 +08:00
- [levenshtein](https://github.com/agnivade/levenshtein) **star:295** 实现在Go中计算levenshtein距离。 [![godoc][D]](https://godoc.org/github.com/agnivade/levenshtein)
2023-08-02 07:21:08 +08:00
- [go-adaptive-radix-tree](https://github.com/plar/go-adaptive-radix-tree) **star:292** 自适应基数树。 [![godoc][D]](https://godoc.org/github.com/plar/go-adaptive-radix-tree)
2023-07-07 07:24:47 +08:00
- [levenshtein](https://github.com/agext/levenshtein) **star:77** Levenshtein distance and similarity metrics with customizable edit costs and Winkler-like bonus for common prefix. [![godoc][D]](https://godoc.org/github.com/agext/levenshtein)
2023-06-29 07:26:27 +08:00
- [ptrie](https://github.com/viant/ptrie) **star:33** 前缀树的一种实现。 [![godoc][D]](https://godoc.org/github.com/viant/ptrie)
- [mspm](https://github.com/BlackRabbitt/mspm) **star:24** 用于信息检索的多字符串模式匹配算法。 [![近三年未更新][Y]](https://github.com/BlackRabbitt/mspm) [![godoc][D]](https://godoc.org/github.com/BlackRabbitt/mspm)
2023-02-20 07:27:34 +08:00
- [parsefields](https://github.com/MonaxGT/parsefields) **star:7** 用于解析类似json的日志的工具用于收集惟一的字段和事件。 [![近三年未更新][Y]](https://github.com/MonaxGT/parsefields) [![godoc][D]](https://godoc.org/github.com/MonaxGT/parsefields)
2022-04-08 20:10:43 +08:00
### 树
- [hashsplit](http://github.com/bobg/hashsplit) 将字节流分割成块,并将块排列成树,边界由内容而不是位置决定。
2023-07-07 07:24:47 +08:00
- [skiplist](https://github.com/MauriceGit/skiplist) **star:253** 高性能的 Go 跳表实现。 [![godoc][D]](https://godoc.org/github.com/MauriceGit/skiplist)
2023-04-15 10:58:14 +08:00
- [skiplist](https://github.com/gansidui/skiplist) **star:82** 在Go中实现了跳表。 [![近三年未更新][Y]](https://github.com/gansidui/skiplist) [![godoc][D]](https://godoc.org/github.com/gansidui/skiplist)
2023-08-02 07:21:08 +08:00
- [treemap](https://github.com/igrmk/treemap) **star:46** 在底层使用红黑树的通用键排序地图。 [![godoc][D]](https://godoc.org/github.com/igrmk/treemap)
2023-06-26 07:28:04 +08:00
- [treap](https://github.com/perdata/treap) **star:22** 使用树堆进行持久、快速有序的映射。 [![近三年未更新][Y]](https://github.com/perdata/treap) [![godoc][D]](https://godoc.org/github.com/perdata/treap)
2023-05-04 07:21:08 +08:00
- [merkle](https://github.com/bobg/merkle) **star:10** 默克尔根哈希的空间高效计算和包含证明。 [![godoc][D]](https://godoc.org/github.com/bobg/merkle)
2022-04-08 20:10:43 +08:00
### 管道
2023-07-17 07:22:48 +08:00
- [pipeline](https://github.com/hyfather/pipeline) **star:50** 实现了 fan-in 和 fan-out 的管道功能。 [![godoc][D]](https://godoc.org/github.com/hyfather/pipeline)
2023-08-02 07:21:08 +08:00
- [ordered-concurrently](https://github.com/tejzpr/ordered-concurrently) **star:23** Go模块处理并发工作并在通道中返回输入顺序的输出。 [![godoc][D]](https://godoc.org/github.com/tejzpr/ordered-concurrently)
2023-04-15 10:58:14 +08:00
- [parapipe](https://github.com/nazar256/parapipe) **star:23** FIFO管道并行执行在每个阶段同时保持消息和结果的顺序。 [![godoc][D]](https://godoc.org/github.com/nazar256/parapipe)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 数据库
2022-04-08 20:10:43 +08:00
### 缓存
_具有过期记录的数据存储、内存中的分布式数据存储或基于文件的数据库的内存子集。 (翻译出错了? 试试 [英文版](README_EN.md#caches) 吧~)_
2022-06-24 07:32:58 +08:00
2023-08-04 07:26:48 +08:00
- [groupcache](https://github.com/golang/groupcache) **star:12229** Groupcache是一个缓存和缓存填充库在许多情况下它是memcached的替代品。 [![godoc][D]](https://godoc.org/github.com/golang/groupcache)
- [BigCache](https://github.com/allegro/bigcache) **star:6686** 高效的键/值缓存为千兆字节的数据。 [![godoc][D]](https://godoc.org/github.com/allegro/bigcache)
- [GCache](https://github.com/bluele/gcache) **star:2400** 支持过期缓存、LFU、LRU和ARC的缓存库。 [![godoc][D]](https://godoc.org/github.com/bluele/gcache)
- [cache2go](https://github.com/muesli/cache2go) **star:2000** 基于内存的 K/V 缓存,支持超时的自动失效。 [![godoc][D]](https://godoc.org/github.com/muesli/cache2go)
- [gocache](https://github.com/eko/gocache) **star:1885** A complete Go cache library with multiple stores (memory, memcache, redis, ...), chainable, loadable, metrics cache and more. [![godoc][D]](https://godoc.org/github.com/eko/gocache)
- [fastcache](https://github.com/VictoriaMetrics/fastcache) **star:1807** 基于内存的快速线程安全的缓存可缓存大量的条目。最大限度地减少GC开销。 [![godoc][D]](https://godoc.org/github.com/VictoriaMetrics/fastcache)
2023-08-02 07:21:08 +08:00
- [ttlcache](https://github.com/jellydator/ttlcache) **star:684** 具有项目过期和泛型的内存缓存。 [![近一周有更新][G]](https://github.com/jellydator/ttlcache) [![godoc][D]](https://godoc.org/github.com/jellydator/ttlcache)
2023-07-17 07:22:48 +08:00
- [cachego](https://github.com/faabiosr/cachego) **star:283** 基于多个驱动程序的缓存组件。 [![godoc][D]](https://godoc.org/github.com/faabiosr/cachego)
2023-08-02 07:21:08 +08:00
- [cache](https://github.com/akyoto/cache) **star:140** 基于内存的 K/V 存储:带生命周期的值存储0个依赖项<100 LoC, 100%覆盖率 [![godoc][D]](https://godoc.org/github.com/akyoto/cache)
- [remember-go](https://github.com/rocketlaunchr/remember-go) **star:133** 用于缓存慢速数据库查询的通用接口(支持redis、memcached、ristretto或in-memory)。 [![godoc][D]](https://godoc.org/github.com/rocketlaunchr/remember-go)
2023-07-17 07:22:48 +08:00
- [bcache](https://github.com/iwanbk/bcache) **star:124** Eventually consistent distributed in-memory cache Go library. [![godoc][D]](https://godoc.org/github.com/iwanbk/bcache)
2023-08-02 07:21:08 +08:00
- [go-cache](https://github.com/viney-shih/go-cache) **star:110** A flexible multi-layer Go caching library to deal with in-memory and shared cache by adopting Cache-Aside pattern. [![godoc][D]](https://godoc.org/github.com/viney-shih/go-cache)
2023-07-27 07:20:38 +08:00
- [theine](https://github.com/Yiling-J/theine-go) **star:104** High performance, near optimal in-memory cache with proactive TTL expiration and generics. [![godoc][D]](https://godoc.org/github.com/Yiling-J/theine-go)
2023-04-23 07:26:25 +08:00
- [go-mcache](https://github.com/OrlovEvgeny/go-mcache) **star:87** 基于内存的实现了高性能的key:value存储库。指针缓存。 [![近三年未更新][Y]](https://github.com/OrlovEvgeny/go-mcache) [![godoc][D]](https://godoc.org/github.com/OrlovEvgeny/go-mcache)
2023-08-04 07:26:48 +08:00
- [imcache](https://github.com/erni27/imcache) **star:87** A generic in-memory cache Go library. It supports expiration, sliding expiration, max entries limit, eviction callbacks and sharding. [![近一周有更新][G]](https://github.com/erni27/imcache) [![godoc][D]](https://godoc.org/github.com/erni27/imcache)
2023-07-27 07:20:38 +08:00
- [timedmap](https://github.com/zekroTJA/timedmap) **star:63** 实现了有生命周期的键值对Map。 [![godoc][D]](https://godoc.org/github.com/zekroTJA/timedmap)
2023-06-19 07:27:31 +08:00
- [couchcache](https://github.com/codingsince1985/couchcache) **star:60** 由 Couchbase服务 支持的RESTful缓存微服务。 [![godoc][D]](https://godoc.org/github.com/codingsince1985/couchcache)
2023-04-15 10:58:14 +08:00
- [clusteredBigCache](https://github.com/oaStuff/clusteredBigCache) **star:43** BigCache 支持集群和独立且生命周期存储项。 [![近三年未更新][Y]](https://github.com/oaStuff/clusteredBigCache) [![godoc][D]](https://godoc.org/github.com/oaStuff/clusteredBigCache)
2023-06-19 07:27:31 +08:00
- [2q](https://github.com/floatdrop/2q) **star:27** 2Q内存缓存实现。 [![godoc][D]](https://godoc.org/github.com/floatdrop/2q)
2023-05-16 07:23:55 +08:00
- [gdcache](https://github.com/ulovecode/gdcache) **star:10** 一个由golang实现的纯非侵入式缓存库您可以使用它来实现您自己的分布式缓存。 [![godoc][D]](https://godoc.org/github.com/ulovecode/gdcache) [![包含中文文档][CN]](https://github.com/ulovecode/gdcache)
2023-04-15 10:58:14 +08:00
- [ttlcache](https://github.com/cheshir/ttlcache) **star:9** 内存键值存储与TTL为每个记录。 [![godoc][D]](https://godoc.org/github.com/cheshir/ttlcache)
2023-07-17 07:22:48 +08:00
- [nscache](https://github.com/no-src/nscache) **star:4** A Go caching framework that supports multiple data source drivers. [![godoc][D]](https://godoc.org/github.com/no-src/nscache)
2023-07-27 07:20:38 +08:00
- [gocache](https://github.com/yuseferi/gocache) **star:3** A data race free Go ache library with high performance and auto pruge functionality [![godoc][D]](https://godoc.org/github.com/yuseferi/gocache)
2022-04-08 20:10:43 +08:00
### Go中实现的数据库
2023-08-04 07:26:48 +08:00
- [prometheus](https://github.com/prometheus/prometheus) **star:49317** 用于监控系统和时序的数据库。 [![近一周有更新][G]](https://github.com/prometheus/prometheus) [![godoc][D]](https://godoc.org/github.com/prometheus/prometheus)
- [tidb](https://github.com/pingcap/tidb) **star:34524** TiDB是一个分布式SQL数据库。灵感来自谷歌F1的设计。 [![近一周有更新][G]](https://github.com/pingcap/tidb) [![godoc][D]](https://godoc.org/github.com/pingcap/tidb) [![包含中文文档][CN]](https://github.com/pingcap/tidb)
- [cockroach](https://github.com/cockroachdb/cockroach) **star:27534** 可伸缩、区域备份、事务性数据存储。 [![近一周有更新][G]](https://github.com/cockroachdb/cockroach) [![godoc][D]](https://godoc.org/github.com/cockroachdb/cockroach)
- [influxdb](https://github.com/influxdb/influxdb) **star:25897** 可伸缩的数据存储,用于指标衡量、事件和实时分析。 [![近一周有更新][G]](https://github.com/influxdb/influxdb) [![godoc][D]](https://godoc.org/github.com/influxdb/influxdb)
- [Milvus](https://github.com/milvus-io/milvus) **star:21855** Milvus是一个矢量数据库用于嵌入管理、分析和搜索。 [![近一周有更新][G]](https://github.com/milvus-io/milvus) [![godoc][D]](https://godoc.org/github.com/milvus-io/milvus)
- [dgraph](https://github.com/dgraph-io/dgraph) **star:19495** 可伸缩、分布式、低延迟、高吞吐量的图形数据库。 [![近一周有更新][G]](https://github.com/dgraph-io/dgraph) [![godoc][D]](https://godoc.org/github.com/dgraph-io/dgraph)
- [dolt](https://github.com/dolthub/dolt) **star:15356** Dolt It's Git for Data. [![近一周有更新][G]](https://github.com/dolthub/dolt) [![godoc][D]](https://godoc.org/github.com/dolthub/dolt)
- [rqlite](https://github.com/rqlite/rqlite) **star:13894** 基于SQLite的轻量级分布式关系数据库。 [![近一周有更新][G]](https://github.com/rqlite/rqlite) [![godoc][D]](https://godoc.org/github.com/rqlite/rqlite)
- [badger](https://github.com/dgraph-io/badger) **star:12530** 快速 K/V 存储。 [![近一周有更新][G]](https://github.com/dgraph-io/badger) [![godoc][D]](https://godoc.org/github.com/dgraph-io/badger)
- [VictoriaMetrics](https://github.com/VictoriaMetrics/VictoriaMetrics) **star:9002** 开源快速可伸缩的时间序列数据库。支持PromQL。 [![近一周有更新][G]](https://github.com/VictoriaMetrics/VictoriaMetrics) [![godoc][D]](https://godoc.org/github.com/VictoriaMetrics/VictoriaMetrics)
2023-08-02 07:21:08 +08:00
- [immudb](https://github.com/codenotary/immudb) **star:8313** immudb是一个轻量级、高速、不可变的数据库用于用Go编写的系统和应用程序。 [![近一周有更新][G]](https://github.com/codenotary/immudb) [![godoc][D]](https://godoc.org/github.com/codenotary/immudb)
2023-08-04 07:26:48 +08:00
- [bbolt](https://github.com/etcd-io/bbolt) **star:6761** 一个用于Go的嵌入式键/值数据库。 [![近一周有更新][G]](https://github.com/etcd-io/bbolt) [![godoc][D]](https://godoc.org/github.com/etcd-io/bbolt)
2022-03-22 12:36:07 +08:00
- [Bitcask](https://git.mills.io/prologic/bitcask) Bitcask是一个可嵌入的、持久的、快速的键值(KV)数据库使用纯Go编写具有可预测的读写性能、低延迟和高吞吐量这得益于Bitcask的磁盘布局(LSM+WAL)。
2023-08-04 07:26:48 +08:00
- [goleveldb](https://github.com/syndtr/goleveldb) **star:5794** 在Go中实现[LevelDB](https://github.com/google/leveldb) key/value数据库。 [![近一周有更新][G]](https://github.com/syndtr/goleveldb) [![godoc][D]](https://godoc.org/github.com/syndtr/goleveldb)
- [buntdb](https://github.com/tidwall/buntdb) **star:4165** 基于内存的K/V快速可嵌入的数据库可自定义索引和空间支持。 [![godoc][D]](https://godoc.org/github.com/tidwall/buntdb)
2023-08-02 07:21:08 +08:00
- [ledisdb](https://github.com/siddontang/ledisdb) **star:3985** Ledisdb是一种高性能的NoSQL类似于基于LevelDB的Redis。 [![godoc][D]](https://godoc.org/github.com/siddontang/ledisdb)
2023-08-04 07:26:48 +08:00
- [rosedb](https://github.com/roseduan/rosedb) **star:3897** 基于LSM+WAL的嵌入式k-v数据库支持string、list、hash、set、zset。 [![近一周有更新][G]](https://github.com/roseduan/rosedb) [![godoc][D]](https://godoc.org/github.com/roseduan/rosedb) [![包含中文文档][CN]](https://github.com/roseduan/rosedb)
- [nutsdb](https://github.com/xujiajun/nutsdb) **star:2948** 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. [![近一周有更新][G]](https://github.com/xujiajun/nutsdb) [![godoc][D]](https://godoc.org/github.com/xujiajun/nutsdb) [![包含中文文档][CN]](https://github.com/xujiajun/nutsdb)
- [godis](https://github.com/hdt3213/godis) **star:2941** 一个Golang实现了高性能Redis服务器和集群。 [![近一周有更新][G]](https://github.com/hdt3213/godis) [![godoc][D]](https://godoc.org/github.com/hdt3213/godis) [![包含中文文档][CN]](https://github.com/hdt3213/godis)
- [tiedot](https://github.com/HouzuoGuo/tiedot) **star:2715** 属于你的NoSQL数据库。 [![godoc][D]](https://godoc.org/github.com/HouzuoGuo/tiedot)
2023-08-02 07:21:08 +08:00
- [CovenantSQL](https://github.com/CovenantSQL/CovenantSQL) **star:1443** 区块链领域的一个SQL数据库。 [![godoc][D]](https://godoc.org/github.com/CovenantSQL/CovenantSQL)
- [diskv](https://github.com/peterbourgon/diskv) **star:1293** 支持磁盘备份的可持久化 K/V 存储。 [![godoc][D]](https://godoc.org/github.com/peterbourgon/diskv)
2023-08-04 07:26:48 +08:00
- [column](https://github.com/kelindar/column) **star:1273** 高性能、柱状、可嵌入的内存存储,具有位图索引和事务。 [![godoc][D]](https://godoc.org/github.com/kelindar/column)
- [lotusdb](https://github.com/flower-corp/lotusdb) **star:1198** 快速k/v数据库兼容lsm和b+树。 [![近一周有更新][G]](https://github.com/flower-corp/lotusdb) [![godoc][D]](https://godoc.org/github.com/flower-corp/lotusdb)
2023-08-02 07:21:08 +08:00
- [Databunker](https://github.com/paranoidguy/databunker) **star:1104** 个人身份信息(PII)存储服务符合GDPR和CCPA。 [![godoc][D]](https://godoc.org/github.com/paranoidguy/databunker)
2023-08-04 07:26:48 +08:00
- [pogreb](https://github.com/akrylysov/pogreb) **star:1074** 针对大量读取工作负载的嵌入式键值存储。 [![godoc][D]](https://godoc.org/github.com/akrylysov/pogreb)
2023-07-27 07:20:38 +08:00
- [eliasdb](https://github.com/krotik/eliasdb) **star:971** 无其他依赖项支持REST API短语搜索和sql类似的查询语言的事务图数据库。 [![godoc][D]](https://godoc.org/github.com/krotik/eliasdb)
- [moss](https://github.com/couchbase/moss) **star:928** Moss是一个用100% Go编写的简单LSM键值存储引擎。 [![godoc][D]](https://godoc.org/github.com/couchbase/moss)
2023-08-04 07:26:48 +08:00
- [objectbox-go](https://github.com/objectbox/objectbox-go) **star:892** High-performance embedded Object Database (NoSQL) with Go API. [![godoc][D]](https://godoc.org/github.com/objectbox/objectbox-go)
2023-08-02 07:21:08 +08:00
- [clover](https://github.com/ostafen/clover) **star:441** 一个轻量级的面向文档的NoSQL数据库编写纯Golang。 [![近一周有更新][G]](https://github.com/ostafen/clover) [![godoc][D]](https://godoc.org/github.com/ostafen/clover)
2023-06-29 07:26:27 +08:00
- [levigo](https://github.com/jmhodges/levigo) **star:417** 实现了对LevelDB封装。 [![godoc][D]](https://godoc.org/github.com/jmhodges/levigo)
2023-07-03 07:26:28 +08:00
- [pudge](https://github.com/recoilme/pudge) **star:343** 使用Go的标准库编写的快捷、简单的键/值存储。 [![godoc][D]](https://godoc.org/github.com/recoilme/pudge)
2023-08-02 07:21:08 +08:00
- [Vasto](https://github.com/chrislusf/vasto) **star:249** 分布式高性能键值存储。可做磁盘备份。最终一致。高可用。能够在不中断服务的情况下增长或收缩。 [![近三年未更新][Y]](https://github.com/chrislusf/vasto) [![godoc][D]](https://godoc.org/github.com/chrislusf/vasto)
2023-07-20 07:26:36 +08:00
- [dtf](https://github.com/dtm-labs/dtf) **star:217** 分布式事务管理器。支持XA, TCC, SAGA可靠消息。 [![godoc][D]](https://godoc.org/github.com/dtm-labs/dtf) [![包含中文文档][CN]](https://github.com/dtm-labs/dtf) [![归档项目][Archived]](https://github.com/dtm-labs/dtf)
2023-08-04 07:26:48 +08:00
- [piladb](https://github.com/fern4lvarez/piladb) **star:201** 基于堆栈数据结构的轻量级RESTful数据库引擎。 [![godoc][D]](https://godoc.org/github.com/fern4lvarez/piladb)
2023-07-12 07:22:59 +08:00
- [unitdb](https://github.com/unit-io/unitdb) **star:108** Fast timeseries database for IoT, realtime messaging applications. Access unitdb with pubsub over tcp or websocket using github.com/unit-io/unitd application. [![godoc][D]](https://godoc.org/github.com/unit-io/unitdb)
2023-08-02 07:21:08 +08:00
- [libradb](https://github.com/amit-davidson/LibraDB) **star:101** LibraDB is a simple database with less then 1000 lines of code for learning. [![godoc][D]](https://godoc.org/github.com/amit-davidson/LibraDB)
2023-07-20 07:26:36 +08:00
- [hare](https://github.com/jameycribbs/hare) **star:78** 一个简单的数据库管理系统将每个表存储为一行分隔的JSON文本文件。 [![godoc][D]](https://godoc.org/github.com/jameycribbs/hare)
- [regatta](https://github.com/jamf/regatta) **star:55** Fast, simple, geo-distributed KV store built for cloud native era. [![近一周有更新][G]](https://github.com/jamf/regatta) [![godoc][D]](https://godoc.org/github.com/jamf/regatta)
- [Coffer](https://github.com/claygod/coffer) **star:34** 支持事务的简单ACID键值数据库。 [![godoc][D]](https://godoc.org/github.com/claygod/coffer)
2022-10-05 07:28:40 +08:00
- [tempdb](https://github.com/rafaeljesus/tempdb) **star:17** 用于临时数据存放的 K/V 存储。 [![近三年未更新][Y]](https://github.com/rafaeljesus/tempdb) [![godoc][D]](https://godoc.org/github.com/rafaeljesus/tempdb)
2022-03-22 12:36:07 +08:00
2022-04-08 20:10:43 +08:00
### 数据库模式迁移
2022-03-22 12:36:07 +08:00
2023-08-04 07:26:48 +08:00
- [migrate](https://github.com/golang-migrate/migrate) **star:11951** 基于CLI的数据库迁移库。 [![近一周有更新][G]](https://github.com/golang-migrate/migrate) [![godoc][D]](https://godoc.org/github.com/golang-migrate/migrate)
- [bytebase](https://github.com/bytebase/bytebase) **star:6362** Safe database schema change and version control for DevOps teams. [![近一周有更新][G]](https://github.com/bytebase/bytebase) [![godoc][D]](https://godoc.org/github.com/bytebase/bytebase)
- [goose](https://github.com/pressly/goose) **star:4194** 数据库迁移工具。您可以通过创建增量SQL或Go脚本来管理数据库的升级。 [![近一周有更新][G]](https://github.com/pressly/goose) [![godoc][D]](https://godoc.org/github.com/pressly/goose)
- [dbmate](https://github.com/amacneil/dbmate) **star:3616** A lightweight, framework-agnostic database migration tool. [![近一周有更新][G]](https://github.com/amacneil/dbmate) [![godoc][D]](https://godoc.org/github.com/amacneil/dbmate)
- [atlas](https://github.com/ariga/atlas) **star:3383** 一个数据库工具箱。旨在帮助企业更好地处理数据的CLI。 [![近一周有更新][G]](https://github.com/ariga/atlas) [![godoc][D]](https://godoc.org/github.com/ariga/atlas)
- [sql-migrate](https://github.com/rubenv/sql-migrate) **star:2900** 数据库迁移工具。允许使用go-bindata将迁移嵌入到应用程序中。 [![godoc][D]](https://godoc.org/github.com/rubenv/sql-migrate)
- [skeema](https://github.com/skeema/skeema) **star:1161** 用于MySQL的纯sql模式管理系统支持分片和外部在线模式更改工具。 [![近一周有更新][G]](https://github.com/skeema/skeema) [![godoc][D]](https://godoc.org/github.com/skeema/skeema)
2022-03-22 12:36:07 +08:00
- [soda](https://github.com/gobuffalo/pop/tree/master/soda) 数据库迁移、创建、ORM等。用于MySQL、PostgreSQL和SQLite。
2023-08-02 07:21:08 +08:00
- [gormigrate](https://github.com/go-gormigrate/gormigrate) **star:919** 面向Gorm ORM的数据库 schema 迁移辅助程序。 [![godoc][D]](https://godoc.org/github.com/go-gormigrate/gormigrate)
- [goavro](https://github.com/linkedin/goavro) **star:901** 一个对Avro数据进行编码和解码的Go包。 [![godoc][D]](https://godoc.org/github.com/linkedin/goavro)
2023-07-17 07:22:48 +08:00
- [migrator](https://github.com/lopezator/migrator) **star:154** 非常简单的 Go 数据库迁移库。 [![godoc][D]](https://godoc.org/github.com/lopezator/migrator)
2023-06-26 07:28:04 +08:00
- [darwin](https://github.com/GuiaBolso/darwin) **star:135** 用于数据库 schema 升级的库。 [![godoc][D]](https://godoc.org/github.com/GuiaBolso/darwin)
2023-05-31 07:26:28 +08:00
- [go-pg-migrations](https://github.com/robinjoseph08/go-pg-migrations) **star:83** 用Go -pg/pg编写的迁移包。 [![godoc][D]](https://godoc.org/github.com/robinjoseph08/go-pg-migrations)
2023-08-02 07:21:08 +08:00
- [sqlize](https://github.com/sunary/sqlize) **star:64** 数据库迁移生成器。允许生成sql迁移从模型和现有的sql不同。 [![godoc][D]](https://godoc.org/github.com/sunary/sqlize)
2023-06-29 07:26:27 +08:00
- [avro](https://github.com/khezen/avro) **star:43** 发现SQL schemas并将其转换为AVRO schemas。 [![godoc][D]](https://godoc.org/github.com/khezen/avro)
2022-12-13 07:24:13 +08:00
- [go-fixtures](https://github.com/RichardKnop/go-fixtures) **star:29** 类似 Django fixture用于 Go 建立内置数据库/sql库。 [![近三年未更新][Y]](https://github.com/RichardKnop/go-fixtures) [![godoc][D]](https://godoc.org/github.com/RichardKnop/go-fixtures)
2023-07-27 07:20:38 +08:00
- [schema](https://github.com/adlio/schema) **star:29** 库,用于将数据库/sql兼容数据库的模式迁移嵌入到Go二进制文件中。 [![godoc][D]](https://godoc.org/github.com/adlio/schema)
2023-05-31 07:26:28 +08:00
- [migrator](https://github.com/larapulse/migrator) **star:24** MySQL数据库迁移器设计用于运行到您的特性的迁移并管理数据库模式更新与直观的go代码。 [![godoc][D]](https://godoc.org/github.com/larapulse/migrator)
2023-07-20 07:26:36 +08:00
- [libschema](https://github.com/muir/libschema) **star:13** Define your migrations separately in each library. Migrations for open source libraries. MySQL & PostgreSQL. [![近一周有更新][G]](https://github.com/muir/libschema) [![godoc][D]](https://godoc.org/github.com/muir/libschema)
- [go-pg-migrate](https://github.com/lawzava/go-pg-migrate) **star:11** 用于go-pg迁移管理的cli友好包。 [![godoc][D]](https://godoc.org/github.com/lawzava/go-pg-migrate)
2023-08-02 07:21:08 +08:00
- [gorm-seeder](https://github.com/Kachit/gorm-seeder) **star:9** Simple database seeder for Gorm ORM. [![godoc][D]](https://godoc.org/github.com/Kachit/gorm-seeder)
2023-07-27 07:20:38 +08:00
- [godfish](https://github.com/rafaelespinoza/godfish) **star:5** 数据库迁移管理器使用本地查询语言。支持cassandra, mysql, postgres, sqlite3。 [![godoc][D]](https://godoc.org/github.com/rafaelespinoza/godfish)
2022-03-22 12:36:07 +08:00
2022-04-08 20:10:43 +08:00
### 数据库工具
2023-08-04 07:26:48 +08:00
- [vitess](https://github.com/youtube/vitess) **star:16588** vitess提供了可以为大规模web服务扩展MySQL数据库提供便利的服务和工具。 [![近一周有更新][G]](https://github.com/youtube/vitess) [![godoc][D]](https://godoc.org/github.com/youtube/vitess)
- [pgweb](https://github.com/sosedoff/pgweb) **star:7983** 基于web的PostgreSQL数据库浏览器。 [![godoc][D]](https://godoc.org/github.com/sosedoff/pgweb)
- [kingshard](https://github.com/flike/kingshard) **star:6227** kingshard 是基于 Golang 的MySQL高性能代理。 [![godoc][D]](https://godoc.org/github.com/flike/kingshard) [![包含中文文档][CN]](https://github.com/flike/kingshard)
- [orchestrator](https://github.com/github/orchestrator) **star:5103** MySQL复制拓扑管理器和可视化工具。 [![godoc][D]](https://godoc.org/github.com/github/orchestrator)
- [go-mysql](https://github.com/siddontang/go-mysql) **star:4159** Go 工具集用于处理MySQL协议和复制。 [![godoc][D]](https://godoc.org/github.com/siddontang/go-mysql)
- [go-mysql-elasticsearch](https://github.com/siddontang/go-mysql-elasticsearch) **star:3986** 自动将MySQL数据同步到Elasticsearch中。 [![godoc][D]](https://godoc.org/github.com/siddontang/go-mysql-elasticsearch)
2022-07-05 07:32:40 +08:00
- [hasql](https://golang.yandex/hasql) 用于访问多主机SQL数据库安装的库。
2023-08-04 07:26:48 +08:00
- [pREST](https://github.com/prest/prest) **star:3862** 简化和加速开发,⚡即时、实时、高性能在任何Postgres应用,现有的或新的。 [![godoc][D]](https://godoc.org/github.com/prest/prest)
- [chproxy](https://github.com/Vertamedia/chproxy) **star:1126** ClickHouse数据库的HTTP代理。 [![近一周有更新][G]](https://github.com/Vertamedia/chproxy) [![godoc][D]](https://godoc.org/github.com/Vertamedia/chproxy)
2023-08-02 07:21:08 +08:00
- [pg_timetable](https://github.com/cybertec-postgresql/pg_timetable) **star:895** 高级调度为PostgreSQL。 [![godoc][D]](https://godoc.org/github.com/cybertec-postgresql/pg_timetable)
- [clickhouse-bulk](https://github.com/nikepan/clickhouse-bulk) **star:426** 收集小的插入并向ClickHouse服务器发送大的请求。 [![godoc][D]](https://godoc.org/github.com/nikepan/clickhouse-bulk)
2023-08-04 07:26:48 +08:00
- [rdb](https://github.com/HDT3213/rdb) **star:271** Redis RDB文件解析器用于二次开发和内存分析。 [![近一周有更新][G]](https://github.com/HDT3213/rdb) [![godoc][D]](https://godoc.org/github.com/HDT3213/rdb)
2023-04-15 10:58:14 +08:00
- [octillery](https://github.com/knocknote/octillery) **star:183** 用于数据库分表(支持每个ORM或原生SQL)。 [![godoc][D]](https://godoc.org/github.com/knocknote/octillery)
2023-08-04 07:26:48 +08:00
- [dbbench](https://github.com/sj14/dbbench) **star:88** 数据库基准测试工具,支持多个数据库和脚本。 [![godoc][D]](https://godoc.org/github.com/sj14/dbbench)
2023-06-19 07:27:31 +08:00
- [datagen](https://github.com/codingconcepts/datagen) **star:56** 一个快速的数据生成器支持多表感知和多行DML。 [![godoc][D]](https://godoc.org/github.com/codingconcepts/datagen) [![归档项目][Archived]](https://github.com/codingconcepts/datagen)
2022-12-13 07:24:13 +08:00
- [prep](https://github.com/hexdigest/prep) **star:33** 在不更改代码的情况下使用准备好的SQL语句。 [![近三年未更新][Y]](https://github.com/hexdigest/prep) [![godoc][D]](https://godoc.org/github.com/hexdigest/prep)
2023-07-17 07:22:48 +08:00
- [onedump](https://github.com/liweiyi88/onedump) **star:20** Database backup from different drivers to different destinations with one command and configuration. [![近一周有更新][G]](https://github.com/liweiyi88/onedump) [![godoc][D]](https://godoc.org/github.com/liweiyi88/onedump)
2023-05-04 07:21:08 +08:00
- [rwdb](https://github.com/andizzle/rwdb) **star:18** rwdb为多个数据库服务器的设置提供读取副本功能。 [![近三年未更新][Y]](https://github.com/andizzle/rwdb) [![godoc][D]](https://godoc.org/github.com/andizzle/rwdb)
2023-08-02 07:21:08 +08:00
- [dynago](https://github.com/twharmon/dynago) **star:8** Simplify working with AWS DynamoDB. [![godoc][D]](https://godoc.org/github.com/twharmon/dynago)
2022-03-22 12:36:07 +08:00
2022-04-08 20:10:43 +08:00
### SQL查询生成器
2022-12-30 07:23:10 +08:00
2022-04-08 20:10:43 +08:00
_用于构建和使用SQL的库。 (翻译出错了? 试试 [英文版](README_EN.md#sql-query-builders) 吧~)_
2022-03-22 12:36:07 +08:00
2023-08-04 07:26:48 +08:00
- [sqlc](https://github.com/kyleconroy/sqlc) **star:8694** 从SQL生成类型安全的代码。 [![近一周有更新][G]](https://github.com/kyleconroy/sqlc) [![godoc][D]](https://godoc.org/github.com/kyleconroy/sqlc)
- [Squirrel](https://github.com/Masterminds/squirrel) **star:5931** 帮助您构建SQL查询的Go库。 [![godoc][D]](https://godoc.org/github.com/Masterminds/squirrel)
- [xo](https://github.com/knq/xo) **star:3403** 基于现有的schema定义和自定义查询生成 Go 代码基于支持PostgreSQL、MySQL、SQLite、Oracle和Microsoft SQL Server。 [![近一周有更新][G]](https://github.com/knq/xo) [![godoc][D]](https://godoc.org/github.com/knq/xo)
2023-08-02 07:21:08 +08:00
- [goqu](https://github.com/doug-martin/goqu) **star:1939** 常用的SQL生成器和查询库。 [![近一周有更新][G]](https://github.com/doug-martin/goqu) [![godoc][D]](https://godoc.org/github.com/doug-martin/goqu)
2023-08-04 07:26:48 +08:00
- [gendry](https://github.com/didi/gendry) **star:1506** 非入侵的SQL构建器和强大的数据绑定器。 [![godoc][D]](https://godoc.org/github.com/didi/gendry) [![包含中文文档][CN]](https://github.com/didi/gendry)
- [jet](https://github.com/go-jet/jet) **star:1370** 用于在Go中编写类型安全的SQL查询的框架能够轻松地将数据库查询结果转换为所需的任意对象结构。 [![近一周有更新][G]](https://github.com/go-jet/jet) [![godoc][D]](https://godoc.org/github.com/go-jet/jet)
2023-08-02 07:21:08 +08:00
- [Dotsql](https://github.com/gchaincl/dotsql) **star:677** Go library帮助您将sql文件保存在一个地方并轻松地使用它们。 [![godoc][D]](https://godoc.org/github.com/gchaincl/dotsql)
2023-07-27 07:20:38 +08:00
- [ozzo-dbx](https://github.com/go-ozzo/ozzo-dbx) **star:606** Powerful data retrieval methods as well as DB-agnostic query building capabilities. [![godoc][D]](https://godoc.org/github.com/go-ozzo/ozzo-dbx)
2023-07-20 07:26:36 +08:00
- [dbq](https://github.com/rocketlaunchr/dbq) **star:387** Zero boilerplate database operations for Go [![godoc][D]](https://godoc.org/github.com/rocketlaunchr/dbq)
2023-08-04 07:26:48 +08:00
- [sqlingo](https://github.com/lqs/sqlingo) **star:326** 在Go中构建SQL的轻量级DSL。 [![近一周有更新][G]](https://github.com/lqs/sqlingo) [![godoc][D]](https://godoc.org/github.com/lqs/sqlingo)
2023-08-02 07:21:08 +08:00
- [sqrl](https://github.com/elgris/sqrl) **star:257** SQL查询生成器从Squirrel fork而来并再此基础上对性能做了优化。 [![godoc][D]](https://godoc.org/github.com/elgris/sqrl)
2022-03-22 12:36:07 +08:00
- [Squalus](https://gitlab.com/qosenergy/squalus) Go SQL中间层能使得执行查询更加容易。
2023-07-03 07:26:28 +08:00
- [sq](https://github.com/bokwoon95/go-structured-query) **star:193** 用于Go的类型安全的SQL生成器和结构映射器。 [![godoc][D]](https://godoc.org/github.com/bokwoon95/go-structured-query)
2023-07-27 07:20:38 +08:00
- [sqlf](https://github.com/leporo/sqlf) **star:124** 快速SQL查询生成器。 [![godoc][D]](https://godoc.org/github.com/leporo/sqlf)
2023-08-02 07:21:08 +08:00
- [buildsqlx](https://github.com/arthurkushman/buildsqlx) **star:119** 去数据库查询生成器库的PostgreSQL。 [![godoc][D]](https://godoc.org/github.com/arthurkushman/buildsqlx)
2023-07-20 07:26:36 +08:00
- [igor](https://github.com/galeone/igor) **star:111** PostgreSQL的抽象层支持高级功能和类似gorm的语法。 [![godoc][D]](https://godoc.org/github.com/galeone/igor)
2023-07-27 07:20:38 +08:00
- [bqb](https://github.com/nullism/bqb) **star:96** 轻量级和易于学习的查询构建器。 [![godoc][D]](https://godoc.org/github.com/nullism/bqb)
2023-08-04 07:26:48 +08:00
- [builq](https://github.com/cristalhq/builq) **star:66** Easily build SQL queries in Go. [![godoc][D]](https://godoc.org/github.com/cristalhq/builq)
2023-04-23 07:26:25 +08:00
- [godbal](https://github.com/xujiajun/godbal) **star:58** 数据库抽象层(dbal)。支持SQL builder轻松获取结果。 [![近三年未更新][Y]](https://github.com/xujiajun/godbal) [![godoc][D]](https://godoc.org/github.com/xujiajun/godbal)
2023-06-19 07:27:31 +08:00
- [gosql](https://github.com/twharmon/gosql) **star:30** 支持更好的空值的SQL查询生成器。 [![godoc][D]](https://godoc.org/github.com/twharmon/gosql)
2023-05-04 07:21:08 +08:00
- [qry](https://github.com/HnH/qry) **star:29** 该工具使用原始SQL查询从文件生成常量。 [![godoc][D]](https://godoc.org/github.com/HnH/qry)
2023-06-29 07:26:27 +08:00
- [ormlite](https://github.com/pupizoid/ormlite) **star:10** 包含一些类似orm的特性和sqlite数据库的辅助程序的轻量级包 [![godoc][D]](https://godoc.org/github.com/pupizoid/ormlite)
2023-07-10 07:28:10 +08:00
- [sg](https://github.com/go-the-way/sg) **star:4** A SQL Gen for generating standard SQLs(supports: CRUD) written in Go. [![godoc][D]](https://godoc.org/github.com/go-the-way/sg)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 数据库驱动程序
2022-04-08 20:10:43 +08:00
### 多个后端接口
2023-08-04 07:26:48 +08:00
- [cayley](https://github.com/google/cayley) **star:14610** 图形数据库,支持多个后端。 [![godoc][D]](https://godoc.org/github.com/google/cayley)
2023-08-02 07:21:08 +08:00
- [gokv](https://github.com/philippgille/gokv) **star:570** 可扩展的简单的 K/V 存储(Redis、Consul、etcd、bbolt、BadgerDB、LevelDB、Memcached、DynamoDB、S3、PostgreSQL、MongoDB、CockroachDB等等)。 [![godoc][D]](https://godoc.org/github.com/philippgille/gokv)
2023-08-04 07:26:48 +08:00
- [go-transaction-manager](https://github.com/avito-tech/go-transaction-manager) **star:62** Transaction manager with multiple adapters (sql, sqlx, gorm, mongo, ...) controls transaction boundaries. [![近一周有更新][G]](https://github.com/avito-tech/go-transaction-manager) [![godoc][D]](https://godoc.org/github.com/avito-tech/go-transaction-manager)
2023-08-02 07:21:08 +08:00
- [dsc](https://github.com/viant/dsc) **star:27** 面向 SQL、NoSQL、结构化文件的数据存储连接。 [![godoc][D]](https://godoc.org/github.com/viant/dsc)
2022-04-08 20:10:43 +08:00
### 关系数据库驱动程序
2023-08-04 07:26:48 +08:00
- [go-sql-driver/mysql](https://github.com/go-sql-driver/mysql) **star:13552** MySQL驱动程序。 [![近一周有更新][G]](https://github.com/go-sql-driver/mysql) [![godoc][D]](https://godoc.org/github.com/go-sql-driver/mysql)
- [pq](https://github.com/lib/pq) **star:8210** 纯 Go 的Postgres驱动。 [![godoc][D]](https://godoc.org/github.com/lib/pq)
- [pgx](https://github.com/jackc/pgx) **star:7509** PostgreSQL驱动支持比现有database/sql更多的特性。 [![近一周有更新][G]](https://github.com/jackc/pgx) [![godoc][D]](https://godoc.org/github.com/jackc/pgx)
- [go-sqlite3](https://github.com/mattn/go-sqlite3) **star:6769** SQLite3驱动程序。
2023-08-02 07:21:08 +08:00
- [go-mssqldb](https://github.com/denisenkom/go-mssqldb) **star:1749** 微软MSSQL驱动程序。 [![godoc][D]](https://godoc.org/github.com/denisenkom/go-mssqldb)
2023-08-04 07:26:48 +08:00
- [sqlhooks](https://github.com/qustavo/sqlhooks) **star:611** 将钩子附加到任何数据库/sql驱动程序。 [![godoc][D]](https://godoc.org/github.com/qustavo/sqlhooks)
2023-07-12 07:22:59 +08:00
- [go-oci8](https://github.com/mattn/go-oci8) **star:607** Oracle 驱动程序。 [![godoc][D]](https://godoc.org/github.com/mattn/go-oci8)
2023-08-02 07:21:08 +08:00
- [godror](https://github.com/godror/godror) **star:450** 基于 ODPI-C 的 Oracle 驱动程序
2023-08-04 07:26:48 +08:00
- [KSQL](https://github.com/VinGarcia/ksql) **star:233** A Simple and Powerful Golang SQL Library [![godoc][D]](https://godoc.org/github.com/VinGarcia/ksql)
2023-07-27 07:20:38 +08:00
- [firebirdsql](https://github.com/nakagami/firebirdsql) **star:201** Firebird RDBMS SQL驱动程序。 [![godoc][D]](https://godoc.org/github.com/nakagami/firebirdsql)
2023-08-04 07:26:48 +08:00
- [surrealdb.go](https://github.com/surrealdb/surrealdb.go) **star:175** SurrealDB Driver for Go. [![近一周有更新][G]](https://github.com/surrealdb/surrealdb.go) [![godoc][D]](https://godoc.org/github.com/surrealdb/surrealdb.go)
2023-07-17 07:22:48 +08:00
- [Sqinn-Go](https://github.com/cvilsmeier/sqinn-go) **star:139** SQLite with pure Go. [![godoc][D]](https://godoc.org/github.com/cvilsmeier/sqinn-go)
2023-07-20 07:26:36 +08:00
- [go-adodb](https://github.com/mattn/go-adodb) **star:133** Microsoft ActiveX对象数据库驱动程序。 [![godoc][D]](https://godoc.org/github.com/mattn/go-adodb)
2023-07-27 07:20:38 +08:00
- [avatica](https://github.com/apache/calcite-avatica-go) **star:109** Apache Avatica/Phoenix SQL驱动程序。 [![godoc][D]](https://godoc.org/github.com/apache/calcite-avatica-go)
2023-05-31 07:26:28 +08:00
- [gofreetds](https://github.com/minus5/gofreetds) **star:109** 微软该司机。去包装[FreeTDS](https://www.freetds.org)。 [![godoc][D]](https://godoc.org/github.com/minus5/gofreetds)
2023-08-04 07:26:48 +08:00
- [ydb-go-sdk](https://github.com/ydb-platform/ydb-go-sdk) **star:99** native and database/sql driver YDB (Yandex Database) [![近一周有更新][G]](https://github.com/ydb-platform/ydb-go-sdk) [![godoc][D]](https://godoc.org/github.com/ydb-platform/ydb-go-sdk)
2023-04-24 07:24:18 +08:00
- [bgc](https://github.com/viant/bgc) **star:20** BigQuery 的数据存储连接。 [![近三年未更新][Y]](https://github.com/viant/bgc) [![godoc][D]](https://godoc.org/github.com/viant/bgc)
2023-02-01 07:29:01 +08:00
- [pig](https://github.com/alexeyco/pig) **star:13** 简单的[pgx](https://github.com/jackc/pgx)包装器执行和[扫描](https://github.com/georgysavva/scany)查询结果很容易。 [![godoc][D]](https://godoc.org/github.com/alexeyco/pig)
2022-04-08 20:10:43 +08:00
### NoSQL数据库驱动程序
2023-08-04 07:26:48 +08:00
- [redis](https://github.com/redis/go-redis) **star:17673** 基于 Go 的 Redis 客户端。 [![近一周有更新][G]](https://github.com/redis/go-redis) [![godoc][D]](https://godoc.org/github.com/redis/go-redis) [![包含中文文档][CN]](https://github.com/redis/go-redis)
2022-04-08 20:10:43 +08:00
- [rueidis](http://github.com/rueian/rueidis) 快速Redis RESP3客户端与自动流水线和服务器辅助的客户端缓存。
2023-08-02 07:21:08 +08:00
- [redigo](https://github.com/gomodule/redigo) **star:9572** Redigo 是基于 Go 的Redis 客户端。 [![godoc][D]](https://godoc.org/github.com/gomodule/redigo)
2023-08-04 07:26:48 +08:00
- [mongo-go-driver](https://github.com/mongodb/mongo-go-driver) **star:7544** 官方的 MongoDB 驱动。 [![近一周有更新][G]](https://github.com/mongodb/mongo-go-driver) [![godoc][D]](https://godoc.org/github.com/mongodb/mongo-go-driver)
2023-07-20 07:26:36 +08:00
- [mgo](https://github.com/globalsign/mgo) **star:1962** (已停止维护) MongoDB驱动。 [![godoc][D]](https://godoc.org/github.com/globalsign/mgo)
2023-08-02 07:21:08 +08:00
- [gorethink](https://github.com/dancannon/gorethink) **star:1635** RethinkDB 驱动。 [![godoc][D]](https://godoc.org/github.com/dancannon/gorethink)
2023-08-04 07:26:48 +08:00
- [qmgo](https://github.com/qiniu/qmgo) **star:1160** MongoDB司机走了。它是基于官方MongoDB司机但更容易使用像分别。 [![godoc][D]](https://godoc.org/github.com/qiniu/qmgo) [![包含中文文档][CN]](https://github.com/qiniu/qmgo)
- [mgm](https://github.com/kamva/mgm) **star:677** 基于MongoDB模型的ODM for Go(基于官方MongoDB驱动)。 [![godoc][D]](https://godoc.org/github.com/kamva/mgm)
2023-07-20 07:26:36 +08:00
- [redeo](https://github.com/bsm/redeo) **star:426** 与 redis 协议兼容的 TCP 服务器/服务。 [![godoc][D]](https://godoc.org/github.com/bsm/redeo)
2023-06-26 07:28:04 +08:00
- [aerospike-client-go](https://github.com/aerospike/aerospike-client-go) **star:410** Aerospike 客户端。 [![近一周有更新][G]](https://github.com/aerospike/aerospike-client-go) [![godoc][D]](https://godoc.org/github.com/aerospike/aerospike-client-go)
- [neoism](https://github.com/jmcvetta/neoism) **star:389** Golang 的 Neo4j 客户端。 [![近三年未更新][Y]](https://github.com/jmcvetta/neoism) [![godoc][D]](https://godoc.org/github.com/jmcvetta/neoism)
2023-08-04 07:26:48 +08:00
- [gocb](https://github.com/couchbase/gocb) **star:344** 官方Couchbase Go SDK。 [![godoc][D]](https://godoc.org/github.com/couchbase/gocb)
2023-08-02 07:21:08 +08:00
- [go-rejson](https://github.com/nitishm/go-rejson) **star:321** 实现了基于 Redigo 客户端的redislabs' ReJSON 模块。可简单地将结构体存储为JSON对象并对其进行操作。 [![godoc][D]](https://godoc.org/github.com/nitishm/go-rejson)
- [go-couchbase](https://github.com/couchbase/go-couchbase) **star:315** Couchbase客户端。 [![godoc][D]](https://godoc.org/github.com/couchbase/go-couchbase)
2023-08-04 07:26:48 +08:00
- [Kivik](https://github.com/go-kivik/kivik) **star:276** Kivik为CouchDB、PouchDB和类似的数据库提供了一个通用的Go和GopherJS客户端库。 [![近一周有更新][G]](https://github.com/go-kivik/kivik) [![godoc][D]](https://godoc.org/github.com/go-kivik/kivik)
2023-05-04 07:21:08 +08:00
- [godis](https://github.com/piaohao/godis) **star:109** 由GoLang实现的redis客户端灵感来自jedis。 [![近三年未更新][Y]](https://github.com/piaohao/godis) [![godoc][D]](https://godoc.org/github.com/piaohao/godis)
2023-08-02 07:21:08 +08:00
- [Neo4j-GO](https://github.com/davemeehan/Neo4j-GO) **star:76** Neo4j REST 客户端。 [![近三年未更新][Y]](https://github.com/davemeehan/Neo4j-GO) [![godoc][D]](https://godoc.org/github.com/davemeehan/Neo4j-GO) [![归档项目][Archived]](https://github.com/davemeehan/Neo4j-GO)
2022-10-05 07:28:40 +08:00
- [arangolite](https://github.com/solher/arangolite) **star:73** 轻量级的 ArangoDB 驱动。 [![godoc][D]](https://godoc.org/github.com/solher/arangolite)
2023-04-27 07:22:09 +08:00
- [go-pilosa](https://github.com/pilosa/go-pilosa) **star:58** Pilosa客户端。 [![godoc][D]](https://godoc.org/github.com/pilosa/go-pilosa) [![归档项目][Archived]](https://github.com/pilosa/go-pilosa)
2022-10-05 07:28:40 +08:00
- [forestdb](https://github.com/couchbase/goforestdb) **star:33** 基于 Go 的 ForestDB 接口实现。 [![近三年未更新][Y]](https://github.com/couchbase/goforestdb) [![godoc][D]](https://godoc.org/github.com/couchbase/goforestdb)
2023-04-15 10:58:14 +08:00
- [goriak](https://github.com/zegl/goriak) **star:30** Riak KV 驱动。 [![godoc][D]](https://godoc.org/github.com/zegl/goriak)
2022-11-15 07:26:09 +08:00
- [neo4j](https://github.com/cihangir/neo4j) **star:27** Neo4j Rest API实现。 [![近三年未更新][Y]](https://github.com/cihangir/neo4j) [![godoc][D]](https://godoc.org/github.com/cihangir/neo4j)
2022-10-05 07:28:40 +08:00
- [xredis](https://github.com/shomali11/xredis) **star:19** 类型安全可定制清晰和易用的Redis客户端。 [![近三年未更新][Y]](https://github.com/shomali11/xredis) [![godoc][D]](https://godoc.org/github.com/shomali11/xredis)
2023-08-02 07:21:08 +08:00
- [gocosmos](https://github.com/btnguyen2k/gocosmos) **star:17** Azure Cosmos DB的REST客户端和标准的“数据库/sql”驱动程序。 [![godoc][D]](https://godoc.org/github.com/btnguyen2k/gocosmos)
2022-09-20 07:28:38 +08:00
- [gocql](https://gocql.github.io) Apache Cassandra 的 Go 驱动。
2022-10-05 07:28:40 +08:00
- [godscache](https://github.com/defcronyke/godscache) **star:11** 谷歌云平台Go Datastore包的封装它采用了memcached添加缓存。 [![近三年未更新][Y]](https://github.com/defcronyke/godscache) [![godoc][D]](https://godoc.org/github.com/defcronyke/godscache)
2022-04-08 20:10:43 +08:00
- [gomemcache](https://github.com/bradfitz/gomemcache/) memcache客户端库。
2022-10-05 07:28:40 +08:00
- [asc](https://github.com/viant/asc) **star:9** Aerospike 的数据存储连接器。 [![近三年未更新][Y]](https://github.com/viant/asc) [![godoc][D]](https://godoc.org/github.com/viant/asc)
2022-04-08 20:10:43 +08:00
### 检索及分析资料库
2023-08-04 07:26:48 +08:00
- [elastic](https://github.com/olivere/elastic) **star:7197** Elasticsearch 客户端。 [![godoc][D]](https://godoc.org/github.com/olivere/elastic)
- [go-elasticsearch](https://github.com/elastic/go-elasticsearch) **star:5070** 官方 Elasticsearch 客户端。 [![godoc][D]](https://godoc.org/github.com/elastic/go-elasticsearch)
- [elasticsql](https://github.com/cch123/elasticsql) **star:1075** 将 SQL 转换为 elasticsearch dsl。 [![近一周有更新][G]](https://github.com/cch123/elasticsql) [![godoc][D]](https://godoc.org/github.com/cch123/elasticsql)
2023-07-20 07:26:36 +08:00
- [elastigo](https://github.com/mattbaird/elastigo) **star:951** Elasticsearch 客户端。 [![近三年未更新][Y]](https://github.com/mattbaird/elastigo) [![godoc][D]](https://godoc.org/github.com/mattbaird/elastigo)
2022-10-05 07:28:40 +08:00
- [skizze](https://github.com/seiflotfy/skizze) **star:88** 面向概率数据结构的服务和存储。 [![近三年未更新][Y]](https://github.com/seiflotfy/skizze) [![godoc][D]](https://godoc.org/github.com/seiflotfy/skizze)
2023-04-15 10:58:14 +08:00
- [goes](https://github.com/OwnLocal/goes) **star:29** 实现了与 Elasticsearch 交互的库。 [![godoc][D]](https://godoc.org/github.com/OwnLocal/goes)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 日期和时间
2022-03-22 12:36:07 +08:00
_用于处理日期和时间的库。 (翻译出错了? 试试 [英文版](README_EN.md#date-and-time) 吧~)_
2023-08-04 07:26:48 +08:00
- [now](https://github.com/jinzhu/now) **star:4199** now 是时间有关的工具类。 [![godoc][D]](https://godoc.org/github.com/jinzhu/now)
- [carbon](https://github.com/golang-module/carbon) **star:3365** datetime的一个简单、语义和开发人员友好的golang包。 [![godoc][D]](https://godoc.org/github.com/golang-module/carbon)
2023-08-02 07:21:08 +08:00
- [dateparse](https://github.com/araddon/dateparse) **star:1890** 可以解析很多格式不固定的日期字符串。 [![godoc][D]](https://godoc.org/github.com/araddon/dateparse)
2023-07-17 07:22:48 +08:00
- [carbon](https://github.com/uniplaces/carbon) **star:762** 简单的时间扩展,包含了许多使用方法,从 PHP Carbon 库移植的。 [![godoc][D]](https://godoc.org/github.com/uniplaces/carbon)
2023-08-02 07:21:08 +08:00
- [durafmt](https://github.com/hako/durafmt) **star:465** 轻量级、可让time.Duration更加易读的库。 [![godoc][D]](https://godoc.org/github.com/hako/durafmt)
2023-07-17 07:22:48 +08:00
- [timeutil](https://github.com/leekchan/timeutil) **star:193** 面向 Golang 的时间库,集成了很多有用的扩展(Timedelta, Strftime, ...)。 [![近三年未更新][Y]](https://github.com/leekchan/timeutil) [![godoc][D]](https://godoc.org/github.com/leekchan/timeutil)
2023-06-19 07:27:31 +08:00
- [gostradamus](https://github.com/bykof/gostradamus) **star:181** 和约会对象一起工作的软件包。 [![godoc][D]](https://godoc.org/github.com/bykof/gostradamus)
2023-08-04 07:26:48 +08:00
- [go-persian-calendar](https://github.com/yaa110/go-persian-calendar) **star:163** 太阳历实现。 [![godoc][D]](https://godoc.org/github.com/yaa110/go-persian-calendar)
2023-08-02 07:21:08 +08:00
- [iso8601](https://github.com/relvacode/iso8601) **star:126** 不用正则表达式有效解析 ISO8601 日期时间。 [![godoc][D]](https://godoc.org/github.com/relvacode/iso8601)
2023-07-27 07:20:38 +08:00
- [date](https://github.com/rickb777/date) **star:114** 增加处理日期、日期范围、时间跨度、时间段和time-of-day。 [![godoc][D]](https://godoc.org/github.com/rickb777/date)
2022-10-05 07:28:40 +08:00
- [timespan](https://github.com/SaidinWoT/timespan) **star:82** 用于处理时间间隔相关的库,可定义开始时间和持续时间。 [![近三年未更新][Y]](https://github.com/SaidinWoT/timespan) [![godoc][D]](https://godoc.org/github.com/SaidinWoT/timespan)
2023-07-17 07:22:48 +08:00
- [go-str2duration](https://github.com/xhit/go-str2duration) **star:77** 将字符串转换为持续时间。支持的时间。持续时间返回字符串等。 [![godoc][D]](https://godoc.org/github.com/xhit/go-str2duration)
2023-08-02 07:21:08 +08:00
- [go-sunrise](https://github.com/nathan-osman/go-sunrise) **star:74** 计算指定位置的日出和日落时间。 [![godoc][D]](https://godoc.org/github.com/nathan-osman/go-sunrise)
2022-10-05 07:28:40 +08:00
- [feiertage](https://github.com/wlbr/feiertage) **star:43** 用于计算德国公共假期的函数,比如复活节、感恩节等 [![godoc][D]](https://godoc.org/github.com/wlbr/feiertage)
2023-06-07 07:22:22 +08:00
- [kair](https://github.com/GuilhermeCaruso/kair) **star:25** 用于处理日期和时间的 golang 库。 [![近三年未更新][Y]](https://github.com/GuilhermeCaruso/kair) [![godoc][D]](https://godoc.org/github.com/GuilhermeCaruso/kair)
2022-10-05 07:28:40 +08:00
- [cronrange](https://github.com/1set/cronrange) **star:18** 解析cron风格的时间范围表达式检查给定的时间是否在任何范围内。 [![godoc][D]](https://godoc.org/github.com/1set/cronrange)
2023-04-15 10:58:14 +08:00
- [NullTime](https://github.com/kirillDanshin/nulltime) **star:14** 可以允许 time.Time 为null。 [![近三年未更新][Y]](https://github.com/kirillDanshin/nulltime) [![godoc][D]](https://godoc.org/github.com/kirillDanshin/nulltime)
2023-02-13 07:25:43 +08:00
- [strftime](https://github.com/awoodbeck/strftime) **star:12** C99-compatible strftime formatter。 [![近三年未更新][Y]](https://github.com/awoodbeck/strftime) [![godoc][D]](https://godoc.org/github.com/awoodbeck/strftime)
2022-10-05 07:28:40 +08:00
- [tuesday](https://github.com/osteele/tuesday) **star:12** Ruby-compatible Strftime function。 [![godoc][D]](https://godoc.org/github.com/osteele/tuesday)
2023-07-20 07:26:36 +08:00
- [go-anytime](https://github.com/ijt/go-anytime) **star:10** Parse dates/times like "next dec 22nd at 3pm" and ranges like "from today until next thursday" without knowing the format in advance. [![godoc][D]](https://godoc.org/github.com/ijt/go-anytime)
2022-10-05 07:28:40 +08:00
- [go-week](https://github.com/stoewer/go-week) **star:8** 一个有效的软件包以配合ISO8601周日期。 [![godoc][D]](https://godoc.org/github.com/stoewer/go-week)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 分布式系统
2022-03-22 12:36:07 +08:00
_协助构建分布式系统的包。 (翻译出错了? 试试 [英文版](README_EN.md#distributed-systems) 吧~)_
2023-08-04 07:26:48 +08:00
- [go-kit](https://github.com/go-kit/kit) **star:25270** 支持服务发现、负载平衡、插件式传输、请求跟踪等功能的Microservice toolkit。 [![godoc][D]](https://godoc.org/github.com/go-kit/kit)
- [go-zero](https://github.com/tal-tech/go-zero) **star:25086** 一个web和rpc框架。它的诞生是为了确保繁忙场地的稳定性弹性设计。内置的goctl大大提高了开发效率。 [![近一周有更新][G]](https://github.com/tal-tech/go-zero) [![godoc][D]](https://godoc.org/github.com/tal-tech/go-zero)
- [Kratos](https://github.com/go-kratos/kratos) **star:21104** 一个模块化设计的易于使用的微服务框架。 [![近一周有更新][G]](https://github.com/go-kratos/kratos) [![godoc][D]](https://godoc.org/github.com/go-kratos/kratos) [![包含中文文档][CN]](https://github.com/go-kratos/kratos)
- [go-micro](https://github.com/micro/go-micro) **star:20696** 分布式系统开发框架。 [![godoc][D]](https://godoc.org/github.com/micro/go-micro)
- [grpc-go](https://github.com/grpc/grpc-go) **star:18546** gRPC的Go语言实现。 [![近一周有更新][G]](https://github.com/grpc/grpc-go) [![godoc][D]](https://godoc.org/github.com/grpc/grpc-go)
- [NATS](https://github.com/nats-io/gnatsd) **star:13305** 轻量级、高性能消息传递系统,可用于微服务、物联网(IoT)和云。 [![近一周有更新][G]](https://github.com/nats-io/gnatsd) [![godoc][D]](https://godoc.org/github.com/nats-io/gnatsd)
- [micro](https://github.com/micro/micro) **star:11840** 一个分布式系统运行时,用于云及其他。 [![近一周有更新][G]](https://github.com/micro/micro) [![godoc][D]](https://godoc.org/github.com/micro/micro)
- [rpcx](https://github.com/smallnest/rpcx) **star:7679** 分布式可插拔的RPC服务框架如阿里巴巴Dubbo。 [![godoc][D]](https://godoc.org/github.com/smallnest/rpcx)
- [raft](https://github.com/hashicorp/raft) **star:7296** Raft consensus协议的实现。 by HashiCorp。 [![godoc][D]](https://godoc.org/github.com/hashicorp/raft)
- [Kitex](https://github.com/cloudwego/kitex) **star:6115** A high-performance and strong-extensibility Golang RPC framework that helps developers build microservices. If the performance and extensibility are the main concerns when you develop microservices, Kitex can be a good choice. [![近一周有更新][G]](https://github.com/cloudwego/kitex) [![godoc][D]](https://godoc.org/github.com/cloudwego/kitex) [![包含中文文档][CN]](https://github.com/cloudwego/kitex)
- [lura](https://github.com/luraproject/lura) **star:5669** 具有中间件的高性能API网关框架。 [![godoc][D]](https://godoc.org/github.com/luraproject/lura)
- [torrent](https://github.com/anacrolix/torrent) **star:4870** BitTorrent 客户端。 [![godoc][D]](https://godoc.org/github.com/anacrolix/torrent)
- [dragonboat](https://github.com/lni/dragonboat) **star:4681** 一个功能齐全,高性能的库集。 [![godoc][D]](https://godoc.org/github.com/lni/dragonboat) [![包含中文文档][CN]](https://github.com/lni/dragonboat)
- [emitter-io](https://github.com/emitter-io/emitter) **star:3598** 高性能、分布式、安全和低延迟的发布-订阅平台使用MQTT、Websockets和love构建。 [![近一周有更新][G]](https://github.com/emitter-io/emitter) [![godoc][D]](https://godoc.org/github.com/emitter-io/emitter)
2023-08-02 07:21:08 +08:00
- [gleam](https://github.com/chrislusf/gleam) **star:3225** 使用纯Go和Luajit编写的快速、可伸缩的分布式map/reduce系统结合了Go的高并发性和Luajit的高性能可以独立运行或分布式运行。 [![godoc][D]](https://godoc.org/github.com/chrislusf/gleam)
- [glow](https://github.com/chrislusf/glow) **star:3146** 全部用 Go 实现易用、可伸缩可用于分布式大数据处理Map-Reduce, DAG执行。 [![近三年未更新][Y]](https://github.com/chrislusf/glow) [![godoc][D]](https://godoc.org/github.com/chrislusf/glow)
2023-08-04 07:26:48 +08:00
- [liftbridge](https://github.com/liftbridge-io/liftbridge) **star:2466** 用于nat的轻量级、容错的消息流。 [![godoc][D]](https://godoc.org/github.com/liftbridge-io/liftbridge)
- [Dragonfly](https://github.com/dragonflyoss/Dragonfly2) **star:1491** Provide efficient, stable and secure file distribution and image acceleration based on p2p technology to be the best practice and standard solution in cloud native architectures. [![近一周有更新][G]](https://github.com/dragonflyoss/Dragonfly2) [![godoc][D]](https://godoc.org/github.com/dragonflyoss/Dragonfly2)
2023-07-27 07:20:38 +08:00
- [hprose](https://github.com/hprose/hprose-golang) **star:1239** 支持25+种语言RPC库。 [![godoc][D]](https://godoc.org/github.com/hprose/hprose-golang) [![包含中文文档][CN]](https://github.com/hprose/hprose-golang)
2023-08-02 07:21:08 +08:00
- [go-doudou](https://github.com/unionj-cloud/go-doudou) **star:1206** 八卦协议和基于OpenAPI 3.0规范的去中心化微服务框架。内置的go-doudou cli专注于低代码和快速开发可以提高您的生产力。 [![近一周有更新][G]](https://github.com/unionj-cloud/go-doudou) [![godoc][D]](https://godoc.org/github.com/unionj-cloud/go-doudou) [![包含中文文档][CN]](https://github.com/unionj-cloud/go-doudou)
2023-08-04 07:26:48 +08:00
- [redis-lock](https://github.com/bsm/redislock) **star:1080** 基于redis的分布式锁简易实现。 [![godoc][D]](https://godoc.org/github.com/bsm/redislock)
2022-03-22 12:36:07 +08:00
- [resgate](https://resgate.io/) 用于构建REST、实时和RPC API的实时API网关其中所有客户端都是无缝同步的。
2023-08-02 07:21:08 +08:00
- [rain](https://github.com/cenkalti/rain) **star:855** BitTorrent客户端和库。 [![godoc][D]](https://godoc.org/github.com/cenkalti/rain)
- [arpc](https://github.com/lesismal/arpc) **star:786** 更有效的网络通信,支持双向呼叫、通知、广播。 [![godoc][D]](https://godoc.org/github.com/lesismal/arpc)
2023-07-27 07:20:38 +08:00
- [ringpop-go](https://github.com/uber/ringpop-go) **star:786** 可伸缩的容错、应用分层的的Go应用程序。 [![godoc][D]](https://godoc.org/github.com/uber/ringpop-go)
2023-08-02 07:21:08 +08:00
- [go-health](https://github.com/InVisionApp/go-health) **star:700** 用于在服务中启用异步依赖项健康检查的库。 [![godoc][D]](https://godoc.org/github.com/InVisionApp/go-health)
2023-06-19 07:27:31 +08:00
- [gorpc](https://github.com/valyala/gorpc) **star:680** 简单、快速和可伸缩的RPC库。 [![godoc][D]](https://godoc.org/github.com/valyala/gorpc)
2023-08-04 07:26:48 +08:00
- [consistent](https://github.com/buraksezer/consistent) **star:607** Consistent hashing with bounded loads。 [![godoc][D]](https://godoc.org/github.com/buraksezer/consistent)
- [go-sundheit](https://github.com/AppsFlyer/go-sundheit) **star:511** 为支持为golang服务定义异步服务健康检查而构建的库。 [![godoc][D]](https://godoc.org/github.com/AppsFlyer/go-sundheit)
2023-07-27 07:20:38 +08:00
- [digota](https://github.com/digota/digota) **star:478** 基于 grpc 的电子商务微服务。 [![godoc][D]](https://godoc.org/github.com/digota/digota)
2022-03-22 12:36:07 +08:00
- [dot](https://github.com/dotchain/dot/) 基于 transformation/OT 的分布式同步。
2023-08-02 07:21:08 +08:00
- [go-jump](https://github.com/dgryski/go-jump) **star:367** 提供了谷歌的 “Jump” 一致哈希函数接口。 [![godoc][D]](https://godoc.org/github.com/dgryski/go-jump)
2023-07-20 07:26:36 +08:00
- [sleuth](https://github.com/ursiform/sleuth) **star:367** 用于HTTP服务之间进行无中心p2p自动发现和RPC通信的库(使用[ZeroMQ](https://github.com/zeromq/libzmq))。 [![godoc][D]](https://godoc.org/github.com/ursiform/sleuth)
2023-08-04 07:26:48 +08:00
- [Temporal](https://github.com/temporalio/sdk-go) **star:347** Durable execution system for making code fault-tolerant and simple. [![近一周有更新][G]](https://github.com/temporalio/sdk-go) [![godoc][D]](https://godoc.org/github.com/temporalio/sdk-go)
2023-08-02 07:21:08 +08:00
- [raft](https://github.com/etcd-io/raft) **star:297** Raft consensus协议的实现。 by CoreOS。 [![godoc][D]](https://godoc.org/github.com/etcd-io/raft)
2023-08-04 07:26:48 +08:00
- [jsonrpc](https://github.com/ybbus/jsonrpc) **star:279** JSON-RPC 2.0 HTTP客户端。 [![godoc][D]](https://godoc.org/github.com/ybbus/jsonrpc)
2023-08-02 07:21:08 +08:00
- [dht](https://github.com/anacrolix/dht) **star:268** BitTorrent Kademlia DHT的实现。 [![godoc][D]](https://godoc.org/github.com/anacrolix/dht)
2023-07-27 07:20:38 +08:00
- [jsonrpc](https://github.com/osamingo/jsonrpc) **star:180** jsonrpc 包,实现了 JSON-RPC 2.0。 [![godoc][D]](https://godoc.org/github.com/osamingo/jsonrpc)
2023-08-02 07:21:08 +08:00
- [outboxer](https://github.com/italolelis/outboxer) **star:137** 实现了 outbox pattern Go 库。 [![近一周有更新][G]](https://github.com/italolelis/outboxer) [![godoc][D]](https://godoc.org/github.com/italolelis/outboxer)
2022-03-22 12:36:07 +08:00
- [pglock](https://cirello.io/pglock) postgresql 的分布式锁定实现。
- [pjrpc](https://gitlab.com/pjrpc/pjrpc) Golang JSON-RPC服务器-客户端与原生buf规范。
2023-06-29 07:26:27 +08:00
- [doublejump](https://github.com/edwingeng/doublejump) **star:88** 实现了谷歌的jump consistent hash。 [![godoc][D]](https://godoc.org/github.com/edwingeng/doublejump)
2023-05-31 07:26:28 +08:00
- [Semaphore](https://github.com/jexia/semaphore) **star:84** 简单的(微)服务协调器。 [![godoc][D]](https://godoc.org/github.com/jexia/semaphore)
2023-07-10 07:28:10 +08:00
- [celeriac](https://github.com/svcavallar/celeriac.v1) **star:71** 用于对 Celery worker、任务、事件进行交互和监控的库。 [![godoc][D]](https://godoc.org/github.com/svcavallar/celeriac.v1)
2023-07-27 07:20:38 +08:00
- [go-mysql-lock](https://github.com/sanketplus/go-mysql-lock) **star:55** 基于MySQL分布式锁。 [![godoc][D]](https://godoc.org/github.com/sanketplus/go-mysql-lock)
2022-12-30 07:23:10 +08:00
- [flowgraph](https://github.com/vectaport/flowgraph) **star:52** flow-based programming package。 [![godoc][D]](https://godoc.org/github.com/vectaport/flowgraph)
2023-08-04 07:26:48 +08:00
- [go-pdu](https://github.com/pdupub/go-pdu) **star:47** 一个去中心化的基于身份的社交网络。 [![godoc][D]](https://godoc.org/github.com/pdupub/go-pdu)
2023-05-16 07:23:55 +08:00
- [drmaa](https://github.com/dgruber/drmaa) **star:44** 符合 DRMAA 标准的集群调度程序作业提交库。 [![godoc][D]](https://godoc.org/github.com/dgruber/drmaa)
2022-03-22 12:36:07 +08:00
- [dynamolock](https://cirello.io/dynamolock) DynamoDB-backed 分布式锁定实现。
2023-06-26 07:28:04 +08:00
- [gmsec](https://github.com/gmsec/micro) **star:22** 一个Go分布式系统开发框架。 [![godoc][D]](https://godoc.org/github.com/gmsec/micro)
2023-05-31 07:26:28 +08:00
- [consistenthash](https://github.com/mbrostami/consistenthash) **star:19** 使用可配置副本的一致哈希。 [![godoc][D]](https://godoc.org/github.com/mbrostami/consistenthash)
2022-10-05 07:28:40 +08:00
- [dynatomic](https://github.com/tylfin/dynatomic) **star:15** 基于 DynamoDB 的 原子计数器的库。 [![godoc][D]](https://godoc.org/github.com/tylfin/dynatomic)
2023-01-18 07:23:31 +08:00
- [failured](https://github.com/andy2046/failured) **star:10** 分布式系统的自适应应计故障检测器。 [![godoc][D]](https://godoc.org/github.com/andy2046/failured)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2020-01-03 11:25:48 +08:00
## 动态域名
2022-03-22 12:36:07 +08:00
_更新动态DNS记录的工具。 (翻译出错了? 试试 [英文版](README_EN.md#dynamic-dns) 吧~)_
2020-01-03 11:25:48 +08:00
2023-08-04 07:26:48 +08:00
- [GoDNS](https://github.com/timothyye/godns) **star:1332** 一个动态DNS客户端工具支持DNSPod & HE.net。 [![godoc][D]](https://godoc.org/github.com/timothyye/godns)
2023-07-07 07:24:47 +08:00
- [DDNS](https://github.com/skibish/ddns) **star:237** 个人 DDNS 客户端。 [![godoc][D]](https://godoc.org/github.com/skibish/ddns)
2022-03-22 12:36:07 +08:00
- [dyndns](https://gitlab.com/alcastle/dyndns) 后台去处理定期和自动检查您的IP地址并作出更新(一个或多个)动态DNS记录为谷歌域每当您的地址变化。
2020-01-03 11:25:48 +08:00
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 电子邮件
2022-03-22 12:36:07 +08:00
_实现了电子邮件创建和发送。 (翻译出错了? 试试 [英文版](README_EN.md#email) 吧~)_
2023-08-04 07:26:48 +08:00
- [MailHog](https://github.com/mailhog/MailHog) **star:12350** 电子邮件和SMTP测试工具对外提供了 web 和 API 接口。 [![godoc][D]](https://godoc.org/github.com/mailhog/MailHog)
- [Mailpit](https://github.com/axllent/mailpit) **star:2662** Email and SMTP testing tool for developers. [![近一周有更新][G]](https://github.com/axllent/mailpit) [![godoc][D]](https://godoc.org/github.com/axllent/mailpit)
2023-08-02 07:21:08 +08:00
- [hermes](https://github.com/matcornic/hermes) **star:2651** 可生成干净的、响应式的HTML电子邮件。 [![godoc][D]](https://godoc.org/github.com/matcornic/hermes)
- [email](https://github.com/jordan-wright/email) **star:2386** 一个强大和灵活的电子邮件库。 [![godoc][D]](https://godoc.org/github.com/jordan-wright/email)
- [go-imap](https://github.com/emersion/go-imap) **star:1815** 用于客户端和服务器的IMAP库。 [![godoc][D]](https://godoc.org/github.com/emersion/go-imap)
2022-03-22 12:36:07 +08:00
- [chasquid](https://blitiri.com.ar/p/chasquid) 用Go编写的SMTP服务器。
2023-08-04 07:26:48 +08:00
- [email-verifier](https://github.com/AfterShip/email-verifier) **star:920** 一个Go库的电子邮件验证而不发送任何电子邮件。 [![近一周有更新][G]](https://github.com/AfterShip/email-verifier) [![godoc][D]](https://godoc.org/github.com/AfterShip/email-verifier)
- [SendGrid](https://github.com/sendgrid/sendgrid-go) **star:914** SendGrid 的 Go语言库用于发送电子邮件。 [![godoc][D]](https://godoc.org/github.com/sendgrid/sendgrid-go)
- [mailgun-go](https://github.com/mailgun/mailgun-go) **star:656** 使用Mailgun API去库发送邮件。 [![近一周有更新][G]](https://github.com/mailgun/mailgun-go) [![godoc][D]](https://godoc.org/github.com/mailgun/mailgun-go)
- [go-simple-mail](https://github.com/xhit/go-simple-mail) **star:499** 非常简单的包发送电子邮件与SMTP保持活动和两个超时:连接和发送。 [![近一周有更新][G]](https://github.com/xhit/go-simple-mail) [![godoc][D]](https://godoc.org/github.com/xhit/go-simple-mail)
- [go-message](https://github.com/emersion/go-message) **star:321** 用于Internet消息格式化和邮件消息的流媒体库。 [![godoc][D]](https://godoc.org/github.com/emersion/go-message)
- [go-mail](https://github.com/wneessen/go-mail) **star:308** A simple Go library for sending mails in Go. [![近一周有更新][G]](https://github.com/wneessen/go-mail) [![godoc][D]](https://godoc.org/github.com/wneessen/go-mail)
2023-06-29 07:26:27 +08:00
- [douceur](https://github.com/aymerick/douceur) **star:229** 在HTML邮件中支持CSS内联。 [![godoc][D]](https://godoc.org/github.com/aymerick/douceur)
2023-04-15 10:58:14 +08:00
- [Hectane](https://github.com/hectane/hectane) **star:220** 轻量级的SMTP客户机提供了HTTP API。 [![godoc][D]](https://godoc.org/github.com/hectane/hectane)
2023-07-20 07:26:36 +08:00
- [mailchain](https://github.com/mailchain/mailchain) **star:139** 发送加密的电子邮件到区块链地址写在Go。
2023-08-02 07:21:08 +08:00
- [go-premailer](https://github.com/vanng822/go-premailer) **star:113** 在HTML邮件中支持CSS内联。 [![godoc][D]](https://godoc.org/github.com/vanng822/go-premailer)
2023-06-19 07:27:31 +08:00
- [go-dkim](https://github.com/toorop/go-dkim) **star:90** DKIM库用于签署 & 验证电子邮件。 [![godoc][D]](https://godoc.org/github.com/toorop/go-dkim)
2023-07-20 07:26:36 +08:00
- [smtpmock](https://github.com/mocktools/go-smtp-mock) **star:82** 轻量级的可配置多线程假SMTP服务器。为您的测试环境模拟任何SMTP行为。 [![godoc][D]](https://godoc.org/github.com/mocktools/go-smtp-mock)
2023-06-19 07:27:31 +08:00
- [smtp](https://github.com/mailhog/smtp) **star:75** SMTP服务器协议状态机。 [![godoc][D]](https://godoc.org/github.com/mailhog/smtp)
2023-07-17 07:22:48 +08:00
- [go-email-normalizer](https://github.com/dimuska139/go-email-normalizer) **star:56** Golang库用于提供电子邮件地址的规范表示。 [![godoc][D]](https://godoc.org/github.com/dimuska139/go-email-normalizer)
2023-08-02 07:21:08 +08:00
- [truemail-go](https://github.com/truemail-rb/truemail-go) **star:52** 可配置Golang电子邮件验证器/验证器。验证电子邮件通过Regex, DNS, SMTP甚至更多。 [![godoc][D]](https://godoc.org/github.com/truemail-rb/truemail-go)
2023-08-04 07:26:48 +08:00
- [go-email-validator](https://github.com/go-email-validator/go-email-validator) **star:51** 模块化电子邮件验证器的语法一次性smtp等…检查。 [![近一周有更新][G]](https://github.com/go-email-validator/go-email-validator) [![godoc][D]](https://godoc.org/github.com/go-email-validator/go-email-validator)
2023-06-26 07:28:04 +08:00
- [mailx](https://github.com/valord577/mailx) **star:7** Mailx是一个使通过SMTP发送电子邮件更容易的库。它是对golang标准库' net/smtp '的增强。 [![godoc][D]](https://godoc.org/github.com/valord577/mailx)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 可嵌入的脚本语言
2022-03-22 12:36:07 +08:00
_在go代码中嵌入其他语言。 (翻译出错了? 试试 [英文版](README_EN.md#embeddable-scripting-languages) 吧~)_
2023-08-04 07:26:48 +08:00
- [gopher-lua](https://github.com/yuin/gopher-lua) **star:5573** 用 Go 实现的 Lua 5.1 虚拟机和编译器。 [![近一周有更新][G]](https://github.com/yuin/gopher-lua) [![godoc][D]](https://godoc.org/github.com/yuin/gopher-lua)
- [goja](https://github.com/dop251/goja) **star:4083** ECMAScript 5.1(+)实现在Go。 [![近一周有更新][G]](https://github.com/dop251/goja) [![godoc][D]](https://godoc.org/github.com/dop251/goja)
- [expr](https://github.com/antonmedv/expr) **star:3926** Go的表达式计算引擎:快速,非图灵完备,动态类型,静态类型。 [![godoc][D]](https://godoc.org/github.com/antonmedv/expr)
- [tengo](https://github.com/d5/tengo) **star:3242** 字节码编译的脚本语言。 [![godoc][D]](https://godoc.org/github.com/d5/tengo)
- [go-lua](https://github.com/Shopify/go-lua) **star:2745** 用 Go 实现的 Lua 5.2 VM接口。 [![godoc][D]](https://godoc.org/github.com/Shopify/go-lua)
2023-07-27 07:20:38 +08:00
- [starlark-go](https://github.com/google/starlark-go) **star:2006** Go implementation of Starlark: Python-like language with deterministic evaluation and hermetic execution. [![近一周有更新][G]](https://github.com/google/starlark-go) [![godoc][D]](https://godoc.org/github.com/google/starlark-go)
2023-08-04 07:26:48 +08:00
- [cel-go](https://github.com/google/cel-go) **star:1706** 快速,可移植,非图灵完整的表达评估与渐进分型。 [![近一周有更新][G]](https://github.com/google/cel-go) [![godoc][D]](https://godoc.org/github.com/google/cel-go)
2023-08-02 07:21:08 +08:00
- [go-python](https://github.com/sbinet/go-python) **star:1509** CPython C-API 的 Go 接口。 [![godoc][D]](https://godoc.org/github.com/sbinet/go-python) [![归档项目][Archived]](https://github.com/sbinet/go-python)
2023-08-04 07:26:48 +08:00
- [anko](https://github.com/mattn/anko) **star:1352** 用Go编写的解释器。 [![godoc][D]](https://godoc.org/github.com/mattn/anko)
2023-08-02 07:21:08 +08:00
- [metacall](https://github.com/metacall/core) **star:1312** 跨平台多语言运行时支持NodeJS, JavaScript, TypeScript, Python, Ruby, c# WebAssembly, Java, Cobol等等。 [![近一周有更新][G]](https://github.com/metacall/core)
- [go-php](https://github.com/deuill/go-php) **star:900** PHP 的 Go 接口。 [![godoc][D]](https://godoc.org/github.com/deuill/go-php)
2023-07-03 07:26:28 +08:00
- [go-duktape](https://github.com/olebedev/go-duktape) **star:779** 支持 Duktape JavaScript 引擎。 [![godoc][D]](https://godoc.org/github.com/olebedev/go-duktape) [![归档项目][Archived]](https://github.com/olebedev/go-duktape)
2023-08-02 07:21:08 +08:00
- [gval](https://github.com/PaesslerAG/gval) **star:638** 一种用Go编写的高度可定制的表达式语言。 [![godoc][D]](https://godoc.org/github.com/PaesslerAG/gval)
2023-07-20 07:26:36 +08:00
- [golua](https://github.com/aarzilli/golua) **star:617** Lua C 的 Go 接口。
2023-07-17 07:22:48 +08:00
- [gisp](https://github.com/jcla1/gisp) **star:502** LISP 的 Go 接口。 [![近三年未更新][Y]](https://github.com/jcla1/gisp) [![godoc][D]](https://godoc.org/github.com/jcla1/gisp)
2023-08-04 07:26:48 +08:00
- [prolog](https://github.com/ichiban/prolog) **star:496** 可嵌入的序言。 [![godoc][D]](https://godoc.org/github.com/ichiban/prolog)
- [gentee](https://github.com/gentee/gentee) **star:112** 嵌入式脚本编程语言。 [![godoc][D]](https://godoc.org/github.com/gentee/gentee)
2023-07-07 07:24:47 +08:00
- [binder](https://github.com/alexeyco/binder) **star:66** Lua接口基于[gopher-lua](https://github.com/yuin/gopher-lua)。 [![godoc][D]](https://godoc.org/github.com/alexeyco/binder)
2023-05-22 07:23:47 +08:00
- [purl](https://github.com/ian-kent/purl) **star:38** 嵌入 Go 的 Perl 5.18.2。 [![近三年未更新][Y]](https://github.com/ian-kent/purl) [![godoc][D]](https://godoc.org/github.com/ian-kent/purl)
2023-06-29 07:26:27 +08:00
- [ecal](https://github.com/krotik/ecal) **star:34** 一种简单的支持并发事件处理的可嵌入脚本语言。 [![godoc][D]](https://godoc.org/github.com/krotik/ecal)
2023-05-10 07:20:51 +08:00
- [ngaro](https://github.com/db47h/ngaro) **star:25** 嵌入式 Ngaro VM实现支持在 Retro 中运行脚本。 [![近三年未更新][Y]](https://github.com/db47h/ngaro) [![godoc][D]](https://godoc.org/github.com/db47h/ngaro)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 错误处理
2022-03-22 12:36:07 +08:00
_处理错误的库。 (翻译出错了? 试试 [英文版](README_EN.md#error-handling) 吧~)_
2019-06-27 17:22:00 +08:00
2023-08-02 07:21:08 +08:00
- [errors](https://github.com/pkg/errors) **star:8057** 可让你很简单的进行错误处理。 [![godoc][D]](https://godoc.org/github.com/pkg/errors) [![归档项目][Archived]](https://github.com/pkg/errors)
2023-08-04 07:26:48 +08:00
- [go-multierror](https://github.com/hashicorp/go-multierror) **star:2001** 可将一系列的错误作为一个整体来显示。 [![近一周有更新][G]](https://github.com/hashicorp/go-multierror) [![godoc][D]](https://godoc.org/github.com/hashicorp/go-multierror)
- [errors](https://github.com/cockroachdb/errors) **star:1663** Go error library with error portability over the network. [![近一周有更新][G]](https://github.com/cockroachdb/errors) [![godoc][D]](https://godoc.org/github.com/cockroachdb/errors)
- [eris](https://github.com/rotisserie/eris) **star:1321** 在Go中处理、跟踪和记录错误的更好方法。兼容标准错误库和github.com/pkg/errors。 [![godoc][D]](https://godoc.org/github.com/rotisserie/eris)
- [errorx](https://github.com/joomcode/errorx) **star:993** 一个功能丰富的错误包,可进行堆栈跟踪、组装异常信息以及其他。 [![godoc][D]](https://godoc.org/github.com/joomcode/errorx)
2023-08-02 07:21:08 +08:00
- [tracerr](https://github.com/ztrue/tracerr) **star:808** 可展示错误的堆栈跟踪信息和源码片段。 [![godoc][D]](https://godoc.org/github.com/ztrue/tracerr)
2023-08-04 07:26:48 +08:00
- [errlog](https://github.com/snwfdhmp/errlog) **star:451** 用于定位抛出错误的源代码(以及一些其他快速调试特性)。可插入到任何 logger 的位置。 [![godoc][D]](https://godoc.org/github.com/snwfdhmp/errlog)
2023-08-02 07:21:08 +08:00
- [emperror](https://github.com/emperror/emperror) **star:309** 用于Go库和应用程序的错误处理工具和最佳实践。 [![godoc][D]](https://godoc.org/github.com/emperror/emperror)
- [errors](https://github.com/emperror/errors) **star:180** 替换标准库错误包和github.com/pkg/errors。提供各种错误处理原语。 [![godoc][D]](https://godoc.org/github.com/emperror/errors)
2023-07-27 07:20:38 +08:00
- [Fault](https://github.com/Southclaws/fault) **star:133** An ergonomic mechanism for wrapping errors in order to facilitate structured metadata and context for error values. [![godoc][D]](https://godoc.org/github.com/Southclaws/fault)
2023-08-04 07:26:48 +08:00
- [oops](https://github.com/samber/oops) **star:55** Error handling with context, stack trace and source fragments. [![godoc][D]](https://godoc.org/github.com/samber/oops)
2023-07-27 07:20:38 +08:00
- [errors](https://github.com/bnkamalesh/errors) **star:52** Drop-in replacement for builtin Go errors. This is a minimal error handling package with custom error types, user friendly messages, Unwrap & Is. With very easy to use and straightforward helper functions. [![godoc][D]](https://godoc.org/github.com/bnkamalesh/errors)
2023-08-04 07:26:48 +08:00
- [exception](https://github.com/rbrahul/exception) **star:24** A simple utility package for exception handling with try-catch in Golang. [![godoc][D]](https://godoc.org/github.com/rbrahul/exception)
2023-04-15 10:58:14 +08:00
- [Falcon](https://github.com/SonicRoshan/falcon) **star:9** 一个简单但功能强大的错误处理包。 [![近三年未更新][Y]](https://github.com/SonicRoshan/falcon) [![godoc][D]](https://godoc.org/github.com/SonicRoshan/falcon)
- [errors](https://github.com/PumpkinSeed/errors) **star:8** 最简单的错误包装器,具有出色的性能和最小的内存开销。 [![godoc][D]](https://godoc.org/github.com/PumpkinSeed/errors)
- [errors](https://github.com/neuronlabs/errors) **star:5** 使用分类原语进行简单的golang错误处理。 [![近三年未更新][Y]](https://github.com/neuronlabs/errors) [![godoc][D]](https://godoc.org/github.com/neuronlabs/errors)
2019-06-27 17:22:00 +08:00
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2020-07-29 07:17:06 +08:00
## 文件处理
2019-06-27 17:22:00 +08:00
2022-03-22 12:36:07 +08:00
_处理文件和文件系统的库。 (翻译出错了? 试试 [英文版](README_EN.md#file-handling) 吧~)_
2023-08-04 07:26:48 +08:00
- [afero](https://github.com/spf13/afero) **star:5271** 文件系统的抽象系统。 [![godoc][D]](https://godoc.org/github.com/spf13/afero)
- [pdfcpu](https://github.com/pdfcpu/pdfcpu) **star:5164** PDF处理器。 [![近一周有更新][G]](https://github.com/pdfcpu/pdfcpu) [![godoc][D]](https://godoc.org/github.com/pdfcpu/pdfcpu)
- [gdu](https://github.com/dundee/gdu) **star:2669** 带有控制台接口的磁盘使用分析器。 [![godoc][D]](https://godoc.org/github.com/dundee/gdu)
2023-08-02 07:21:08 +08:00
- [notify](https://github.com/rjeczalik/notify) **star:834** 文件系统事件通知库具有类似于os/signal的简单API。 [![godoc][D]](https://godoc.org/github.com/rjeczalik/notify)
2023-08-04 07:26:48 +08:00
- [copy](https://github.com/otiai10/copy) **star:579** 递归地复制目录。 [![godoc][D]](https://godoc.org/github.com/otiai10/copy)
- [gofs](https://github.com/no-src/gofs) **star:311** A cross-platform real-time file synchronization tool out of the box. [![近一周有更新][G]](https://github.com/no-src/gofs) [![godoc][D]](https://godoc.org/github.com/no-src/gofs) [![包含中文文档][CN]](https://github.com/no-src/gofs)
- [afs](https://github.com/viant/afs) **star:254** 用于Go的抽象文件存储(mem、scp、zip、tar、cloud: s3、gs)。 [![近一周有更新][G]](https://github.com/viant/afs) [![godoc][D]](https://godoc.org/github.com/viant/afs)
2023-08-02 07:21:08 +08:00
- [vfs](https://github.com/C2FO/vfs) **star:247** 一组可插拔的、可扩展的和自定义的文件系统功能用于跨越许多文件系统类型如os、S3和GCS。 [![godoc][D]](https://godoc.org/github.com/C2FO/vfs)
2023-05-22 07:23:47 +08:00
- [bigfile](https://github.com/bigfile/bigfile) **star:241** 一个文件传输系统支持管理文件与http api, rpc调用和ftp客户端。 [![godoc][D]](https://godoc.org/github.com/bigfile/bigfile) [![包含中文文档][CN]](https://github.com/bigfile/bigfile) [![归档项目][Archived]](https://github.com/bigfile/bigfile)
2023-08-04 07:26:48 +08:00
- [go-exiftool](https://github.com/barasher/go-exiftool) **star:176** ExifTool 的 Go 实现,这个著名的库用于从文件(图片、PDF、office…)中提取尽可能多的元数据(EXIF、IPTC…)。 [![godoc][D]](https://godoc.org/github.com/barasher/go-exiftool)
2023-07-27 07:20:38 +08:00
- [go-csv-tag](https://github.com/artonge/go-csv-tag) **star:108** 使用 tag 加载 csv 文件。 [![godoc][D]](https://godoc.org/github.com/artonge/go-csv-tag)
2023-06-19 07:27:31 +08:00
- [skywalker](https://github.com/dixonwille/skywalker) **star:90** 可以轻松地并发地遍历文件系统。 [![godoc][D]](https://godoc.org/github.com/dixonwille/skywalker)
2022-12-30 07:23:10 +08:00
- [stl](https://gitlab.com/russoj88/stl) Modules to read and write STL (stereolithography) files. Concurrent algorithm for reading.
2023-06-19 07:27:31 +08:00
- [checksum](https://github.com/codingsince1985/checksum) **star:88** 计算消息摘要如MD5, SHA256, SHA1, CRC或BLAKE2s对于大文件。 [![godoc][D]](https://godoc.org/github.com/codingsince1985/checksum)
2023-08-02 07:21:08 +08:00
- [parquet](https://github.com/parsyl/parquet) **star:83** 读写[parquet](https://parquet.apache.org)文件。 [![godoc][D]](https://godoc.org/github.com/parsyl/parquet)
2023-02-23 07:27:01 +08:00
- [opc](https://github.com/qmuntal/opc) **star:74** 加载Open Packaging Conventions (OPC)文件。 [![godoc][D]](https://godoc.org/github.com/qmuntal/opc)
2023-06-26 07:28:04 +08:00
- [tarfs](https://github.com/posener/tarfs) **star:56** tar文件的实现[ FileSystem 接口](https://godoc.org/github.com/kr/fs#FileSystem)。 [![近三年未更新][Y]](https://github.com/posener/tarfs) [![godoc][D]](https://godoc.org/github.com/posener/tarfs)
2023-07-12 07:22:59 +08:00
- [baraka](https://github.com/xis/baraka) **star:50** 一个轻松处理http文件上传的库。 [![godoc][D]](https://godoc.org/github.com/xis/baraka)
2023-08-02 07:21:08 +08:00
- [go-gtfs](https://github.com/artonge/go-gtfs) **star:37** 加载gtfs文件。 [![godoc][D]](https://godoc.org/github.com/artonge/go-gtfs)
2023-05-31 07:26:28 +08:00
- [flop](https://github.com/homedepot/flop) **star:34** 文件操作库,是[GNU cp](https://www.gnu.org/software/coreutils/manual/html_node/cp-invoc.html)的镜像。 [![godoc][D]](https://godoc.org/github.com/homedepot/flop)
2023-04-15 10:58:14 +08:00
- [gut/yos](https://github.com/1set/gut) **star:26** 简单和可靠的包文件操作,如复制/移动/diff/列表的文件,目录和符号链接。 [![godoc][D]](https://godoc.org/github.com/1set/gut)
- [go-decent-copy](https://github.com/hugocarreira/go-decent-copy) **star:19** 拷贝文件。 [![近三年未更新][Y]](https://github.com/hugocarreira/go-decent-copy) [![godoc][D]](https://godoc.org/github.com/hugocarreira/go-decent-copy)
2023-06-26 07:28:04 +08:00
- [todotxt](https://github.com/1set/todotxt) **star:19** 去吉娜·特拉帕尼的[_todo.txt_](http://todotxt.org/)文件库,支持解析和操作[_todo.txt_格式](https://github.com/todotxt/todo.txt)的任务列表。 [![godoc][D]](https://godoc.org/github.com/1set/todotxt)
2023-07-10 07:28:10 +08:00
- [higgs](https://github.com/dastoori/higgs) **star:16** 一个小小的跨平台Go库用于隐藏/取消隐藏文件和目录。 [![godoc][D]](https://godoc.org/github.com/dastoori/higgs)
2022-10-05 07:28:40 +08:00
- [pathtype](https://github.com/jonchun/pathtype) **star:12** 将路径视为它们自己的类型,而不是使用字符串。 [![godoc][D]](https://godoc.org/github.com/jonchun/pathtype)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 金融
2022-03-22 12:36:07 +08:00
_会计和财务软件包。 (翻译出错了? 试试 [英文版](README_EN.md#financial) 吧~)_
2023-08-04 07:26:48 +08:00
- [decimal](https://github.com/shopspring/decimal) **star:5243** 任意精度定点的十进制数。 [![godoc][D]](https://godoc.org/github.com/shopspring/decimal)
- [ticker](https://github.com/achannarasappa/ticker) **star:4617** 终端库存观察和库存位置跟踪。 [![godoc][D]](https://godoc.org/github.com/achannarasappa/ticker)
- [go-money](https://github.com/rhymond/go-money) **star:1340** Fowler 货币模式的实现。 [![godoc][D]](https://godoc.org/github.com/rhymond/go-money)
- [bbgo](https://github.com/c9s/bbgo) **star:927** A crypto trading bot framework written in Go. Including common crypto exchange API, standard indicators, back-testing and many built-in strategies. [![近一周有更新][G]](https://github.com/c9s/bbgo) [![godoc][D]](https://godoc.org/github.com/c9s/bbgo)
- [accounting](https://github.com/leekchan/accounting) **star:821** 货币和货币格式。 [![godoc][D]](https://godoc.org/github.com/leekchan/accounting)
2023-08-02 07:21:08 +08:00
- [techan](https://github.com/sdcoffey/techan) **star:734** 拥有先进的市场分析和交易策略的技术分析库。 [![godoc][D]](https://godoc.org/github.com/sdcoffey/techan)
2023-07-27 07:20:38 +08:00
- [currency](https://github.com/bojanz/currency) **star:410** 处理货币金额,提供货币信息和格式。 [![godoc][D]](https://godoc.org/github.com/bojanz/currency)
2023-08-04 07:26:48 +08:00
- [ach](https://github.com/moov-io/ach) **star:378** A reader, writer, and validator for Automated Clearing House (ACH) files. [![近一周有更新][G]](https://github.com/moov-io/ach) [![godoc][D]](https://godoc.org/github.com/moov-io/ach)
- [orderbook](https://github.com/i25959341/orderbook) **star:346** 限购单匹配引擎。 [![godoc][D]](https://godoc.org/github.com/i25959341/orderbook)
2023-07-17 07:22:48 +08:00
- [go-finance](https://github.com/alpeb/go-finance) **star:150** 用于货币时间价值(年金)、现金流、利率转换、债券和折旧计算的金融函数库。 [![godoc][D]](https://godoc.org/github.com/alpeb/go-finance)
- [transaction](https://github.com/claygod/transaction) **star:123** 嵌入式事务数据库,可多线程模式运行。 [![godoc][D]](https://godoc.org/github.com/claygod/transaction)
2023-08-02 07:21:08 +08:00
- [sleet](https://github.com/BoltApp/sleet) **star:121** 多个付款服务供应商使用统一界面处理网上付款。 [![近一周有更新][G]](https://github.com/BoltApp/sleet) [![godoc][D]](https://godoc.org/github.com/BoltApp/sleet)
2023-05-09 07:21:25 +08:00
- [ofxgo](https://github.com/aclindsa/ofxgo) **star:117** 查询 OFX 服务器和/或解析响应。 [![godoc][D]](https://godoc.org/github.com/aclindsa/ofxgo)
2023-01-28 07:26:39 +08:00
- [vat](https://github.com/dannyvankooten/vat) **star:101** 增值税编号验证 & 欧盟增值税税率。 [![godoc][D]](https://godoc.org/github.com/dannyvankooten/vat) [![归档项目][Archived]](https://github.com/dannyvankooten/vat)
2023-07-03 07:26:28 +08:00
- [go-finnhub](https://github.com/m1/go-finnhub) **star:79** 来自finnhu .io的股票市场、外汇和密码数据客户。从60多个证券交易所、10个外汇经纪人和15多个密码交易所获取实时金融市场数据。 [![近三年未更新][Y]](https://github.com/m1/go-finnhub) [![godoc][D]](https://godoc.org/github.com/m1/go-finnhub) [![归档项目][Archived]](https://github.com/m1/go-finnhub)
2023-08-02 07:21:08 +08:00
- [currency](https://github.com/bnkamalesh/currency) **star:52** 高性能、准确的货币计算软件包。 [![godoc][D]](https://godoc.org/github.com/bnkamalesh/currency)
2023-06-07 07:22:22 +08:00
- [fpdecimal](https://github.com/nikolaydubina/fpdecimal) **star:22** Fast and precise serialization and arithmetic for small fixed-point decimals [![godoc][D]](https://godoc.org/github.com/nikolaydubina/fpdecimal)
2023-07-17 07:22:48 +08:00
- [payme](https://github.com/jovandeginste/payme) **star:22** 二维码生成器(ASCII & PNG)用于SEPA支付。 [![godoc][D]](https://godoc.org/github.com/jovandeginste/payme)
2023-08-02 07:21:08 +08:00
- [fpmoney](https://github.com/nikolaydubina/fpmoney) **star:20** Fast and simple ISO4217 fixed-point decimal money. [![godoc][D]](https://godoc.org/github.com/nikolaydubina/fpmoney)
2023-07-17 07:22:48 +08:00
- [go-finance](https://github.com/pieterclaerhout/go-finance) **star:13** 模块获取汇率通过VIES检查增值税号码检查IBAN银行账号。 [![godoc][D]](https://godoc.org/github.com/pieterclaerhout/go-finance)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-07-01 18:49:40 +08:00
## 表单
2019-06-27 17:22:00 +08:00
2022-03-22 12:36:07 +08:00
_用于处理表单的库。 (翻译出错了? 试试 [英文版](README_EN.md#forms) 吧~)_
2019-06-27 17:22:00 +08:00
2023-08-04 07:26:48 +08:00
- [nosurf](https://github.com/justinas/nosurf) **star:1428** CSRF保护中间件。 [![godoc][D]](https://godoc.org/github.com/justinas/nosurf)
- [gorilla/csrf](https://github.com/gorilla/csrf) **star:900** 用于Go web应用程序和服务的CSRF保护。 [![近一周有更新][G]](https://github.com/gorilla/csrf) [![godoc][D]](https://godoc.org/github.com/gorilla/csrf)
2023-07-27 07:20:38 +08:00
- [binding](https://github.com/mholt/binding) **star:795** 将来自 net/HTTP 请求的表单、JSON 数据绑定到结构体。 [![近三年未更新][Y]](https://github.com/mholt/binding) [![godoc][D]](https://godoc.org/github.com/mholt/binding) [![归档项目][Archived]](https://github.com/mholt/binding)
2023-08-04 07:26:48 +08:00
- [form](https://github.com/go-playground/form) **star:616** 将 url 中的数据解析到 Go 变量中,以及将 Go 语言变量编码进 url。支持 Dual Array 及 Full map。 [![godoc][D]](https://godoc.org/github.com/go-playground/form)
2023-07-27 07:20:38 +08:00
- [conform](https://github.com/leebenson/conform) **star:308** 控制用户输入。基于struct tags可对数据进行修剪、清理和擦除。 [![godoc][D]](https://godoc.org/github.com/leebenson/conform)
2023-08-02 07:21:08 +08:00
- [httpin](https://github.com/ggicci/httpin) **star:189** 将HTTP请求解码为自定义结构包括查询字符串、表单、HTTP头等。 [![godoc][D]](https://godoc.org/github.com/ggicci/httpin)
2023-07-20 07:26:36 +08:00
- [formam](https://github.com/monoculum/formam) **star:181** 将表单的值解码为 struct。 [![godoc][D]](https://godoc.org/github.com/monoculum/formam)
2023-08-02 07:21:08 +08:00
- [forms](https://github.com/albrow/forms) **star:133** 与框架无关的库,用于解析和验证支持多部分表单和文件的表单/JSON数据。 [![godoc][D]](https://godoc.org/github.com/albrow/forms)
2023-04-15 10:58:14 +08:00
- [qs](https://github.com/sonh/qs) **star:67** 去模块编码结构到URL查询参数。 [![godoc][D]](https://godoc.org/github.com/sonh/qs)
2022-10-05 07:28:40 +08:00
- [bind](https://github.com/robfig/bind) **star:28** 将表单数据与任意 Go 变量进行绑定。 [![近三年未更新][Y]](https://github.com/robfig/bind) [![godoc][D]](https://godoc.org/github.com/robfig/bind)
2023-06-26 07:28:04 +08:00
- [queryparam](https://github.com/tomwright/queryparam) **star:17** 解码的url。值转换为标准或自定义类型的可用结构值。 [![godoc][D]](https://godoc.org/github.com/tomwright/queryparam)
2022-10-05 07:28:40 +08:00
- [gbind](https://github.com/bdjimmy/gbind) **star:8** Bind data to any Go value. Can use built-in and custom expression binding capabilities; supports data validation [![godoc][D]](https://godoc.org/github.com/bdjimmy/gbind) [![包含中文文档][CN]](https://github.com/bdjimmy/gbind)
2019-06-27 17:22:00 +08:00
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-07-01 18:49:40 +08:00
## 方法
2019-06-27 17:22:00 +08:00
2022-03-22 12:36:07 +08:00
_在Go中支持函数式编程的包。 (翻译出错了? 试试 [英文版](README_EN.md#functional) 吧~)_
2019-06-27 17:22:00 +08:00
2023-08-04 07:26:48 +08:00
- [mo](https://github.com/samber/mo) **star:1683** Monads and popular FP abstractions, based on Go 1.18+ Generics (Option, Result, Either...). [![godoc][D]](https://godoc.org/github.com/samber/mo)
2023-07-27 07:20:38 +08:00
- [go-underscore](https://github.com/tobyhede/go-underscore) **star:1290** 常用辅助方法集合。 [![godoc][D]](https://godoc.org/github.com/tobyhede/go-underscore)
2023-07-20 07:26:36 +08:00
- [fpGo](https://github.com/TeaEntityLab/fpGo) **star:323** 提供函数式编程功能。 [![godoc][D]](https://godoc.org/github.com/TeaEntityLab/fpGo)
2023-08-04 07:26:48 +08:00
- [fp-go](https://github.com/repeale/fp-go) **star:241** Collection of Functional Programming helpers powered by Golang 1.18+ generics. [![godoc][D]](https://godoc.org/github.com/repeale/fp-go)
- [fuego](https://github.com/seborama/fuego) **star:141** Functional Experiment in Go。 [![godoc][D]](https://godoc.org/github.com/seborama/fuego)
2023-07-27 07:20:38 +08:00
- [gofp](https://github.com/rbrahul/gofp) **star:139** 一个类似lodash的强大的Golang实用程序库。 [![godoc][D]](https://godoc.org/github.com/rbrahul/gofp)
- [underscore](https://github.com/rjNemo/underscore) **star:89** Go 1.18及以上版本的函数式编程助手。 [![godoc][D]](https://godoc.org/github.com/rjNemo/underscore)
2023-08-04 07:26:48 +08:00
- [valor](https://github.com/phelmkamp/valor) **star:14** Generic option and result types that optionally contain a value. [![godoc][D]](https://godoc.org/github.com/phelmkamp/valor)
2019-06-27 17:22:00 +08:00
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 游戏开发
2022-03-22 12:36:07 +08:00
_很棒的游戏开发库。 (翻译出错了? 试试 [英文版](README_EN.md#game-development) 吧~)_
2023-08-04 07:26:48 +08:00
- [Ebitengine](https://github.com/hajimehoshi/ebiten) **star:8531** dead simple 2D game engine in Go. [![近一周有更新][G]](https://github.com/hajimehoshi/ebiten) [![godoc][D]](https://godoc.org/github.com/hajimehoshi/ebiten)
- [Leaf](https://github.com/name5566/leaf) **star:4934** 轻量级游戏服务器框架。 [![godoc][D]](https://godoc.org/github.com/name5566/leaf) [![包含中文文档][CN]](https://github.com/name5566/leaf)
- [Pixel](https://github.com/faiface/pixel) **star:4281** 手工制作的 2D 游戏库。 [![godoc][D]](https://godoc.org/github.com/faiface/pixel)
2023-08-02 07:21:08 +08:00
- [nano](https://github.com/lonng/nano) **star:2431** 轻量级、方便、高性能的基于golang的游戏服务器框架。 [![godoc][D]](https://godoc.org/github.com/lonng/nano) [![包含中文文档][CN]](https://github.com/lonng/nano)
2023-08-04 07:26:48 +08:00
- [g3n](https://github.com/g3n/engine) **star:2398** 3D游戏引擎。 [![godoc][D]](https://godoc.org/github.com/g3n/engine)
- [goworld](https://github.com/xiaonanln/goworld) **star:2377** 可伸缩的游戏服务器引擎,具有 space-entity 框架和 hot-swapping 功能。 [![godoc][D]](https://godoc.org/github.com/xiaonanln/goworld) [![包含中文文档][CN]](https://github.com/xiaonanln/goworld)
- [go-sdl2](https://github.com/veandco/go-sdl2) **star:2003** 实现了[Simple DirectMedia Layer](https://www.libsdl.org/)。
- [Pitaya](https://github.com/topfreegames/pitaya) **star:1898** 可伸缩的游戏服务器框架支持集群和客户端库的iOS, Android, Unity。 [![近一周有更新][G]](https://github.com/topfreegames/pitaya) [![godoc][D]](https://godoc.org/github.com/topfreegames/pitaya)
- [engo](https://github.com/EngoEngine/engo) **star:1629** 开源 2D 游戏引擎。它遵循 Entity-Component-System 范式。 [![近一周有更新][G]](https://github.com/EngoEngine/engo) [![godoc][D]](https://godoc.org/github.com/EngoEngine/engo)
- [Oak](https://github.com/oakmound/oak) **star:1425** 纯 Go 实现的游戏引擎。 [![godoc][D]](https://godoc.org/github.com/oakmound/oak)
- [termloop](https://github.com/JoelOtter/termloop) **star:1361** 基于终端的 Go 游戏引擎,建立在 Termbox 之上。 [![godoc][D]](https://godoc.org/github.com/JoelOtter/termloop)
2023-07-27 07:20:38 +08:00
- [gonet](https://github.com/xtaci/gonet) **star:1228** 实现了游戏服务器骨架。 [![近三年未更新][Y]](https://github.com/xtaci/gonet) [![godoc][D]](https://godoc.org/github.com/xtaci/gonet)
2023-08-04 07:26:48 +08:00
- [raylib-go](https://github.com/gen2brain/raylib-go) **star:1028** 去绑定[raylib](https://www.raylib.com/),一个简单易用的库学习视频游戏编程。
2023-08-02 07:21:08 +08:00
- [Azul3D](https://github.com/azul3d/engine) **star:585** 用Go编写的 3D 游戏引擎。
2023-08-04 07:26:48 +08:00
- [go-astar](https://github.com/beefsack/go-astar) **star:555** 实现了A\*路径查找算法。 [![godoc][D]](https://godoc.org/github.com/beefsack/go-astar)
2023-08-02 07:21:08 +08:00
- [Harfang3D](https://github.com/harfang3d/harfang3d) **star:354** 3D engine for the Go language, works on Windows and Linux ([Harfang on Go.dev](https://github.com/harfang3d/harfang-go)).
2023-07-17 07:22:48 +08:00
- [go3d](https://github.com/ungerik/go3d) **star:285** 以性能为主的2D/3D数学相关包。 [![godoc][D]](https://godoc.org/github.com/ungerik/go3d)
2023-07-27 07:20:38 +08:00
- [tile](https://github.com/kelindar/tile) **star:108** 面向数据和缓存友好的2D网格库(TileMap),包括寻路、观察者和导入/导出。 [![godoc][D]](https://godoc.org/github.com/kelindar/tile)
2023-01-29 07:24:47 +08:00
- [prototype](https://github.com/gonutz/prototype) **star:81** 跨平台(Windows/Linux/Mac)库用于使用最少的API创建桌面游戏。 [![godoc][D]](https://godoc.org/github.com/gonutz/prototype)
2023-07-27 07:20:38 +08:00
- [fantasyname](https://github.com/s0rg/fantasyname) **star:19** Fantasy names generator. [![godoc][D]](https://godoc.org/github.com/s0rg/fantasyname)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2022-04-08 20:10:43 +08:00
## 发电机
2019-06-27 17:22:00 +08:00
2022-04-08 20:10:43 +08:00
_生成Go代码的工具。 (翻译出错了? 试试 [英文版](README_EN.md#generators) 吧~)_
2022-03-22 12:36:07 +08:00
2023-08-04 07:26:48 +08:00
- [go-linq](https://github.com/ahmetalpbalkan/go-linq) **star:3337** 提供类似 .NET LINQ 的查询方法。 [![godoc][D]](https://godoc.org/github.com/ahmetalpbalkan/go-linq)
- [jennifer](https://github.com/dave/jennifer) **star:2963** 不使用模板生成任意 Go 代码。 [![近一周有更新][G]](https://github.com/dave/jennifer) [![godoc][D]](https://godoc.org/github.com/dave/jennifer)
2023-07-27 07:20:38 +08:00
- [goderive](https://github.com/awalterschulze/goderive) **star:1119** 从输入类型来派生函数。 [![godoc][D]](https://godoc.org/github.com/awalterschulze/goderive)
2023-08-02 07:21:08 +08:00
- [GoWrap](https://github.com/hexdigest/gowrap) **star:785** 使用简单模板为 Go 接口生成装饰器。 [![godoc][D]](https://godoc.org/github.com/hexdigest/gowrap)
2023-08-04 07:26:48 +08:00
- [go-enum](https://github.com/abice/go-enum) **star:532** 从代码注释中生成枚举。 [![godoc][D]](https://godoc.org/github.com/abice/go-enum)
2023-07-27 07:20:38 +08:00
- [interfaces](https://github.com/rjeczalik/interfaces) **star:397** 用于生成接口定义的命令行工具。 [![godoc][D]](https://godoc.org/github.com/rjeczalik/interfaces)
2023-08-04 07:26:48 +08:00
- [goverter](https://github.com/jmattheis/goverter) **star:286** 通过定义接口生成转换器。 [![godoc][D]](https://godoc.org/github.com/jmattheis/goverter)
- [copygen](https://github.com/switchupcb/copygen) **star:272** Generate type-to-type and type-based code without reflection. [![godoc][D]](https://godoc.org/github.com/switchupcb/copygen)
2023-06-19 07:27:31 +08:00
- [gotype](https://github.com/wzshiming/gotype) **star:54** Golang 源码解析用法类似reflect(反射)。 [![godoc][D]](https://godoc.org/github.com/wzshiming/gotype) [![包含中文文档][CN]](https://github.com/wzshiming/gotype)
2023-08-04 07:26:48 +08:00
- [generis](https://github.com/senselogic/GENERIS) **star:42** 提供泛型、free-form 宏、条件编译和HTML模板的代码生成工具。
- [typeregistry](https://github.com/xiaoxin01/typeregistry) **star:20** 动态创建类型的库。 [![近三年未更新][Y]](https://github.com/xiaoxin01/typeregistry) [![godoc][D]](https://godoc.org/github.com/xiaoxin01/typeregistry)
- [convergen](https://github.com/reedom/convergen) **star:7** Feature rich type-to-type copy code generator. [![godoc][D]](https://godoc.org/github.com/reedom/convergen)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 地理
2022-03-22 12:36:07 +08:00
_地理工具和服务器 (翻译出错了? 试试 [英文版](README_EN.md#geographic) 吧~)_
2019-06-27 17:22:00 +08:00
2023-08-04 07:26:48 +08:00
- [Tile38](https://github.com/tidwall/tile38) **star:8628** 具有空间索引和实时地理定位功能的地理定位数据库。 [![近一周有更新][G]](https://github.com/tidwall/tile38) [![godoc][D]](https://godoc.org/github.com/tidwall/tile38)
- [S2 geometry](https://github.com/golang/geo) **star:1553** S2 geometry 库。 [![godoc][D]](https://godoc.org/github.com/golang/geo)
2023-08-02 07:21:08 +08:00
- [mbtileserver](https://github.com/consbio/mbtileserver) **star:512** 一个简单的基于go的服务器用于存储mbtiles格式的地图块。 [![godoc][D]](https://godoc.org/github.com/consbio/mbtileserver)
- [osm](https://github.com/paulmach/osm) **star:280** 用于读取、写入和处理 OpenStreetMap 数据和 APIs。 [![godoc][D]](https://godoc.org/github.com/paulmach/osm)
- [H3](https://github.com/uber/h3-go) **star:234** Go bindings for H3, a hierarchical hexagonal geospatial indexing system. [![godoc][D]](https://godoc.org/github.com/uber/h3-go)
- [godal](https://github.com/airbusgeo/godal) **star:100** 去包装GDAL。 [![godoc][D]](https://godoc.org/github.com/airbusgeo/godal)
2023-08-04 07:26:48 +08:00
- [simplefeatures](https://github.com/peterstace/simplefeatures) **star:89** simplesfeatures是一个2D几何库提供了建模几何图形的Go类型以及对几何图形进行操作的算法。 [![godoc][D]](https://godoc.org/github.com/peterstace/simplefeatures)
2023-07-27 07:20:38 +08:00
- [geoserver](https://github.com/hishamkaram/geoserver) **star:83** 基于geoserver REST API的 geoserver 实例。 [![godoc][D]](https://godoc.org/github.com/hishamkaram/geoserver)
2023-04-15 10:58:14 +08:00
- [gismanager](https://github.com/hishamkaram/gismanager) **star:50** 将你的 GIS 数据(矢量数据)发布到 PostGIS 和 Geoserver。 [![近三年未更新][Y]](https://github.com/hishamkaram/gismanager) [![godoc][D]](https://godoc.org/github.com/hishamkaram/gismanager)
2023-07-12 07:22:59 +08:00
- [pbf](https://github.com/maguro/pbf) **star:45** 基于Golang 的 OpenStreetMap PBF 编码器/解码器。 [![godoc][D]](https://godoc.org/github.com/maguro/pbf)
2023-08-02 07:21:08 +08:00
- [S2 geojson](https://github.com/pantrif/s2-geojson) **star:25** 将geojson转换为s2单元格&在map上演示一些s2的几何特性。 [![近三年未更新][Y]](https://github.com/pantrif/s2-geojson) [![godoc][D]](https://godoc.org/github.com/pantrif/s2-geojson)
2022-10-05 07:28:40 +08:00
- [H3 GeoJSON](https://github.com/mmadfox/go-geojson2h3) **star:3** Conversion utilities between H3 indexes and GeoJSON. [![godoc][D]](https://godoc.org/github.com/mmadfox/go-geojson2h3)
- [H3GeoDist](https://github.com/mmadfox/go-h3geo-dist) **star:1** Distribution of Uber H3geo cells by virtual nodes. [![godoc][D]](https://godoc.org/github.com/mmadfox/go-h3geo-dist)
2022-04-08 20:10:43 +08:00
- [Web-Mercator-Projection](https://github.com/jorelosorio/web-mercator-projection) A project to easily use and convert LonLat, Point and Tile to display info, markers, etc, in a map using the Web Mercator Projection.
2023-07-07 07:24:47 +08:00
- [WGS84](https://github.com/wroge/wgs84) **star:99** 坐标转换和转换库(ETRS89, OSGB36, NAD83, RGF93, Web Mercator, UTM)。 [![godoc][D]](https://godoc.org/github.com/wroge/wgs84)
2019-06-27 17:22:00 +08:00
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## Go 编译器
2022-03-22 12:36:07 +08:00
_可将 Go 转换为其他语言的编译工具。 (翻译出错了? 试试 [英文版](README_EN.md#go-compilers) 吧~)_
2019-06-27 17:22:00 +08:00
2023-08-04 07:26:48 +08:00
- [gopherjs](https://github.com/gopherjs/gopherjs) **star:12046** 将 Go 编译成 JavaScript。 [![近一周有更新][G]](https://github.com/gopherjs/gopherjs) [![godoc][D]](https://godoc.org/github.com/gopherjs/gopherjs)
2023-08-02 07:21:08 +08:00
- [tardisgo](https://github.com/tardisgo/tardisgo) **star:426** Golang 转换为 Haxe再转换为 CPP/CSharp/Java/JavaScript 的编译器. [![近三年未更新][Y]](https://github.com/tardisgo/tardisgo) [![godoc][D]](https://godoc.org/github.com/tardisgo/tardisgo)
- [c4go](https://github.com/Konstantin8105/c4go) **star:336** 将 C 代码转换为 Go 代码。
2023-07-27 07:20:38 +08:00
- [c2go](https://github.com/goplus/c2go) **star:267** Convert C code to Go code. [![godoc][D]](https://godoc.org/github.com/goplus/c2go)
2023-06-19 07:27:31 +08:00
- [esp32](https://github.com/andygeiss/esp32-transpiler) **star:70** 转到Arduino代码。 [![godoc][D]](https://godoc.org/github.com/andygeiss/esp32-transpiler)
2023-04-15 10:58:14 +08:00
- [f4go](https://github.com/Konstantin8105/f4go) **star:36** 将 FORTRAN 77 转换为 Go代码。 [![godoc][D]](https://godoc.org/github.com/Konstantin8105/f4go)
2019-06-25 18:06:22 +08:00
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-25 18:06:22 +08:00
## Goroutines
2022-03-22 12:36:07 +08:00
_管理和处理 Goroutines 的工具。 (翻译出错了? 试试 [英文版](README_EN.md#goroutines) 吧~)_
2023-08-04 07:26:48 +08:00
- [ants](https://github.com/panjf2000/ants) **star:10775** 一个高性能且低损耗的 goroutine 池。 [![godoc][D]](https://godoc.org/github.com/panjf2000/ants) [![包含中文文档][CN]](https://github.com/panjf2000/ants)
- [conc](https://github.com/sourcegraph/conc) **star:7036** `conc` is your toolbelt for structured concurrency in go, making common tasks easier and safer. [![近一周有更新][G]](https://github.com/sourcegraph/conc) [![godoc][D]](https://godoc.org/github.com/sourcegraph/conc)
- [tunny](https://github.com/Jeffail/tunny) **star:3646** golang 的协程池。 [![godoc][D]](https://godoc.org/github.com/Jeffail/tunny)
2023-08-02 07:21:08 +08:00
- [goworker](https://github.com/benmanns/goworker) **star:2744** 基于 go 的后台 worker。 [![godoc][D]](https://godoc.org/github.com/benmanns/goworker)
2023-08-04 07:26:48 +08:00
- [workerpool](https://github.com/gammazero/workerpool) **star:1113** 限制任务执行并发数,而不是队列中的任务数量的协程池,。 [![godoc][D]](https://godoc.org/github.com/gammazero/workerpool)
- [pond](https://github.com/alitto/pond) **star:935** 简约和高性能的goroutine工作池写在Go。 [![godoc][D]](https://godoc.org/github.com/alitto/pond)
2023-07-03 07:26:28 +08:00
- [grpool](https://github.com/ivpusic/grpool) **star:729** 轻量级协程池。 [![近三年未更新][Y]](https://github.com/ivpusic/grpool) [![godoc][D]](https://godoc.org/github.com/ivpusic/grpool)
2023-08-02 07:21:08 +08:00
- [pool](https://github.com/go-playground/pool) **star:719** 有限消费者协程或无限协程池,可用于更加简单的处理和取消协程 [![godoc][D]](https://godoc.org/github.com/go-playground/pool)
- [gowp](https://github.com/xxjwxc/gowp) **star:470** gowp是高并发性限制异步工作池。 [![godoc][D]](https://godoc.org/github.com/xxjwxc/gowp) [![包含中文文档][CN]](https://github.com/xxjwxc/gowp)
2023-04-27 07:22:09 +08:00
- [go-floc](https://github.com/workanator/go-floc) **star:262** 轻松编排 goroutines。 [![godoc][D]](https://godoc.org/github.com/workanator/go-floc)
2023-07-27 07:20:38 +08:00
- [go-flow](https://github.com/kamildrazkiewicz/go-flow) **star:214** 控制 goroutines 的执行顺序。 [![近三年未更新][Y]](https://github.com/kamildrazkiewicz/go-flow) [![godoc][D]](https://godoc.org/github.com/kamildrazkiewicz/go-flow)
- [artifex](https://github.com/borderstech/artifex) **star:174** 简单的内存作业队列。 [![godoc][D]](https://godoc.org/github.com/borderstech/artifex)
2023-07-17 07:22:48 +08:00
- [go-workers](https://github.com/catmullet/go-workers) **star:160** 为大型数据处理管道轻松安全地运行工人。 [![godoc][D]](https://godoc.org/github.com/catmullet/go-workers)
2023-06-29 07:26:27 +08:00
- [semaphore](https://github.com/marusama/semaphore) **star:160** 基于 CAS 的可快速调整的信号量实现(比基于通道的信号量实现更快)。 [![godoc][D]](https://godoc.org/github.com/marusama/semaphore)
2023-06-07 07:22:22 +08:00
- [neilotoole/errgroup](https://github.com/neilotoole/errgroup) **star:148** “sync/errgroup”的替代方案仅限于N个worker goroutines池。 [![godoc][D]](https://godoc.org/github.com/neilotoole/errgroup)
2023-08-04 07:26:48 +08:00
- [routine](https://github.com/timandy/routine) **star:142** `routine` is a `ThreadLocal` for go library. It encapsulates and provides some easy-to-use, non-competitive, high-performance `goroutine` context access interfaces, which can help you access coroutine context information more gracefully. [![godoc][D]](https://godoc.org/github.com/timandy/routine) [![包含中文文档][CN]](https://github.com/timandy/routine)
- [flowmatic](https://github.com/carlmjohnson/flowmatic) **star:138** Structured concurrency made easy. [![近一周有更新][G]](https://github.com/carlmjohnson/flowmatic) [![godoc][D]](https://godoc.org/github.com/carlmjohnson/flowmatic)
- [async](https://github.com/reugn/async) **star:129** 可选的Go同步库(Future, Promise, Locks)。 [![近一周有更新][G]](https://github.com/reugn/async) [![godoc][D]](https://godoc.org/github.com/reugn/async)
2023-07-27 07:20:38 +08:00
- [cyclicbarrier](https://github.com/marusama/cyclicbarrier) **star:128** 基于 Go 的 CyclicBarrier 实现。 [![近三年未更新][Y]](https://github.com/marusama/cyclicbarrier) [![godoc][D]](https://godoc.org/github.com/marusama/cyclicbarrier)
- [async](https://github.com/studiosol/async) **star:122** 一种异步执行函数的安全方法,在出现 panic 时恢复它们。 [![godoc][D]](https://godoc.org/github.com/studiosol/async)
2023-06-26 07:28:04 +08:00
- [gollback](https://github.com/vardius/gollback) **star:110** 异步简单的函数实用程序,用于管理闭包和回调的执行。 [![godoc][D]](https://godoc.org/github.com/vardius/gollback)
2023-06-19 07:27:31 +08:00
- [semaphore](https://github.com/kamilsk/semaphore) **star:96** 信号量模式实现,可根据通道和上下文进行具备超时功能的锁定/解锁操作。 [![近三年未更新][Y]](https://github.com/kamilsk/semaphore) [![godoc][D]](https://godoc.org/github.com/kamilsk/semaphore)
2023-04-15 10:58:14 +08:00
- [Hunch](https://github.com/AaronJan/Hunch) **star:95** Hunch 提供了诸如 All、First、Retry、Waterfall 等功能,这使得异步流控制更加直观。 [![godoc][D]](https://godoc.org/github.com/AaronJan/Hunch)
2023-08-02 07:21:08 +08:00
- [threadpool](https://github.com/shettyh/threadpool) **star:94** Golang 的 threadpool 实现。 [![近三年未更新][Y]](https://github.com/shettyh/threadpool) [![godoc][D]](https://godoc.org/github.com/shettyh/threadpool)
2023-06-19 07:27:31 +08:00
- [worker-pool](https://github.com/vardius/worker-pool) **star:87** 一个简单的 Go 异步工作池。 [![godoc][D]](https://godoc.org/github.com/vardius/worker-pool)
2023-07-07 07:24:47 +08:00
- [gpool](https://github.com/Sherifabdlnaby/gpool) **star:86** manages a resizeable pool of context-aware goroutines to bound concurrency [![近三年未更新][Y]](https://github.com/Sherifabdlnaby/gpool) [![godoc][D]](https://godoc.org/github.com/Sherifabdlnaby/gpool)
2023-08-04 07:26:48 +08:00
- [go-actor](https://github.com/vladopajic/go-actor) **star:67** A tiny library for writing concurrent programs using actor model. [![godoc][D]](https://godoc.org/github.com/vladopajic/go-actor)
2023-08-02 07:21:08 +08:00
- [goccm](https://github.com/zenthangplus/goccm) **star:66** Go并发管理器包限制了允许并发运行的goroutines的数量。 [![godoc][D]](https://godoc.org/github.com/zenthangplus/goccm)
2023-07-20 07:26:36 +08:00
- [nursery](https://github.com/arunsworld/nursery) **star:64** Go中的结构化并发。 [![godoc][D]](https://godoc.org/github.com/arunsworld/nursery)
2022-03-22 12:36:07 +08:00
- [oversight](https://cirello.io/oversight) 完整的实现了Erlang supervision trees。
2023-08-04 07:26:48 +08:00
- [gowl](https://github.com/hamed-yousefi/gowl) **star:59** Gowl同时是一个流程管理和流程监控工具。无限工作者池使您能够控制池和进程并监视它们的状态。 [![godoc][D]](https://godoc.org/github.com/hamed-yousefi/gowl)
2023-06-19 07:27:31 +08:00
- [routine](https://github.com/x-mod/routine) **star:57** go routine control with context, support: Main, Go, Pool and some useful Executors. [![godoc][D]](https://godoc.org/github.com/x-mod/routine)
2023-07-07 07:24:47 +08:00
- [gohive](https://github.com/loveleshsharma/gohive) **star:44** 一个高性能和易于使用的Goroutine池去。 [![godoc][D]](https://godoc.org/github.com/loveleshsharma/gohive)
2023-07-17 07:22:48 +08:00
- [kyoo](https://github.com/dirkaholic/kyoo) **star:42** 提供无限的作业队列和并发工作池。 [![godoc][D]](https://godoc.org/github.com/dirkaholic/kyoo)
2023-06-19 07:27:31 +08:00
- [go-waitgroup](https://github.com/pieterclaerhout/go-waitgroup) **star:41** 像“同步。有错误处理和并发控制。 [![godoc][D]](https://godoc.org/github.com/pieterclaerhout/go-waitgroup)
2023-04-15 10:58:14 +08:00
- [parallel-fn](https://github.com/rafaeljesus/parallel-fn) **star:35** 并行运行函数。 [![近三年未更新][Y]](https://github.com/rafaeljesus/parallel-fn) [![godoc][D]](https://godoc.org/github.com/rafaeljesus/parallel-fn)
2023-02-13 07:25:43 +08:00
- [go-trylock](https://github.com/subchen/go-trylock) **star:33** 支持 read-write 锁。 [![godoc][D]](https://godoc.org/github.com/subchen/go-trylock)
2023-02-06 07:25:49 +08:00
- [channelify](https://github.com/ddelizia/channelify) **star:27** 将函数转换为返回通道,以便进行简单而强大的并行处理。 [![godoc][D]](https://godoc.org/github.com/ddelizia/channelify)
2023-07-20 07:26:36 +08:00
- [stl](https://github.com/ssgreg/stl) **star:27** 基于软件事务内存(STM)并发控制机制的软件事务锁。 [![近三年未更新][Y]](https://github.com/ssgreg/stl) [![godoc][D]](https://godoc.org/github.com/ssgreg/stl)
- [breaker](https://github.com/kamilsk/breaker) **star:15** 灵活的机制,可以使执行流可中断。
2023-08-02 07:21:08 +08:00
- [concurrency-limiter](https://github.com/vivek-ng/concurrency-limiter) **star:15** 支持超时、动态优先级和上下文取消的并发限制器。 [![godoc][D]](https://godoc.org/github.com/vivek-ng/concurrency-limiter)
2023-07-27 07:20:38 +08:00
- [execpool](https://github.com/hexdigest/execpool) **star:15** 一个围绕exec建立的池。Cmd它预先启动给定数量的进程并在需要时将stdin和stdout附加到它们。非常类似于FastCGI或Apache Prefork MPM但适用于任何命令。 [![godoc][D]](https://godoc.org/github.com/hexdigest/execpool)
2022-10-17 07:41:41 +08:00
- [queue](https://github.com/AnikHasibul/queue) **star:14** 提供类似队列组可访问性 sync.WaitGroup 的功能。帮助你节流和限制协程、等待所有协程结束以及更多功能。 [![近三年未更新][Y]](https://github.com/AnikHasibul/queue) [![godoc][D]](https://godoc.org/github.com/AnikHasibul/queue)
2023-06-19 07:27:31 +08:00
- [conexec](https://github.com/ITcathyh/conexec) **star:13** 一个并发工具包帮助以高效和安全的方式并发执行函数。它支持指定总体超时来避免阻塞并使用goroutine池来提高效率。 [![近三年未更新][Y]](https://github.com/ITcathyh/conexec) [![godoc][D]](https://godoc.org/github.com/ITcathyh/conexec)
- [go-tools/multithreading](https://github.com/nikhilsaraf/go-tools) **star:12** 轻量级的协程池库可以通过简单的API来管理。 [![近三年未更新][Y]](https://github.com/nikhilsaraf/go-tools) [![godoc][D]](https://godoc.org/github.com/nikhilsaraf/go-tools)
2022-10-17 07:41:41 +08:00
- [hands](https://github.com/duanckham/hands) **star:10** 进程控制器用于控制多个goroutine的执行和返回策略。 [![godoc][D]](https://godoc.org/github.com/duanckham/hands)
2023-05-31 07:26:28 +08:00
- [go-workerpool](https://github.com/zenthangplus/go-workerpool) **star:7** Inspired from Java Thread Pool, Go WorkerPool aims to control heavy Go Routines. [![godoc][D]](https://godoc.org/github.com/zenthangplus/go-workerpool)
2023-01-28 07:26:39 +08:00
- [async-job](https://github.com/lab210-dev/async-job) **star:6** AsyncJob is an asynchronous queue job manager with light code, clear and speed. [![godoc][D]](https://godoc.org/github.com/lab210-dev/async-job)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-25 18:06:22 +08:00
## GUI
2022-03-22 12:36:07 +08:00
_用于构建GUI应用程序的库。 (翻译出错了? 试试 [英文版](README_EN.md#gui) 吧~)_
2019-08-01 21:20:26 +08:00
2022-03-22 12:36:07 +08:00
_工具包 (翻译出错了? 试试 [英文版](README_EN.md#gui) 吧~)_
2019-08-01 21:20:26 +08:00
2023-08-04 07:26:48 +08:00
- [fyne](https://github.com/fyne-io/fyne) **star:20939** 基于材料设计的Go跨平台本机gui设计。支持:Linux, macOS, Windows, BSD, iOS和Android。 [![近一周有更新][G]](https://github.com/fyne-io/fyne) [![godoc][D]](https://godoc.org/github.com/fyne-io/fyne)
2022-06-08 07:21:04 +08:00
- [gio](https://gioui.org) Gio is a library for writing cross-platform immediate mode GUI-s in Go. Gio supports all the major platforms: Linux, macOS, Windows, Android, iOS, FreeBSD, OpenBSD and WebAssembly.
2023-08-04 07:26:48 +08:00
- [webview](https://github.com/zserge/webview) **star:11352** 跨平台webview窗口具有简单的双向JavaScript绑定(Windows / macOS / Linux)。 [![近一周有更新][G]](https://github.com/zserge/webview)
- [qt](https://github.com/therecipe/qt) **star:9906** 实现了 Qt 的 Go接口(支持Windows / macOS / Linux / Android / iOS / Sailfish OS / Raspberry Pi)。 [![godoc][D]](https://godoc.org/github.com/therecipe/qt)
- [ui](https://github.com/andlabs/ui) **star:8283** 跨平台的 Platform-native GUI 库。 [![godoc][D]](https://godoc.org/github.com/andlabs/ui)
2022-11-15 07:26:09 +08:00
- [Wails](https://wails.io) Mac, Windows, Linux桌面应用程序主要基于含有内置的OS HTML渲染器的HTML UI。
2023-08-04 07:26:48 +08:00
- [app](https://github.com/murlokswarm/app) **star:7165** 用于创建包含了 GO, HTML 和 CSS 的应用程序。支持 MacOS, Windows 正在开发中。 [![近一周有更新][G]](https://github.com/murlokswarm/app) [![godoc][D]](https://godoc.org/github.com/murlokswarm/app)
- [walk](https://github.com/lxn/walk) **star:6501** Windows应用程序库。 [![godoc][D]](https://godoc.org/github.com/lxn/walk)
- [go-astilectron](https://github.com/asticode/go-astilectron) **star:4793** 使用 GO 和 HTML/JS/CSS (电子驱动)进行构建跨平台 GUI 应用程序。 [![godoc][D]](https://godoc.org/github.com/asticode/go-astilectron)
2022-03-22 12:36:07 +08:00
- [go-gtk](https://mattn.github.io/go-gtk/) 实现了 GTK 的 Go接口。
2023-08-04 07:26:48 +08:00
- [go-sciter](https://github.com/sciter-sdk/go-sciter) **star:2528** 实现了 Sciter 的 Go 接口 : 用于现代桌面 UI 开发的可嵌入HTML/CSS/脚本引擎。可跨平台。
2023-08-02 07:21:08 +08:00
- [gotk3](https://github.com/gotk3/gotk3) **star:1932** 实现了 GTK3 的 Go接口。 [![godoc][D]](https://godoc.org/github.com/gotk3/gotk3)
2023-07-17 07:22:48 +08:00
- [gowd](https://github.com/dtylman/gowd) **star:401** 跨平台、快速、简单的桌面UI开发采用了GO, HTML, CSS和NW.js实现。 [![godoc][D]](https://godoc.org/github.com/dtylman/gowd)
2022-10-05 07:28:40 +08:00
- [goradd/html5tag](https://github.com/goradd/html5tag) **star:4** 输出HTML5标签的库。 [![godoc][D]](https://godoc.org/github.com/goradd/html5tag)
2019-08-01 21:20:26 +08:00
2022-03-22 12:36:07 +08:00
_交互 (翻译出错了? 试试 [英文版](README_EN.md#gui) 吧~)_
2019-08-01 21:20:26 +08:00
2023-08-04 07:26:48 +08:00
- [robotgo](https://github.com/go-vgo/robotgo) **star:8554** 实现跨平台的GUI系统自动化。包含了控制鼠标、键盘等功能。 [![godoc][D]](https://godoc.org/github.com/go-vgo/robotgo)
- [systray](https://github.com/getlantern/systray) **star:2851** 跨平台 Go 库,可在通知区放置图标和菜单。 [![godoc][D]](https://godoc.org/github.com/getlantern/systray)
2023-06-19 07:27:31 +08:00
- [gosx-notifier](https://github.com/deckarep/gosx-notifier) **star:578** OSX 桌面通知库。 [![近三年未更新][Y]](https://github.com/deckarep/gosx-notifier) [![godoc][D]](https://godoc.org/github.com/deckarep/gosx-notifier)
2023-08-04 07:26:48 +08:00
- [zenity](https://github.com/ncruces/zenity) **star:520** 跨平台的Go库和CLI创建简单的对话框与用户进行图形化交互。 [![近一周有更新][G]](https://github.com/ncruces/zenity) [![godoc][D]](https://godoc.org/github.com/ncruces/zenity)
2023-07-27 07:20:38 +08:00
- [trayhost](https://github.com/shurcooL/trayhost) **star:241** 跨平台 Go 库,可用于在主机操作系统的任务栏中放置图标。 [![godoc][D]](https://godoc.org/github.com/shurcooL/trayhost)
2023-06-29 07:26:27 +08:00
- [mac-sleep-notifier](https://github.com/prashantgupta24/mac-sleep-notifier) **star:29** OSX 睡眠/唤醒通知。 [![近三年未更新][Y]](https://github.com/prashantgupta24/mac-sleep-notifier) [![godoc][D]](https://godoc.org/github.com/prashantgupta24/mac-sleep-notifier)
2023-04-15 10:58:14 +08:00
- [mac-activity-tracker](https://github.com/prashantgupta24/activity-tracker) **star:25** 用于通知计算机上的任何(可插入的)活动的 OSX 库。 [![近三年未更新][Y]](https://github.com/prashantgupta24/activity-tracker) [![godoc][D]](https://godoc.org/github.com/prashantgupta24/activity-tracker)
2022-10-05 07:28:40 +08:00
- [AppIndicator Go](https://github.com/gopherlibs/appindicator) **star:3** 实现了 libappindicator3 C库 的 Go接口。 [![godoc][D]](https://godoc.org/github.com/gopherlibs/appindicator)
2019-06-25 18:06:22 +08:00
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 硬件
2019-06-25 18:06:22 +08:00
2022-03-22 12:36:07 +08:00
_硬件交互相关的库、工具和教程。 (翻译出错了? 试试 [英文版](README_EN.md#hardware) 吧~)_
2019-06-25 18:06:22 +08:00
2023-08-04 07:26:48 +08:00
- [arduino-cli](https://github.com/arduino/arduino-cli) **star:3971** 官方Arduino CLI和库。可以独立运行也可以合并到更大的Go项目中。 [![近一周有更新][G]](https://github.com/arduino/arduino-cli) [![godoc][D]](https://godoc.org/github.com/arduino/arduino-cli)
- [go-rpio](https://github.com/stianeikeland/go-rpio) **star:2036** GPIO for Go不需要cgo。 [![godoc][D]](https://godoc.org/github.com/stianeikeland/go-rpio)
- [ghw](https://github.com/jaypipes/ghw) **star:1452** Golang硬件发现/检查库。 [![godoc][D]](https://godoc.org/github.com/jaypipes/ghw)
- [emgo](https://github.com/ziutek/emgo) **star:1029** 用于嵌入式系统(如STM32 MCU)编程的Go-like语言。
- [sysinfo](https://github.com/zcalusic/sysinfo) **star:441** 一个提供Linux操作系统/内核/硬件系统信息的纯Go库。 [![godoc][D]](https://godoc.org/github.com/zcalusic/sysinfo)
- [goroslib](https://github.com/aler9/goroslib) **star:269** Go机器人操作系统(ROS)库。 [![godoc][D]](https://godoc.org/github.com/aler9/goroslib)
2023-08-02 07:21:08 +08:00
- [go-osc](https://github.com/hypebeast/go-osc) **star:174** 为Go打开声音控制(OSC)绑定。 [![godoc][D]](https://godoc.org/github.com/hypebeast/go-osc)
2023-06-19 07:27:31 +08:00
- [joystick](https://github.com/0xcafed00d/joystick) **star:45** 用于读取附加操纵杆状态的轮询API。 [![godoc][D]](https://godoc.org/github.com/0xcafed00d/joystick)
2019-06-25 18:06:22 +08:00
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 图片
2022-03-22 12:36:07 +08:00
_图像处理相关的库。 (翻译出错了? 试试 [英文版](README_EN.md#images) 吧~)_
2023-08-04 07:26:48 +08:00
- [gocv](https://github.com/hybridgroup/gocv) **star:5645** 使用OpenCV 3.3+实现的计算机视觉(ComputerVision)的Go语言包。 [![近一周有更新][G]](https://github.com/hybridgroup/gocv) [![godoc][D]](https://godoc.org/github.com/hybridgroup/gocv)
- [imaginary](https://github.com/h2non/imaginary) **star:5049** 用于图像大小调整的快速、简单的HTTP微服务。 [![godoc][D]](https://godoc.org/github.com/h2non/imaginary)
- [imaging](https://github.com/disintegration/imaging) **star:4794** 简单的Go图像处理包。 [![godoc][D]](https://godoc.org/github.com/disintegration/imaging)
- [gg](https://github.com/fogleman/gg) **star:3987** 纯Go语言实现的2D渲染。 [![godoc][D]](https://godoc.org/github.com/fogleman/gg)
- [bild](https://github.com/anthonynsimon/bild) **star:3815** 纯Go语言实现的图像处理算法合集。 [![godoc][D]](https://godoc.org/github.com/anthonynsimon/bild)
2023-08-02 07:21:08 +08:00
- [ln](https://github.com/fogleman/ln) **star:3182** Go实现的3D线艺术3D Line Art渲染。 [![近三年未更新][Y]](https://github.com/fogleman/ln) [![godoc][D]](https://godoc.org/github.com/fogleman/ln)
2023-08-04 07:26:48 +08:00
- [resize](https://github.com/nfnt/resize) **star:2955** Go实现的使用常用的插值法interpolation methods调整图像大小的库。 [![godoc][D]](https://godoc.org/github.com/nfnt/resize) [![归档项目][Archived]](https://github.com/nfnt/resize)
- [bimg](https://github.com/h2non/bimg) **star:2323** 使用libvips实现的快速高效的图像处理包。 [![godoc][D]](https://godoc.org/github.com/h2non/bimg)
2023-08-02 07:21:08 +08:00
- [gowitness](https://github.com/sensepost/gowitness) **star:2288** 在命令行上使用go和headless chrome截屏网页。 [![godoc][D]](https://godoc.org/github.com/sensepost/gowitness)
2023-08-04 07:26:48 +08:00
- [pt](https://github.com/fogleman/pt) **star:2056** Go实现的路径跟踪path tracing引擎。 [![近三年未更新][Y]](https://github.com/fogleman/pt) [![godoc][D]](https://godoc.org/github.com/fogleman/pt)
- [svgo](https://github.com/ajstarks/svgo) **star:2030** Go实现的SVG生成库。 [![godoc][D]](https://godoc.org/github.com/ajstarks/svgo)
- [picfit](https://github.com/thoas/picfit) **star:1871** Go实现的图像调整服务器。 [![godoc][D]](https://godoc.org/github.com/thoas/picfit)
- [smartcrop](https://github.com/muesli/smartcrop) **star:1745** 为任意图片寻找合适的位置进行图片裁剪。 [![godoc][D]](https://godoc.org/github.com/muesli/smartcrop)
2023-08-02 07:21:08 +08:00
- [gift](https://github.com/disintegration/gift) **star:1665** 图像处理包。 [![godoc][D]](https://godoc.org/github.com/disintegration/gift)
2023-08-04 07:26:48 +08:00
- [imagick](https://github.com/gographics/imagick) **star:1597** ImageMagick下MagickWand的C API的Go binding。 [![godoc][D]](https://godoc.org/github.com/gographics/imagick)
- [canvas](https://github.com/tdewolff/canvas) **star:1296** 矢量图形到PDF, SVG或光栅图像。 [![godoc][D]](https://godoc.org/github.com/tdewolff/canvas)
2023-06-26 07:28:04 +08:00
- [geopattern](https://github.com/pravj/geopattern) **star:1244** 由字符串创建漂亮图案的图片生成器。 [![近三年未更新][Y]](https://github.com/pravj/geopattern) [![godoc][D]](https://godoc.org/github.com/pravj/geopattern)
2023-07-27 07:20:38 +08:00
- [stegify](https://github.com/DimitarPetrov/stegify) **star:1116** Go实现的LSB隐写LSB steganography能够隐藏任何文件到一个图像中。 [![godoc][D]](https://godoc.org/github.com/DimitarPetrov/stegify)
2023-08-04 07:26:48 +08:00
- [govips](https://github.com/davidbyttow/govips) **star:947** 闪电快速的图像处理和调整库的Go。 [![近一周有更新][G]](https://github.com/davidbyttow/govips) [![godoc][D]](https://godoc.org/github.com/davidbyttow/govips)
2023-08-02 07:21:08 +08:00
- [image2ascii](https://github.com/qeesung/image2ascii) **star:784** 将图像转换为ASCII码。 [![godoc][D]](https://godoc.org/github.com/qeesung/image2ascii)
2023-08-04 07:26:48 +08:00
- [goimagehash](https://github.com/corona10/goimagehash) **star:629** 图像哈希处理的Go语言包。 [![godoc][D]](https://godoc.org/github.com/corona10/goimagehash)
2023-08-02 07:21:08 +08:00
- [draft](https://github.com/lucasepe/draft) **star:570** 使用简单的YAML语法为GraphViz生成高级微服务架构图。 [![godoc][D]](https://godoc.org/github.com/lucasepe/draft)
2023-08-04 07:26:48 +08:00
- [govatar](https://github.com/o1egl/govatar) **star:568** 生成有趣头像的库和CMD工具。 [![godoc][D]](https://godoc.org/github.com/o1egl/govatar)
2023-08-02 07:21:08 +08:00
- [mort](https://github.com/aldor007/mort) **star:483** Go语言实现的图像存储和处理服务器。 [![godoc][D]](https://godoc.org/github.com/aldor007/mort)
- [go-nude](https://github.com/koyachi/go-nude) **star:377** Go语言实现的裸照检测工具。 [![godoc][D]](https://godoc.org/github.com/koyachi/go-nude)
- [steganography](https://github.com/auyer/steganography) **star:249** 纯Go实现的LSB隐写LSB steganography的库。 [![godoc][D]](https://godoc.org/github.com/auyer/steganography)
2023-07-27 07:20:38 +08:00
- [darkroom](https://github.com/gojek/darkroom) **star:215** An image proxy with changeable storage backends and image processing engines with focus on speed and resiliency. [![godoc][D]](https://godoc.org/github.com/gojek/darkroom)
2023-08-02 07:21:08 +08:00
- [rez](https://github.com/bamiaux/rez) **star:210** 纯Go语言和SIMD实现的图像大小调整。 [![近三年未更新][Y]](https://github.com/bamiaux/rez) [![godoc][D]](https://godoc.org/github.com/bamiaux/rez)
2023-06-19 07:27:31 +08:00
- [mergi](https://github.com/noelyahan/mergi) **star:205** 用于图像处理(合并、裁剪、调整大小、水印、动画)的工具和Go库。 [![近三年未更新][Y]](https://github.com/noelyahan/mergi) [![godoc][D]](https://godoc.org/github.com/noelyahan/mergi)
2023-08-02 07:21:08 +08:00
- [gltf](https://github.com/qmuntal/gltf) **star:204** 一个高效、健壮的glTF 2.0文件读取、写入和验证器。 [![godoc][D]](https://godoc.org/github.com/qmuntal/gltf)
- [img](https://github.com/hawx/img) **star:150** 图像处理工具的集合。 [![近三年未更新][Y]](https://github.com/hawx/img) [![godoc][D]](https://godoc.org/github.com/hawx/img)
- [go-webp](https://github.com/kolesa-team/go-webp) **star:143** 为编码和解码webp图片的库使用libwebp。 [![godoc][D]](https://godoc.org/github.com/kolesa-team/go-webp)
2023-06-19 07:27:31 +08:00
- [go-cairo](https://github.com/ungerik/go-cairo) **star:135** cairo图形库的Go binding。 [![godoc][D]](https://godoc.org/github.com/ungerik/go-cairo)
2023-05-22 07:23:47 +08:00
- [cameron](https://github.com/aofei/cameron) **star:102** 一个Go语言的头像生成器。 [![godoc][D]](https://godoc.org/github.com/aofei/cameron)
2023-07-20 07:26:36 +08:00
- [gridder](https://github.com/shomali11/gridder) **star:64** 一个基于网格的2D图形库。 [![godoc][D]](https://godoc.org/github.com/shomali11/gridder)
2023-08-04 07:26:48 +08:00
- [color-extractor](https://github.com/marekm4/color-extractor) **star:62** Dominant color extractor with no external dependencies. [![godoc][D]](https://godoc.org/github.com/marekm4/color-extractor)
2023-07-17 07:22:48 +08:00
- [webp-server](https://github.com/mehdipourfar/webp-server) **star:62** 能够存储、调整大小、转换和缓存图像的简单和最小的图像服务器。 [![godoc][D]](https://godoc.org/github.com/mehdipourfar/webp-server)
2023-07-27 07:20:38 +08:00
- [go-gd](https://github.com/bolknote/go-gd) **star:59** GD库的Go binding。 [![近三年未更新][Y]](https://github.com/bolknote/go-gd) [![godoc][D]](https://godoc.org/github.com/bolknote/go-gd)
2023-08-02 07:21:08 +08:00
- [goimghdr](https://github.com/corona10/goimghdr) **star:41** Go语言实现的imghdr模块用于确定文件的图像类型。 [![近三年未更新][Y]](https://github.com/corona10/goimghdr) [![godoc][D]](https://godoc.org/github.com/corona10/goimghdr)
2023-07-07 07:24:47 +08:00
- [tga](https://github.com/ftrvxmtrx/tga) **star:33** tga包是一个TARGA图像的解码、编码器。 [![近三年未更新][Y]](https://github.com/ftrvxmtrx/tga) [![godoc][D]](https://godoc.org/github.com/ftrvxmtrx/tga) [![归档项目][Archived]](https://github.com/ftrvxmtrx/tga)
2022-10-05 07:28:40 +08:00
- [go-webcolors](https://github.com/jyotiska/go-webcolors) **star:27** Python下webcolors库的Go语言调用。 [![近三年未更新][Y]](https://github.com/jyotiska/go-webcolors) [![godoc][D]](https://godoc.org/github.com/jyotiska/go-webcolors)
2023-04-23 07:26:25 +08:00
- [mpo](https://github.com/donatj/mpo) **star:11** MPO三维照片的解码和转换工具。 [![godoc][D]](https://godoc.org/github.com/donatj/mpo)
2023-06-19 07:27:31 +08:00
- [scout](https://github.com/jonoton/scout) **star:10** Scout是一款独立的开源视频安全软件解决方案。 [![godoc][D]](https://godoc.org/github.com/jonoton/scout)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 物联网
2022-03-22 12:36:07 +08:00
_物联网设备编程库。 (翻译出错了? 试试 [英文版](README_EN.md#iot-(internet-of-things)) 吧~)_
2019-08-01 21:20:26 +08:00
2023-08-02 07:21:08 +08:00
- [flogo](https://github.com/tibcosoftware/flogo) **star:2293** Flogo是一个面向物联网边缘应用和集成的开源框架。
- [mainflux](https://github.com/Mainflux/mainflux) **star:2112** 工业物联网消息和设备管理服务器。 [![近一周有更新][G]](https://github.com/Mainflux/mainflux) [![godoc][D]](https://godoc.org/github.com/Mainflux/mainflux)
2022-03-22 12:36:07 +08:00
- [periph](https://periph.io/) 外围设备I/O与低级板(low-level board)设备接口。
2023-08-04 07:26:48 +08:00
- [ekuiper](https://github.com/lf-edge/ekuiper) **star:1084** Lightweight data stream processing engine for IoT edge. [![近一周有更新][G]](https://github.com/lf-edge/ekuiper) [![godoc][D]](https://godoc.org/github.com/lf-edge/ekuiper) [![包含中文文档][CN]](https://github.com/lf-edge/ekuiper)
2023-07-27 07:20:38 +08:00
- [gatt](https://github.com/paypal/gatt) **star:1076** Gatt是一个用于构建低能耗蓝牙外围设备的Go语言包。 [![godoc][D]](https://godoc.org/github.com/paypal/gatt)
2022-03-22 12:36:07 +08:00
- [gobot](https://github.com/hybridgroup/gobot/) Gobot是一个用于机器人、物理计算和物联网的框架。
2023-08-02 07:21:08 +08:00
- [connectordb](https://github.com/connectordb/connectordb) **star:370** 自我量化和物联网的开源平台。 [![godoc][D]](https://godoc.org/github.com/connectordb/connectordb)
2023-05-22 07:23:47 +08:00
- [devices](https://github.com/goiot/devices) **star:260** 一套用于物联网设备的库实验性地用于x/exp/io。 [![近三年未更新][Y]](https://github.com/goiot/devices) [![godoc][D]](https://godoc.org/github.com/goiot/devices)
2023-08-02 07:21:08 +08:00
- [huego](https://github.com/amimof/huego) **star:235** 一个包含广泛的Philips Hue客户端的Go语言库。 [![godoc][D]](https://godoc.org/github.com/amimof/huego)
2022-03-22 12:36:07 +08:00
- [iot](https://github.com/vaelen/iot/) IoT是一个实现谷歌物联网核心设备的简单框架。
2023-06-19 07:27:31 +08:00
- [sensorbee](https://github.com/sensorbee/sensorbee) **star:221** 轻量级物联网流处理引擎。 [![近三年未更新][Y]](https://github.com/sensorbee/sensorbee) [![godoc][D]](https://godoc.org/github.com/sensorbee/sensorbee)
2023-04-15 10:58:14 +08:00
- [eywa](https://github.com/xcodersun/eywa) **star:60** Eywa是一个用于跟踪连接的设备连接管理器。 [![近三年未更新][Y]](https://github.com/xcodersun/eywa) [![godoc][D]](https://godoc.org/github.com/xcodersun/eywa)
2019-06-27 17:22:00 +08:00
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 作业调度器
2022-03-22 12:36:07 +08:00
_用于作业调度的库。 (翻译出错了? 试试 [英文版](README_EN.md#job-scheduler) 吧~)_
2023-08-04 07:26:48 +08:00
- [gocron](https://github.com/go-co-op/gocron) **star:3744** 熟练掌握Go工作调度。这是一个积极维护的分叉[jasonlvhit/gocron](https://github.com/jasonlvhit/gocron)。 [![近一周有更新][G]](https://github.com/go-co-op/gocron) [![godoc][D]](https://godoc.org/github.com/go-co-op/gocron)
- [go-quartz](https://github.com/reugn/go-quartz) **star:1319** 简单的无依赖的Go调度库。 [![近一周有更新][G]](https://github.com/reugn/go-quartz) [![godoc][D]](https://godoc.org/github.com/reugn/go-quartz)
2023-08-02 07:21:08 +08:00
- [gron](https://github.com/roylee0704/gron) **star:983** 使用简单的Go API定义基于时间的任务。 之后Gron的调度程序将运行它们。 [![godoc][D]](https://godoc.org/github.com/roylee0704/gron)
2023-07-20 07:26:36 +08:00
- [JobRunner](https://github.com/bamzi/jobrunner) **star:974** 智能和功能丰富的cron作业调度程序包含任务队列和实时监控。 [![godoc][D]](https://godoc.org/github.com/bamzi/jobrunner)
2023-08-04 07:26:48 +08:00
- [Dagu](https://github.com/dagu-go/dagu) **star:838** No-code workflow executor. it executes DAGs defined in a simple YAML format. [![godoc][D]](https://godoc.org/github.com/dagu-go/dagu)
2023-06-19 07:27:31 +08:00
- [jobs](https://github.com/albrow/jobs) **star:495** 持久和灵活的后台作业库。 [![近三年未更新][Y]](https://github.com/albrow/jobs) [![godoc][D]](https://godoc.org/github.com/albrow/jobs) [![归档项目][Archived]](https://github.com/albrow/jobs)
- [scheduler](https://github.com/carlescere/scheduler) **star:429** Cronjobs让调度变得很简单。 [![godoc][D]](https://godoc.org/github.com/carlescere/scheduler)
2023-08-04 07:26:48 +08:00
- [gronx](https://github.com/adhocore/gronx) **star:287** Cron表达式解析器、任务运行器和守护进程像任务列表一样使用crontab。 [![godoc][D]](https://godoc.org/github.com/adhocore/gronx)
- [go-cron](https://github.com/rk/go-cron) **star:218** 一个Go实现的简单的定时任务库。可以在不同的时间间隔每秒一次到在每年在特定的日期执行执行闭包或函数。主要用于web应用和长时间运行的守护进程。 [![近三年未更新][Y]](https://github.com/rk/go-cron) [![godoc][D]](https://godoc.org/github.com/rk/go-cron)
- [tasks](https://github.com/madflojo/tasks) **star:167** 一个易于使用的进程内调度器用于Go中的重复任务。 [![godoc][D]](https://godoc.org/github.com/madflojo/tasks)
- [goflow](https://github.com/fieldryand/goflow) **star:150** A simple but powerful DAG scheduler and dashboard. [![godoc][D]](https://godoc.org/github.com/fieldryand/goflow)
2023-06-29 07:26:27 +08:00
- [clockwerk](https://github.com/onatm/clockwerk) **star:139** 使用简单、流畅的语法调度作业的Go语言库。 [![近三年未更新][Y]](https://github.com/onatm/clockwerk) [![godoc][D]](https://godoc.org/github.com/onatm/clockwerk)
- [leprechaun](https://github.com/kilgaloon/leprechaun) **star:99** 支持webhook、crons和经典调度的作业调度程序。 [![godoc][D]](https://godoc.org/github.com/kilgaloon/leprechaun)
2023-08-02 07:21:08 +08:00
- [cheek](https://github.com/datarootsio/cheek) **star:89** 一个简单的类似crontab的调度器旨在为作业调度提供一种KISS方法。 [![近一周有更新][G]](https://github.com/datarootsio/cheek) [![godoc][D]](https://godoc.org/github.com/datarootsio/cheek)
- [cdule](https://github.com/deepaksinghvi/cdule) **star:38** 具有数据库支持的作业调度程序库 [![godoc][D]](https://godoc.org/github.com/deepaksinghvi/cdule)
2022-10-05 07:28:40 +08:00
- [sched](https://github.com/romshark/sched) **star:26** 具有快进时间能力的作业调度程序。 [![godoc][D]](https://godoc.org/github.com/romshark/sched)
2023-05-22 07:23:47 +08:00
- [cronticker](https://github.com/krayzpipes/cronticker) **star:10** 支持cron调度的一个自动报价器实现。 [![godoc][D]](https://godoc.org/github.com/krayzpipes/cronticker)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-25 18:06:22 +08:00
## JSON
2022-03-22 12:36:07 +08:00
_用于JSON处理的库。 (翻译出错了? 试试 [英文版](README_EN.md#json) 吧~)_
2023-08-04 07:26:48 +08:00
- [GJSON](https://github.com/tidwall/gjson) **star:12640** 使用一行代码获取JSON的值。 [![godoc][D]](https://godoc.org/github.com/tidwall/gjson)
2023-08-02 07:21:08 +08:00
- [gojson](https://github.com/ChimeraCoder/gojson) **star:2616** 从JSON自动生成Go的结构struct定义。 [![godoc][D]](https://godoc.org/github.com/ChimeraCoder/gojson)
2023-08-04 07:26:48 +08:00
- [fastjson](https://github.com/valyala/fastjson) **star:1952** 用于Go的快速JSON解析器和验证器。没有自定义结构没有代码生成没有反射。 [![godoc][D]](https://godoc.org/github.com/valyala/fastjson)
2023-08-02 07:21:08 +08:00
- [OjG](https://github.com/ohler55/ojg) **star:628** 优化JSON for Go是一个高性能的解析器具有多种额外的JSON工具包括JSONPath。 [![godoc][D]](https://godoc.org/github.com/ohler55/ojg)
2023-08-04 07:26:48 +08:00
- [marshmallow](https://github.com/PerimeterX/marshmallow) **star:313** Performant JSON unmarshaling for flexible use cases. [![godoc][D]](https://godoc.org/github.com/PerimeterX/marshmallow)
- [jsondiff](https://github.com/wI2L/jsondiff) **star:262** Go的JSON diff库基于RFC6902 (JSON Patch)。 [![godoc][D]](https://godoc.org/github.com/wI2L/jsondiff)
2023-07-07 07:24:47 +08:00
- [kazaam](https://github.com/Qntfy/kazaam) **star:259** 用于任意JSON文档转换的API。 [![godoc][D]](https://godoc.org/github.com/Qntfy/kazaam)
- [gojq](https://github.com/elgs/gojq) **star:187** Go语言实现的JSON请求。 [![godoc][D]](https://godoc.org/github.com/elgs/gojq)
2023-08-02 07:21:08 +08:00
- [ajson](https://github.com/spyzhov/ajson) **star:179** 为Go语言开发的包含JSONPath支持的抽象JSON。 [![godoc][D]](https://godoc.org/github.com/spyzhov/ajson)
2023-08-04 07:26:48 +08:00
- [jsonvalue](https://github.com/Andrew-M-C/go.jsonvalue) **star:156** A fast and convinient library for unstructured JSON data, replacing `encoding/json`. [![godoc][D]](https://godoc.org/github.com/Andrew-M-C/go.jsonvalue) [![包含中文文档][CN]](https://github.com/Andrew-M-C/go.jsonvalue)
- [jettison](https://github.com/wI2L/jettison) **star:154** Go的快速灵活的JSON编码器。 [![近一周有更新][G]](https://github.com/wI2L/jettison) [![godoc][D]](https://godoc.org/github.com/wI2L/jettison)
2023-07-27 07:20:38 +08:00
- [gjo](https://github.com/skanehira/gjo) **star:119** 用于创建JSON对象的小工具。 [![godoc][D]](https://godoc.org/github.com/skanehira/gjo)
2023-06-26 07:28:04 +08:00
- [json2go](https://github.com/m-zajac/json2go) **star:119** 高级JSON去结构转换。提供一个包该包可以解析多个JSON文档并创建结构体以适应所有这些文档。 [![godoc][D]](https://godoc.org/github.com/m-zajac/json2go)
2023-02-03 07:29:33 +08:00
- [jsongo](https://github.com/ricardolonga/jsongo) **star:109** 使用Fluent API来更容易地创建Json对象。 [![godoc][D]](https://godoc.org/github.com/ricardolonga/jsongo)
2023-07-17 07:22:48 +08:00
- [JayDiff](https://github.com/yazgazan/jaydiff) **star:99** 用Go编写的JSON比对工具。 [![godoc][D]](https://godoc.org/github.com/yazgazan/jaydiff)
- [ujson](https://github.com/olvrng/ujson) **star:68** 快速和最小的JSON解析器和转换器工作在非结构化JSON。 [![godoc][D]](https://godoc.org/github.com/olvrng/ujson)
2023-04-15 10:58:14 +08:00
- [jsonf](https://github.com/miolini/jsonf) **star:64** 用于高亮展示和查询JSON的控制台工具。 [![godoc][D]](https://godoc.org/github.com/miolini/jsonf)
2023-08-04 07:26:48 +08:00
- [jscan](https://github.com/romshark/jscan) **star:57** 高性能零分配JSON迭代器。 [![godoc][D]](https://godoc.org/github.com/romshark/jscan)
2023-06-19 07:27:31 +08:00
- [JSON-to-Go](https://mholt.github.io/json-to-go/) 将JSON转换为Go的结构struct
- [JSON-to-Proto](https://json-to-proto.github.io/) 转换JSON到Protobuf在线。
2023-07-03 07:26:28 +08:00
- [go-respond](https://github.com/nicklaw5/go-respond) **star:51** 用于处理常见的HTTP JSON响应的Go语言库。 [![godoc][D]](https://godoc.org/github.com/nicklaw5/go-respond)
2022-10-05 07:28:40 +08:00
- [mp](https://github.com/sanbornm/mp) **star:46** 简单的cli电子邮件解析器。它目前接受stdin并输出JSON。 [![近三年未更新][Y]](https://github.com/sanbornm/mp) [![godoc][D]](https://godoc.org/github.com/sanbornm/mp)
2023-05-31 07:26:28 +08:00
- [vjson](https://github.com/miladibra10/vjson) **star:34** 用流畅API声明JSON模式来验证JSON对象的Go包。 [![godoc][D]](https://godoc.org/github.com/miladibra10/vjson)
2023-06-07 07:22:22 +08:00
- [jsoncolor](https://github.com/neilotoole/jsoncolor) **star:33** Drop-in替换' encoding/json '输出彩色json。 [![godoc][D]](https://godoc.org/github.com/neilotoole/jsoncolor)
2023-04-15 10:58:14 +08:00
- [ask](https://github.com/simonnilsson/ask) **star:25** 容易访问映射和片中的嵌套值。与encoding/json和其他将任意数据“解编组”为Go数据类型的包一起工作。 [![godoc][D]](https://godoc.org/github.com/simonnilsson/ask)
2023-06-29 07:26:27 +08:00
- [gojmapr](https://github.com/limiu82214/gojmapr) **star:19** Get simple struct from complex json by json path. [![godoc][D]](https://godoc.org/github.com/limiu82214/gojmapr) [![包含中文文档][CN]](https://github.com/limiu82214/gojmapr)
2023-06-07 07:22:22 +08:00
- [dynjson](https://github.com/cocoonspace/dynjson) **star:15** 用于动态api的可定制的JSON格式。 [![godoc][D]](https://godoc.org/github.com/cocoonspace/dynjson)
2022-12-02 07:25:32 +08:00
- [mapslice-json](https://github.com/mickep76/mapslice-json) **star:15** 去MapSlice的有序封送/解封的JSON地图。 [![godoc][D]](https://godoc.org/github.com/mickep76/mapslice-json)
2023-04-15 10:58:14 +08:00
- [go-jsonerror](https://github.com/ddymko/go-jsonerror) **star:13** Go-JsonError is meant to allow us to easily create json response errors that follow the JsonApi spec. [![近三年未更新][Y]](https://github.com/ddymko/go-jsonerror) [![godoc][D]](https://godoc.org/github.com/ddymko/go-jsonerror)
2022-10-05 07:28:40 +08:00
- [jsonapi-errors](https://github.com/AmuzaTkts/jsonapi-errors) **star:13** 基于JSON API错误引用的Go bindings。 [![近三年未更新][Y]](https://github.com/AmuzaTkts/jsonapi-errors) [![godoc][D]](https://godoc.org/github.com/AmuzaTkts/jsonapi-errors)
2023-04-15 10:58:14 +08:00
- [jsonhal](https://github.com/RichardKnop/jsonhal) **star:13** 让自定义结构struct转化为JSON兼容的HALHypertext Application Language返回数据的简单Go包。 [![近三年未更新][Y]](https://github.com/RichardKnop/jsonhal) [![godoc][D]](https://godoc.org/github.com/RichardKnop/jsonhal)
- [epoch](https://github.com/vtopc/epoch) **star:12** 包含用于封送/解封送Unix时间戳/纪元到内建时间的原语。时间类型为JSON。 [![godoc][D]](https://godoc.org/github.com/vtopc/epoch)
2023-08-02 07:21:08 +08:00
- [jzon](https://github.com/zerosnake0/jzon) **star:11** 具有标准兼容API/行为的JSON库。 [![近一周有更新][G]](https://github.com/zerosnake0/jzon) [![godoc][D]](https://godoc.org/github.com/zerosnake0/jzon)
2023-04-15 10:58:14 +08:00
- [ej](https://github.com/lucassscaravelli/ej) **star:9** 简洁地编写和读取来自不同来源的JSON。 [![近三年未更新][Y]](https://github.com/lucassscaravelli/ej) [![godoc][D]](https://godoc.org/github.com/lucassscaravelli/ej)
2023-06-09 07:21:48 +08:00
- [jsonic](https://github.com/sinhashubham95/jsonic) **star:9** 处理和查询JSON的实用程序无需以类型安全的方式定义结构。 [![godoc][D]](https://godoc.org/github.com/sinhashubham95/jsonic)
2022-05-30 07:25:49 +08:00
- [omg.jsonparser](https://github.com/dedalqq/omg.jsonparser) **star:4** 简单的JSON解析器通过golang结构字段标签进行条件验证。 [![godoc][D]](https://godoc.org/github.com/dedalqq/omg.jsonparser)
2023-06-09 07:21:48 +08:00
- [htmljson](https://github.com/nikolaydubina/htmljson) **star:3** Rich rendering of JSON as HTML in Go. [![godoc][D]](https://godoc.org/github.com/nikolaydubina/htmljson)
2023-04-15 10:58:14 +08:00
- [jsonhandlers](https://github.com/abusomani/jsonhandlers) **star:1** JSON library to expose simple handlers that lets you easily read and write json from various sources. [![godoc][D]](https://godoc.org/github.com/abusomani/jsonhandlers)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 日志记录
2022-03-22 12:36:07 +08:00
_用于生成和处理日志文件的库。 (翻译出错了? 试试 [英文版](README_EN.md#logging) 吧~)_
2023-08-04 07:26:48 +08:00
- [logrus](https://github.com/Sirupsen/logrus) **star:23037** Go的结构化日志操作 。 [![godoc][D]](https://godoc.org/github.com/Sirupsen/logrus)
- [zap](https://github.com/uber-go/zap) **star:19215** 快速、结构化、多等级的日志记录。 [![近一周有更新][G]](https://github.com/uber-go/zap) [![godoc][D]](https://godoc.org/github.com/uber-go/zap)
- [zerolog](https://github.com/rs/zerolog) **star:8637** Zero-allocation JSON日志记录。 [![近一周有更新][G]](https://github.com/rs/zerolog) [![godoc][D]](https://godoc.org/github.com/rs/zerolog)
2023-08-02 07:21:08 +08:00
- [spew](https://github.com/davecgh/go-spew) **star:5664** 为Go数据结构实现一个漂亮的printer用于帮助调试。 [![godoc][D]](https://godoc.org/github.com/davecgh/go-spew)
2023-08-04 07:26:48 +08:00
- [lumberjack](https://github.com/natefinch/lumberjack) **star:4171** 简单的滚动日志io.WriteCloser的实现。 [![godoc][D]](https://godoc.org/github.com/natefinch/lumberjack)
2023-08-02 07:21:08 +08:00
- [glog](https://github.com/golang/glog) **star:3401** 为Go提供了多等级日志记录。 [![godoc][D]](https://godoc.org/github.com/golang/glog)
2023-08-04 07:26:48 +08:00
- [tail](https://github.com/hpcloud/tail) **star:2577** 努力模拟实现BSD的tail的特性的Go包。 [![godoc][D]](https://godoc.org/github.com/hpcloud/tail)
2023-08-02 07:21:08 +08:00
- [pp](https://github.com/k0kubun/pp) **star:1654** Colored pretty printer for Go language. [![godoc][D]](https://godoc.org/github.com/k0kubun/pp)
2023-07-27 07:20:38 +08:00
- [seelog](https://github.com/cihub/seelog) **star:1637** 具有灵活调度、过滤和格式化的日志功能。 [![近三年未更新][Y]](https://github.com/cihub/seelog) [![godoc][D]](https://godoc.org/github.com/cihub/seelog)
- [log](https://github.com/apex/log) **star:1324** Go的结构化日志包。 [![godoc][D]](https://godoc.org/github.com/apex/log)
- [log15](https://github.com/inconshreveable/log15) **star:1092** 简单、强大的日志操作。 [![godoc][D]](https://godoc.org/github.com/inconshreveable/log15)
2023-08-02 07:21:08 +08:00
- [phuslu/log](https://github.com/phuslu/log) **star:501** High performance structured logging. [![godoc][D]](https://godoc.org/github.com/phuslu/log)
2023-07-27 07:20:38 +08:00
- [onelog](https://github.com/francoispqt/onelog) **star:413** Onelog是一个非常简单但非常高效的JSON日志记录器。它是所有场景中最快的JSON记录器。而且它是配置最低的记录器之一。 [![近三年未更新][Y]](https://github.com/francoispqt/onelog) [![godoc][D]](https://godoc.org/github.com/francoispqt/onelog)
2023-08-02 07:21:08 +08:00
- [logutils](https://github.com/hashicorp/logutils) **star:355** Go的用于更好地进行日志操作的实用程序继承了标准日志库。 [![godoc][D]](https://godoc.org/github.com/hashicorp/logutils)
2023-07-27 07:20:38 +08:00
- [logxi](https://github.com/mgutz/logxi) **star:351** 12-factor app的日志程序快速且让人高兴地使用。 [![近三年未更新][Y]](https://github.com/mgutz/logxi) [![godoc][D]](https://godoc.org/github.com/mgutz/logxi)
- [sqldb-logger](https://github.com/simukti/sqldb-logger) **star:312** A logger for Go SQL database driver without modify existing \*sql.DB stdlib usage. [![godoc][D]](https://godoc.org/github.com/simukti/sqldb-logger)
- [httpretty](https://github.com/henvic/httpretty) **star:302** 在终端上美化您的常规HTTP请求以便调试(类似于HTTP . dumprequest)。 [![godoc][D]](https://godoc.org/github.com/henvic/httpretty)
2023-07-07 07:24:47 +08:00
- [log](https://github.com/go-playground/log) **star:289** Go的简单、可配置和可伸缩的结构化日志。 [![godoc][D]](https://godoc.org/github.com/go-playground/log)
2023-06-26 07:28:04 +08:00
- [go-logger](https://github.com/apsdehal/go-logger) **star:287** 简单的日志程序的 Go 程序,与级别处理程序。 [![近三年未更新][Y]](https://github.com/apsdehal/go-logger) [![godoc][D]](https://godoc.org/github.com/apsdehal/go-logger)
2023-07-10 07:28:10 +08:00
- [rollingwriter](https://github.com/arthurkiller/rollingWriter) **star:280** RollingWriter是一个自动循环的io.Writer的实现,带有多种策略以提供日志文件循环(rotation)。 [![godoc][D]](https://godoc.org/github.com/arthurkiller/rollingWriter)
2023-08-02 07:21:08 +08:00
- [slog](https://github.com/gookit/slog) **star:268** Lightweight, configurable, extensible logger for Go. [![近一周有更新][G]](https://github.com/gookit/slog) [![godoc][D]](https://godoc.org/github.com/gookit/slog) [![包含中文文档][CN]](https://github.com/gookit/slog)
2023-08-04 07:26:48 +08:00
- [tint](https://github.com/lmittmann/tint) **star:214** A slog.Handler that writes tinted logs. [![godoc][D]](https://godoc.org/github.com/lmittmann/tint)
2023-08-02 07:21:08 +08:00
- [logur](https://github.com/logur/logur) **star:197** 一个固执的logger接口集合了著名库的适配器和集成的日志最佳实践([logrus](https://github.com/sirupsen/logrus) [go-kit log](https://github.com/go-kit/kit/tree/master/log) [zap](https://github.com/ugo/zap) [zerolog](https://github.com/rs/zerolog),等等)。 [![godoc][D]](https://godoc.org/github.com/logur/logur)
2023-08-04 07:26:48 +08:00
- [glg](https://github.com/kpango/glg) **star:188** glg是一个简单而快速的Go日志库。 [![godoc][D]](https://godoc.org/github.com/kpango/glg)
2023-02-20 07:27:34 +08:00
- [logger](https://github.com/azer/logger) **star:157** Go的精简日志库。 [![godoc][D]](https://godoc.org/github.com/azer/logger)
2022-11-07 07:27:33 +08:00
- [xlog](https://github.com/rs/xlog) **star:137** 针对'net/context`实现的结构化的记录器用于HTTP处理程序。 [![godoc][D]](https://godoc.org/github.com/rs/xlog)
2023-07-10 07:28:10 +08:00
- [ozzo-log](https://github.com/go-ozzo/ozzo-log) **star:122** 支持日志多等级、分类和过滤的高性能日志记录。可以发送过滤后的日志消息到各种目标(如控制台,网络,邮件)。 [![godoc][D]](https://godoc.org/github.com/go-ozzo/ozzo-log) [![包含中文文档][CN]](https://github.com/go-ozzo/ozzo-log)
2023-01-18 07:23:31 +08:00
- [log-voyage](https://github.com/firstrow/logvoyage) **star:94** 用Go编写的功能齐全的日志写入saas。 [![近三年未更新][Y]](https://github.com/firstrow/logvoyage) [![godoc][D]](https://godoc.org/github.com/firstrow/logvoyage)
2023-07-27 07:20:38 +08:00
- [slog-multi](https://github.com/samber/slog-multi) **star:66** Chain of slog.Handler (pipeline, fanout...). [![godoc][D]](https://godoc.org/github.com/samber/slog-multi)
- [go-cronowriter](https://github.com/utahta/go-cronowriter) **star:56** 基于当前日期和时间的自动日志文件写入工具类似cronolog。 [![godoc][D]](https://godoc.org/github.com/utahta/go-cronowriter)
2023-04-15 10:58:14 +08:00
- [stdlog](https://github.com/alexcesaro/log) **star:47** Stdlog是一个面向对象的库提供了多等级日志记录。它对cron任务非常有用。 [![近三年未更新][Y]](https://github.com/alexcesaro/log) [![godoc][D]](https://godoc.org/github.com/alexcesaro/log)
2023-04-27 07:22:09 +08:00
- [noodlog](https://github.com/gyozatech/noodlog) **star:44** 参数化JSON日志记录库允许您混淆敏感数据和封送任何类型的内容。不再打印指针代替值也不再为JSON字符串输出转义字符。 [![godoc][D]](https://godoc.org/github.com/gyozatech/noodlog)
2023-06-29 07:26:27 +08:00
- [go-log](https://github.com/ian-kent/go-log) **star:42** Log4j的Go语言。 [![近三年未更新][Y]](https://github.com/ian-kent/go-log) [![godoc][D]](https://godoc.org/github.com/ian-kent/go-log)
2023-05-16 07:23:55 +08:00
- [gologger](https://github.com/sadlil/gologger) **star:41** 为Go提供方便简单的日志操作; 在彩色控制台简单控制台文件或Elasticsearch上。 [![近三年未更新][Y]](https://github.com/sadlil/gologger) [![godoc][D]](https://godoc.org/github.com/sadlil/gologger) [![归档项目][Archived]](https://github.com/sadlil/gologger)
2023-06-07 07:22:22 +08:00
- [logex](https://github.com/chzyer/logex) **star:41** 由标准日志库封装的Go日志库支持跟踪和多等级。 [![godoc][D]](https://godoc.org/github.com/chzyer/logex)
2023-07-27 07:20:38 +08:00
- [journald](https://github.com/ssgreg/journald) **star:37** Go实现systemd Journal的原生API用于日志记录。 [![godoc][D]](https://godoc.org/github.com/ssgreg/journald)
2022-12-30 07:23:10 +08:00
- [go-log](https://github.com/siddontang/go-log) **star:33** 支持多等级和多处理程序的日志库。 [![近三年未更新][Y]](https://github.com/siddontang/go-log) [![godoc][D]](https://godoc.org/github.com/siddontang/go-log)
2023-07-12 07:22:59 +08:00
- [mlog](https://github.com/jbrodriguez/mlog) **star:33** 简单的go日志模块有5个级别可选循环(rotation)日志文件记录功能和stdout/stderr输出。 [![近三年未更新][Y]](https://github.com/jbrodriguez/mlog) [![godoc][D]](https://godoc.org/github.com/jbrodriguez/mlog)
2023-07-17 07:22:48 +08:00
- [distillog](https://github.com/amoghe/distillog) **star:32** distilled日志记录(可以将其视为stdlib +日志)。 [![近三年未更新][Y]](https://github.com/amoghe/distillog) [![godoc][D]](https://godoc.org/github.com/amoghe/distillog)
2022-10-05 07:28:40 +08:00
- [logrusly](https://github.com/sebest/logrusly) **star:28** [logrus](https://github.com/sirupsen/logrus)的插件,将错误信息发送到[Loggly](https://www.loggly.com/)。 [![godoc][D]](https://godoc.org/github.com/sebest/logrusly)
- [log](https://github.com/teris-io/log) **star:26** Go的结构化日志接口清晰地将日志facade与其实现(implementation)分离开来。 [![近三年未更新][Y]](https://github.com/teris-io/log) [![godoc][D]](https://godoc.org/github.com/teris-io/log)
2023-08-02 07:21:08 +08:00
- [slog-formatter](https://github.com/samber/slog-formatter) **star:24** Common formatters for slog and helpers to build your own. [![godoc][D]](https://godoc.org/github.com/samber/slog-formatter)
2023-05-31 07:26:28 +08:00
- [zkits-logger](https://github.com/edoger/zkits-logger) **star:24** 一个强大的零依赖JSON记录器。 [![godoc][D]](https://godoc.org/github.com/edoger/zkits-logger)
2023-02-23 07:27:01 +08:00
- [gomol](https://github.com/aphistic/gomol) **star:19** 为Go实现可多方式输出、结构化日志, 并可扩展日志输出方式。 [![近三年未更新][Y]](https://github.com/aphistic/gomol) [![godoc][D]](https://godoc.org/github.com/aphistic/gomol) [![归档项目][Archived]](https://github.com/aphistic/gomol)
2022-03-22 12:36:07 +08:00
- [gone/log](https://github.com/One-com/gone/tree/master/log) 快速、可扩展、功能齐全、std-lib源兼容的日志库。
2023-01-18 07:23:31 +08:00
- [logmatic](https://github.com/borderstech/logmatic) **star:16** Go的彩色日志记录器带有可配置的日志级别。 [![godoc][D]](https://godoc.org/github.com/borderstech/logmatic)
2022-10-05 07:28:40 +08:00
- [glo](https://github.com/lajosbencz/glo) **star:15** 参照PHP的Monolog实现的具有相同日志等级的Go日志库。 [![近三年未更新][Y]](https://github.com/lajosbencz/glo) [![godoc][D]](https://godoc.org/github.com/lajosbencz/glo)
2023-06-19 07:27:31 +08:00
- [xylog](https://github.com/xybor-x/xylog) **star:15** Leveled and structured logging, dynamic fields, high performance, zone management, simple configuration, and readable syntax. [![godoc][D]](https://godoc.org/github.com/xybor-x/xylog)
2023-05-04 07:21:08 +08:00
- [go-log](https://github.com/subchen/go-log) **star:14** Go实现的简单且可配置的日志工具并带有多等级、日志格式化和日志写入工具。 [![近三年未更新][Y]](https://github.com/subchen/go-log) [![godoc][D]](https://godoc.org/github.com/subchen/go-log)
2023-02-20 07:27:34 +08:00
- [log](https://github.com/heartwilltell/log) **star:14** Simple leveled logging wrapper around standard log package. [![godoc][D]](https://godoc.org/github.com/heartwilltell/log)
2023-07-03 07:26:28 +08:00
- [logrusiowriter](https://github.com/cabify/logrusiowriter) **star:14** io。作者的实现使用[logrus](https://github.com/sirupsen/logrus) logger。 [![近三年未更新][Y]](https://github.com/cabify/logrusiowriter) [![godoc][D]](https://godoc.org/github.com/cabify/logrusiowriter)
2023-04-15 10:58:14 +08:00
- [logdump](https://github.com/ewwwwwqm/logdump) **star:11** 用于多等级级日志记录的包。 [![近三年未更新][Y]](https://github.com/ewwwwwqm/logdump) [![godoc][D]](https://godoc.org/github.com/ewwwwwqm/logdump)
2022-10-05 07:28:40 +08:00
- [logo](https://github.com/mbndr/logo) **star:11** Go的日志工具可配置的日志写入器。 [![godoc][D]](https://godoc.org/github.com/mbndr/logo)
2023-06-19 07:27:31 +08:00
- [go-log](https://github.com/pieterclaerhout/go-log) **star:10** A logging library with stack traces, object dumping and optional timestamps. [![godoc][D]](https://godoc.org/github.com/pieterclaerhout/go-log)
2023-08-02 07:21:08 +08:00
- [kemba](https://github.com/clok/kemba) **star:10** 一个小的调试日志工具,灵感来自[debug](https://github.com/visionmedia/debug)非常适合CLI工具和应用程序。 [![godoc][D]](https://godoc.org/github.com/clok/kemba)
2022-10-17 07:41:41 +08:00
- [log](https://github.com/aerogo/log) **star:10** 一个O(1)日志系统,允许您将一个日志连接到多个日志写入(例如stdout、文件和TCP连接)。 [![近三年未更新][Y]](https://github.com/aerogo/log) [![godoc][D]](https://godoc.org/github.com/aerogo/log)
2022-10-05 07:28:40 +08:00
- [xlog](https://github.com/xfxdev/xlog) **star:8** 插件架构和灵活的日志系统,带有多级别、多日志目标和自定义日志格式。 [![近三年未更新][Y]](https://github.com/xfxdev/xlog) [![godoc][D]](https://godoc.org/github.com/xfxdev/xlog)
2023-08-02 07:21:08 +08:00
- [zax](https://github.com/yuseferi/zax) **star:6** Integrate Context with Zap logger, which leads to more flexibility in Go logging. [![godoc][D]](https://godoc.org/github.com/yuseferi/zax)
2022-10-05 07:28:40 +08:00
- [structy/log](https://github.com/structy/log) **star:5** 一个简单易用的日志系统,极简但具有调试和区分消息的功能。 [![godoc][D]](https://godoc.org/github.com/structy/log)
2023-07-20 07:26:36 +08:00
- [slf4g](https://github.com/echocat/slf4g) **star:3** Simple Logging Facade for Golang: Simple structured logging; but powerful, extendable and customizable, with huge amount of learnings from decades of past logging frameworks. [![godoc][D]](https://godoc.org/github.com/echocat/slf4g)
2023-07-10 07:28:10 +08:00
- [log](https://github.com/no-src/log) **star:2** A simple logging framework out of the box. [![godoc][D]](https://godoc.org/github.com/no-src/log)
2022-10-05 07:28:40 +08:00
- [yell](https://github.com/jfcg/yell) **star:1** 这是另一个极简的日志库。 [![godoc][D]](https://godoc.org/github.com/jfcg/yell)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 机器学习
2022-03-22 12:36:07 +08:00
_机器学习库。 (翻译出错了? 试试 [英文版](README_EN.md#machine-learning) 吧~)_
2023-08-04 07:26:48 +08:00
- [GoLearn](https://github.com/sjwhitworth/golearn) **star:8977** 通用机器学习库。 [![godoc][D]](https://godoc.org/github.com/sjwhitworth/golearn) [![包含中文文档][CN]](https://github.com/sjwhitworth/golearn)
- [gorse](https://github.com/zhenghaoz/gorse) **star:7512** 基于协同过滤的离线推荐系统后端。 [![近一周有更新][G]](https://github.com/zhenghaoz/gorse) [![godoc][D]](https://godoc.org/github.com/zhenghaoz/gorse) [![包含中文文档][CN]](https://github.com/zhenghaoz/gorse)
- [gorgonia](https://github.com/gorgonia/gorgonia) **star:5078** 基于图形graph-based的计算库如Theano它为构建各种机器学习和神经网络算法提供了基本框架。 [![godoc][D]](https://godoc.org/github.com/gorgonia/gorgonia)
- [m2cgen](https://github.com/BayesWitnesses/m2cgen) **star:2586** 这是一个CLI工具可以将经过训练的经典ML模型转换成零依赖的本地Go代码使用Python编写并支持Go语言。
- [tfgo](https://github.com/galeone/tfgo) **star:2283** 易于使用的Tensorflow bindings:简化了官方Tensorflow Go bindings的使用。在Go中定义计算图形在Python中加载和执行训练的模型。 [![godoc][D]](https://godoc.org/github.com/galeone/tfgo)
- [gosseract](https://github.com/otiai10/gosseract) **star:2176** 使用c++的Tesseract库实现的OCR。 [![godoc][D]](https://godoc.org/github.com/otiai10/gosseract)
- [goml](https://github.com/cdipaolo/goml) **star:1486** 在线机器学习。 [![godoc][D]](https://godoc.org/github.com/cdipaolo/goml)
2023-07-17 07:22:48 +08:00
- [eaopt](https://github.com/MaxHalford/eaopt) **star:845** 一个进化优化evolutionary optimization库。 [![godoc][D]](https://godoc.org/github.com/MaxHalford/eaopt)
2023-08-04 07:26:48 +08:00
- [bayesian](https://github.com/jbrukh/bayesian) **star:769** Go的朴素贝叶斯分类。 [![godoc][D]](https://godoc.org/github.com/jbrukh/bayesian)
2023-07-27 07:20:38 +08:00
- [CloudForest](https://github.com/ryanbressler/CloudForest) **star:728** 快速、灵活、多线程集成的决策树,用于机器学习。 [![godoc][D]](https://godoc.org/github.com/ryanbressler/CloudForest)
2023-07-20 07:26:36 +08:00
- [ocrserver](https://github.com/otiai10/ocrserver) **star:587** 一个简单的OCR API服务器非常容易地使用Docker和Heroku部署。 [![godoc][D]](https://godoc.org/github.com/otiai10/ocrserver)
2023-07-17 07:22:48 +08:00
- [gobrain](https://github.com/goml/gobrain) **star:544** 用 Go 编写的神经网络库。 [![godoc][D]](https://godoc.org/github.com/goml/gobrain)
2023-08-02 07:21:08 +08:00
- [onnx-go](https://github.com/owulveryck/onnx-go) **star:521** Go Interface 用于开放式神经网络交换(Open Neural Network Exchange)。 [![godoc][D]](https://godoc.org/github.com/owulveryck/onnx-go)
- [go-deep](https://github.com/patrikeh/go-deep) **star:463** 一个功能丰富的神经网络库 。 [![godoc][D]](https://godoc.org/github.com/patrikeh/go-deep)
2023-02-06 07:25:49 +08:00
- [regommend](https://github.com/muesli/regommend) **star:302** 推荐和协同过滤引擎。 [![近三年未更新][Y]](https://github.com/muesli/regommend) [![godoc][D]](https://godoc.org/github.com/muesli/regommend)
2023-08-02 07:21:08 +08:00
- [Goptuna](https://github.com/c-bata/goptuna) **star:238** Bayesian optimization framework for black-box functions written in Go. Everything will be optimized. [![近一周有更新][G]](https://github.com/c-bata/goptuna) [![godoc][D]](https://godoc.org/github.com/c-bata/goptuna)
2023-05-16 07:23:55 +08:00
- [go-galib](https://github.com/thoj/go-galib) **star:195** 用Go编写的遗传算法库。 [![近三年未更新][Y]](https://github.com/thoj/go-galib) [![godoc][D]](https://godoc.org/github.com/thoj/go-galib)
2023-07-17 07:22:48 +08:00
- [goga](https://github.com/tomcraven/goga) **star:195** Go的遗传算法库。 [![godoc][D]](https://godoc.org/github.com/tomcraven/goga)
- [goRecommend](https://github.com/timkaye11/goRecommend) **star:194** 用Go编写的推荐算法库。 [![近三年未更新][Y]](https://github.com/timkaye11/goRecommend) [![godoc][D]](https://godoc.org/github.com/timkaye11/goRecommend)
2023-02-20 07:27:34 +08:00
- [shield](https://github.com/eaigner/shield) **star:154** 贝叶斯文本分类器具有灵活的tokenizers和存储后端。 [![近三年未更新][Y]](https://github.com/eaigner/shield) [![godoc][D]](https://godoc.org/github.com/eaigner/shield)
2023-06-02 07:24:06 +08:00
- [go-fann](https://github.com/white-pony/go-fann) **star:114** 快速人工神经网络(FANN)库的Go bindings。 [![近三年未更新][Y]](https://github.com/white-pony/go-fann) [![godoc][D]](https://godoc.org/github.com/white-pony/go-fann)
2023-08-02 07:21:08 +08:00
- [go-featureprocessing](https://github.com/nikolaydubina/go-featureprocessing) **star:100** 快速和方便的特征处理低延迟机器学习在Go。 [![godoc][D]](https://godoc.org/github.com/nikolaydubina/go-featureprocessing)
2023-07-27 07:20:38 +08:00
- [goscore](https://github.com/asafschers/goscore) **star:89** 为预言模型标记语言PMML实现的评分API。 [![近三年未更新][Y]](https://github.com/asafschers/goscore) [![godoc][D]](https://godoc.org/github.com/asafschers/goscore)
2023-06-02 07:24:06 +08:00
- [gonet](https://github.com/dathoangnd/gonet) **star:79** 基于go的神经网络。 [![近三年未更新][Y]](https://github.com/dathoangnd/gonet) [![godoc][D]](https://godoc.org/github.com/dathoangnd/gonet)
- [fonet](https://github.com/Fontinalis/fonet) **star:77** 一个用Go编写的深度神经网络库。 [![godoc][D]](https://godoc.org/github.com/Fontinalis/fonet)
2023-01-18 07:23:31 +08:00
- [libsvm](https://github.com/datastream/libsvm) **star:73** 基于LIBSVM 3.14实现。 [![近三年未更新][Y]](https://github.com/datastream/libsvm) [![godoc][D]](https://godoc.org/github.com/datastream/libsvm)
2022-12-13 07:24:13 +08:00
- [neat](https://github.com/jinyeom/neat) **star:67** 即插即用的并行Go框架用于增强拓扑的神经进化(NeuroEvolution of Augmenting Topologies)。 [![近三年未更新][Y]](https://github.com/jinyeom/neat) [![godoc][D]](https://godoc.org/github.com/jinyeom/neat) [![归档项目][Archived]](https://github.com/jinyeom/neat)
2023-06-02 07:24:06 +08:00
- [neural-go](https://github.com/schuyler/neural-go) **star:65** 多层感知器网络在Go中的实现使用反向传播算法进行训练。 [![godoc][D]](https://godoc.org/github.com/schuyler/neural-go)
2022-10-05 07:28:40 +08:00
- [go-pr](https://github.com/daviddengcn/go-pr) **star:62** Go编写的模式识别包。 [![近三年未更新][Y]](https://github.com/daviddengcn/go-pr) [![godoc][D]](https://godoc.org/github.com/daviddengcn/go-pr)
2023-08-04 07:26:48 +08:00
- [GoMind](https://github.com/surenderthakran/gomind) **star:59** 一个简单的神经网络库。 [![godoc][D]](https://godoc.org/github.com/surenderthakran/gomind)
2023-06-02 07:24:06 +08:00
- [Varis](https://github.com/Xamber/Varis) **star:52** Go实现的神经网络。 [![近三年未更新][Y]](https://github.com/Xamber/Varis) [![godoc][D]](https://godoc.org/github.com/Xamber/Varis)
2022-10-05 07:28:40 +08:00
- [golinear](https://github.com/danieldk/golinear) **star:45** Go实现的liblinear bindings。 [![近三年未更新][Y]](https://github.com/danieldk/golinear) [![godoc][D]](https://godoc.org/github.com/danieldk/golinear)
2023-05-04 07:21:08 +08:00
- [go-cluster](https://github.com/e-XpertSolutions/go-cluster) **star:39** Go实现的k-modes和k-prototypes聚类算法。 [![godoc][D]](https://godoc.org/github.com/e-XpertSolutions/go-cluster)
2022-10-05 07:28:40 +08:00
- [godist](https://github.com/e-dard/godist) **star:35** 各种概率分布以及相关的method。 [![近三年未更新][Y]](https://github.com/e-dard/godist) [![godoc][D]](https://godoc.org/github.com/e-dard/godist)
2023-08-02 07:21:08 +08:00
- [randomforest](https://github.com/malaschitz/randomForest) **star:33** 容易使用随机森林库去。 [![godoc][D]](https://godoc.org/github.com/malaschitz/randomForest)
2023-07-03 07:26:28 +08:00
- [ddt](https://github.com/sgrodriguez/ddt) **star:29** 动态决策树,创建定义可定制规则的树。 [![godoc][D]](https://godoc.org/github.com/sgrodriguez/ddt)
2023-04-15 10:58:14 +08:00
- [evoli](https://github.com/khezen/evoli) **star:26** 遗传算法Genetic Algorithm和粒子群优化Particle Swarm Optimization库。 [![godoc][D]](https://godoc.org/github.com/khezen/evoli)
2022-10-05 07:28:40 +08:00
- [probab](https://github.com/ThePaw/probab) **star:18** 概率分布函数。贝叶斯推理。使用Go写的。 [![近三年未更新][Y]](https://github.com/ThePaw/probab) [![godoc][D]](https://godoc.org/github.com/ThePaw/probab)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-07-01 18:49:40 +08:00
## 消息
2019-06-27 17:22:00 +08:00
2022-03-22 12:36:07 +08:00
_实现消息传递系统的库。 (翻译出错了? 试试 [英文版](README_EN.md#messaging) 吧~)_
2023-08-02 07:21:08 +08:00
- [sarama](https://github.com/Shopify/sarama) **star:10193** Apache Kafka的Go库。 [![近一周有更新][G]](https://github.com/Shopify/sarama) [![godoc][D]](https://godoc.org/github.com/Shopify/sarama)
2023-08-04 07:26:48 +08:00
- [Centrifugo](https://github.com/centrifugal/centrifugo) **star:7260** 实时消息(Websockets或SockJS)服务器。 [![近一周有更新][G]](https://github.com/centrifugal/centrifugo) [![godoc][D]](https://godoc.org/github.com/centrifugal/centrifugo)
2023-08-02 07:21:08 +08:00
- [gorush](https://github.com/appleboy/gorush) **star:7169** 使用[APNs2](https://github.com/sideshow/apns2)和谷歌[GCM](https://github.com/google/go-gcm)推送通知服务器。 [![godoc][D]](https://godoc.org/github.com/appleboy/gorush)
2023-08-04 07:26:48 +08:00
- [machinery](https://github.com/RichardKnop/machinery) **star:6935** 基于分布式消息传递的异步任务/作业队列。 [![godoc][D]](https://godoc.org/github.com/RichardKnop/machinery)
- [Asynq](https://github.com/hibiken/asynq) **star:6504** 一个简单、可靠、高效的基于Redis的分布式任务队列。 [![近一周有更新][G]](https://github.com/hibiken/asynq) [![godoc][D]](https://godoc.org/github.com/hibiken/asynq)
- [Benthos](https://github.com/Jeffail/benthos) **star:6435** 一系列协议之间的消息流桥接。 [![近一周有更新][G]](https://github.com/Jeffail/benthos) [![godoc][D]](https://godoc.org/github.com/Jeffail/benthos)
- [Watermill](https://github.com/ThreeDotsLabs/watermill) **star:5959** Working efficiently with message streams. Building event driven applications, enabling event sourcing, RPC over messages, sagas. Can use conventional pub/sub implementations like Kafka or RabbitMQ, but also HTTP or MySQL binlog. [![godoc][D]](https://godoc.org/github.com/ThreeDotsLabs/watermill)
- [go-socket.io](https://github.com/googollee/go-socket.io) **star:5255** go的socket.io库一个实时应用程序框架。 [![近一周有更新][G]](https://github.com/googollee/go-socket.io) [![godoc][D]](https://godoc.org/github.com/googollee/go-socket.io)
- [NATS Go Client](https://github.com/nats-io/nats) **star:4659** 轻量级和高性能的发布-订阅(publish-subscribe)和分布式队列消息传递系统——这是一个Go库。 [![近一周有更新][G]](https://github.com/nats-io/nats) [![godoc][D]](https://godoc.org/github.com/nats-io/nats)
- [Confluent Kafka Golang Client](https://github.com/confluentinc/confluent-kafka-go) **star:4050** confluent-kafka-go是Confluent为Apache Kafka和Confluent平台开发的Golang客户端。 [![近一周有更新][G]](https://github.com/confluentinc/confluent-kafka-go) [![godoc][D]](https://godoc.org/github.com/confluentinc/confluent-kafka-go)
- [Mercure](https://github.com/dunglas/mercure) **star:3439** 使用Mercure协议分派服务器发送(server-sent)更新的服务器和库(构建在服务器发送事件之上)。 [![近一周有更新][G]](https://github.com/dunglas/mercure) [![godoc][D]](https://godoc.org/github.com/dunglas/mercure)
2023-08-02 07:21:08 +08:00
- [melody](https://github.com/olahol/melody) **star:3226** 处理websocket session的极简框架包括广播和自动ping/pong处理。 [![godoc][D]](https://godoc.org/github.com/olahol/melody)
2023-08-04 07:26:48 +08:00
- [APNs2](https://github.com/sideshow/apns2) **star:2838** HTTP / 2苹果消息推送provider——发送推送消息到iOS, tvOS, Safari和OSX应用。 [![godoc][D]](https://godoc.org/github.com/sideshow/apns2)
2023-08-02 07:21:08 +08:00
- [go-nsq](https://github.com/nsqio/go-nsq) **star:2448** NSQ的官方Go包。 [![近一周有更新][G]](https://github.com/nsqio/go-nsq) [![godoc][D]](https://godoc.org/github.com/nsqio/go-nsq)
2023-08-04 07:26:48 +08:00
- [gopush-cluster](https://github.com/Terry-Mao/gopush-cluster) **star:2077** gopush-cluster是一个gopush服务器集群。 [![近三年未更新][Y]](https://github.com/Terry-Mao/gopush-cluster) [![godoc][D]](https://godoc.org/github.com/Terry-Mao/gopush-cluster) [![包含中文文档][CN]](https://github.com/Terry-Mao/gopush-cluster)
2023-08-02 07:21:08 +08:00
- [Uniqush-Push](https://github.com/uniqush/uniqush-push) **star:1503** Redis支持的统一推送服务, 用于服务端向移动设备的消息通知。 [![近三年未更新][Y]](https://github.com/uniqush/uniqush-push) [![godoc][D]](https://godoc.org/github.com/uniqush/uniqush-push)
2023-08-04 07:26:48 +08:00
- [EventBus](https://github.com/asaskevich/EventBus) **star:1475** 具有异步兼容性的轻量级事件总线。 [![godoc][D]](https://godoc.org/github.com/asaskevich/EventBus)
2023-08-02 07:21:08 +08:00
- [Beaver](https://github.com/Clivern/Beaver) **star:1454** 一个实时消息服务器可用于在web和手机app端构建一个可伸缩的应用内通知多人游戏聊天应用。 [![godoc][D]](https://godoc.org/github.com/Clivern/Beaver)
2023-08-04 07:26:48 +08:00
- [Chanify](https://github.com/chanify/chanify) **star:1106** 推送通知服务器向你的iOS设备发送消息。 [![godoc][D]](https://godoc.org/github.com/chanify/chanify) [![包含中文文档][CN]](https://github.com/chanify/chanify)
- [zmq4](https://github.com/pebbe/zmq4) **star:1074** ZeroMQ的Go interface第4版。也可用于[第3版](https://github.com/pebbe/zmq3)和[第2版](https://github.com/pebbe/zmq2)。 [![godoc][D]](https://godoc.org/github.com/pebbe/zmq4)
- [amqp](https://github.com/rabbitmq/amqp091-go) **star:938** 进入RabbitMQ客户端库。 [![近一周有更新][G]](https://github.com/rabbitmq/amqp091-go) [![godoc][D]](https://godoc.org/github.com/rabbitmq/amqp091-go)
2023-08-02 07:21:08 +08:00
- [Gollum](https://github.com/trivago/gollum) **star:930** 一个n:m多路复用器(n:m multiplexer),收集不同来源的消息并将其广播到一组目的地。 [![godoc][D]](https://godoc.org/github.com/trivago/gollum)
- [dbus](https://github.com/godbus/dbus) **star:873** D-Bus的Go bindings。 [![godoc][D]](https://godoc.org/github.com/godbus/dbus)
- [golongpoll](https://github.com/jcuga/golongpoll) **star:636** HTTP longpoll服务器库使web发布-订阅变得简单。 [![godoc][D]](https://godoc.org/github.com/jcuga/golongpoll)
2023-07-27 07:20:38 +08:00
- [mangos](https://github.com/nanomsg/mangos) **star:601** 具有传输互操作性的Nanomsg(“可伸缩性协议”)的纯go实现。 [![godoc][D]](https://godoc.org/github.com/nanomsg/mangos)
2023-08-02 07:21:08 +08:00
- [emitter](https://github.com/olebedev/emitter) **star:471** 使用Go的方式发出事件, 带有通配符、谓词、取消可能性和许多其他优点。 [![godoc][D]](https://godoc.org/github.com/olebedev/emitter)
- [Glue](https://github.com/desertbit/glue) **star:409** 健壮的Go和Javascript Socket库(替代Socket.io)。 [![近三年未更新][Y]](https://github.com/desertbit/glue) [![godoc][D]](https://godoc.org/github.com/desertbit/glue)
2023-07-17 07:22:48 +08:00
- [pubsub](https://github.com/tuxychandru/pubsub) **star:391** 简单的pubsub的go包。 [![godoc][D]](https://godoc.org/github.com/tuxychandru/pubsub)
2023-07-27 07:20:38 +08:00
- [Quamina](https://github.com/timbray/quamina) **star:346** Fast pattern-matching for filtering messages and events. [![godoc][D]](https://godoc.org/github.com/timbray/quamina)
2023-08-02 07:21:08 +08:00
- [Bus](https://github.com/mustafaturan/bus) **star:305** 内部通信的最小消息总线实现。 [![godoc][D]](https://godoc.org/github.com/mustafaturan/bus)
- [messagebus](https://github.com/vardius/message-bus) **star:252** messagebus是一个Go的简单异步消息总线非常适合在执行事件sourcing、CQRS和DDD时用作事件总线。
2023-05-31 07:26:28 +08:00
- [mob](https://github.com/erni27/mob) mob is a generic-based, simple mediator / event aggregator library. It supports in-process requests / events processing.
2023-08-02 07:21:08 +08:00
- [rabtap](https://github.com/jandelgado/rabtap) **star:242** RabbitMQ的瑞士军刀cli应用。 [![godoc][D]](https://godoc.org/github.com/jandelgado/rabtap)
2023-01-18 07:23:31 +08:00
- [guble](https://github.com/smancke/guble) **star:155** 使用推送通知服务(谷歌Firebase云消息、苹果推送通知服务、SMS)的消息服务器, 支持websockets,REST API并具有分布式操作和消息持久性。 [![近三年未更新][Y]](https://github.com/smancke/guble) [![godoc][D]](https://godoc.org/github.com/smancke/guble)
2023-08-04 07:26:48 +08:00
- [hub](https://github.com/leandro-lugaresi/hub) **star:132** 适用于Go应用程序的消息/事件中心使用publish/subscribe模式并支持别名(类似rabbitMQ exchanges)。 [![godoc][D]](https://godoc.org/github.com/leandro-lugaresi/hub)
2022-10-24 07:29:45 +08:00
- [oplog](https://github.com/dailymotion/oplog) **star:114** 用于REST api的通用oplog/replication系统。 [![近三年未更新][Y]](https://github.com/dailymotion/oplog) [![godoc][D]](https://godoc.org/github.com/dailymotion/oplog)
2023-08-04 07:26:48 +08:00
- [redisqueue](https://github.com/robinjoseph08/redisqueue) **star:114** 基于Redis streams的队列的生产者和消费者。 [![近一周有更新][G]](https://github.com/robinjoseph08/redisqueue) [![godoc][D]](https://godoc.org/github.com/robinjoseph08/redisqueue)
2023-06-09 07:21:48 +08:00
- [rabbus](https://github.com/rafaeljesus/rabbus) **star:97** amqp exchanges和队列上的一个小工具。 [![近三年未更新][Y]](https://github.com/rafaeljesus/rabbus) [![godoc][D]](https://godoc.org/github.com/rafaeljesus/rabbus)
2023-07-07 07:24:47 +08:00
- [go-mq](https://github.com/cheshir/go-mq) **star:87** 具有声明式配置的RabbitMQ客户端。 [![godoc][D]](https://godoc.org/github.com/cheshir/go-mq)
2023-08-04 07:26:48 +08:00
- [Ratus](https://github.com/hyperonym/ratus) **star:87** Ratus is a RESTful asynchronous task queue server. [![近一周有更新][G]](https://github.com/hyperonym/ratus) [![godoc][D]](https://godoc.org/github.com/hyperonym/ratus)
2023-04-15 10:58:14 +08:00
- [drone-line](https://github.com/appleboy/drone-line) **star:79** 使用二进制、docker或Drone CI发送[Line](https://at.line.me/en)通知。 [![godoc][D]](https://godoc.org/github.com/appleboy/drone-line)
2023-06-19 07:27:31 +08:00
- [nsq-event-bus](https://github.com/rafaeljesus/nsq-event-bus) **star:77** 一个围绕NSQ topic和channel的小工具。 [![近三年未更新][Y]](https://github.com/rafaeljesus/nsq-event-bus) [![godoc][D]](https://godoc.org/github.com/rafaeljesus/nsq-event-bus)
2023-06-29 07:26:27 +08:00
- [go-notify](https://github.com/TheCreeper/go-notify) **star:67** 原生的freedesktop通知规范实现。 [![godoc][D]](https://godoc.org/github.com/TheCreeper/go-notify)
2023-05-31 07:26:28 +08:00
- [Commander](https://github.com/jeroenrinzema/commander) **star:65** 高级事件驱动的消费者/生产者(consumer/producer)支持各种“方言”如Apache Kafka。 [![godoc][D]](https://godoc.org/github.com/jeroenrinzema/commander)
2022-10-05 07:28:40 +08:00
- [RapidMQ](https://github.com/sybrexsys/RapidMQ) **star:65** RapidMQ是用于管理本地消息队列的轻量且可靠的库。 [![近三年未更新][Y]](https://github.com/sybrexsys/RapidMQ) [![godoc][D]](https://godoc.org/github.com/sybrexsys/RapidMQ)
2023-06-19 07:27:31 +08:00
- [go-res](https://github.com/jirenius/go-res) **star:63** 用于构建REST/实时服务的包其中客户端使用NATS和Resgate进行无缝同步。 [![godoc][D]](https://godoc.org/github.com/jirenius/go-res)
2023-07-27 07:20:38 +08:00
- [event](https://github.com/agoalofalife/event) **star:54** 观察者模式的实现。 [![近三年未更新][Y]](https://github.com/agoalofalife/event) [![godoc][D]](https://godoc.org/github.com/agoalofalife/event)
2023-08-02 07:21:08 +08:00
- [hare](https://github.com/leozz37/hare) **star:52** 一个用户友好的库用于发送消息和监听TCP套接字。 [![godoc][D]](https://godoc.org/github.com/leozz37/hare)
2023-04-15 10:58:14 +08:00
- [ami](https://github.com/kak-tus/ami) **star:26** 基于Redis集群流的客户端到可靠队列。 [![近三年未更新][Y]](https://github.com/kak-tus/ami) [![godoc][D]](https://godoc.org/github.com/kak-tus/ami)
2023-01-28 07:26:39 +08:00
- [go-vitotrol](https://github.com/maxatome/go-vitotrol) **star:22** 用于Viessmann Vitotrol web服务的客户端库。 [![godoc][D]](https://godoc.org/github.com/maxatome/go-vitotrol)
2023-04-27 07:22:09 +08:00
- [gosd](https://github.com/alexsniffin/gosd) **star:22** 一种用于调度何时将消息分派到通道的库。 [![godoc][D]](https://godoc.org/github.com/alexsniffin/gosd)
2023-01-18 07:23:31 +08:00
- [rmqconn](https://github.com/sbabiv/rmqconn) **star:20** RabbitMQ重新连接。amqp.Connection和amqp.Dial之上的Wrapper。允许在强制调用Close()方法关闭连接之前重新连接。 [![近三年未更新][Y]](https://github.com/sbabiv/rmqconn) [![godoc][D]](https://godoc.org/github.com/sbabiv/rmqconn)
2023-06-29 07:26:27 +08:00
- [jazz](https://github.com/socifi/jazz) **star:18** 一个简单的RabbitMQ抽象层用于队列管理和消息的发布和消费。 [![近三年未更新][Y]](https://github.com/socifi/jazz) [![godoc][D]](https://godoc.org/github.com/socifi/jazz)
2022-10-05 07:28:40 +08:00
- [gaurun-client](https://github.com/osamingo/gaurun-client) **star:11** 用Go编写的Gaurun客户端。 [![godoc][D]](https://godoc.org/github.com/osamingo/gaurun-client)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 微软办公软件
2019-06-25 18:06:22 +08:00
2023-08-04 07:26:48 +08:00
- [unioffice](https://github.com/unidoc/unioffice) **star:3910** 用于创建和处理Office Word (.docx)、Excel (.xlsx)和Powerpoint (.pptx)文档的纯go库。 [![godoc][D]](https://godoc.org/github.com/unidoc/unioffice)
2019-07-12 09:27:15 +08:00
2019-06-25 18:06:22 +08:00
### Microsoft Excel
2019-07-02 15:35:15 +08:00
2022-03-22 12:36:07 +08:00
_用于操作Microsoft Excel的库。 (翻译出错了? 试试 [英文版](README_EN.md#microsoft-excel) 吧~)_
2019-06-27 17:22:00 +08:00
2023-08-04 07:26:48 +08:00
- [excelize](https://github.com/xuri/excelize) **star:15606** Golang图书馆阅读和写作微软Excel&trade;(XLSX)文件。 [![近一周有更新][G]](https://github.com/xuri/excelize) [![godoc][D]](https://godoc.org/github.com/xuri/excelize)
2023-08-02 07:21:08 +08:00
- [xlsx](https://github.com/tealeg/xlsx) **star:5514** 用以简化在Go程序中读取使用最新版本Microsoft Excel的XML格式文件的库。 [![近一周有更新][G]](https://github.com/tealeg/xlsx) [![godoc][D]](https://godoc.org/github.com/tealeg/xlsx)
2023-07-12 07:22:59 +08:00
- [go-excel](https://github.com/szyhf/go-excel) **star:175** 一个简单轻便的阅读器,可以将类关系型数据库(relate-db-like)的excel作为表来读取。 [![godoc][D]](https://godoc.org/github.com/szyhf/go-excel)
- [xlsx](https://github.com/plandem/xlsx) **star:164** 在Go程序以快速和安全的方式读取/更新现有的Microsoft Excel文件。 [![godoc][D]](https://godoc.org/github.com/plandem/xlsx)
- [goxlsxwriter](https://github.com/fterrag/goxlsxwriter) **star:21** libxlsxwriter的Go binding, 用于编写XLSX (Microsoft Excel)文件。 [![godoc][D]](https://godoc.org/github.com/fterrag/goxlsxwriter) [![归档项目][Archived]](https://github.com/fterrag/goxlsxwriter)
2023-04-27 07:22:09 +08:00
- [exl](https://github.com/go-the-way/exl) **star:17** Excel binding to struct written in Go.(Only supports Go1.18+) [![godoc][D]](https://godoc.org/github.com/go-the-way/exl)
2019-06-27 17:22:00 +08:00
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 杂项
### 依赖注入
2019-07-02 15:35:15 +08:00
2022-03-22 12:36:07 +08:00
_用于处理依赖项注入的库。 (翻译出错了? 试试 [英文版](README_EN.md#dependency-injection) 吧~)_
2023-08-04 07:26:48 +08:00
- [google/wire](https://github.com/google/wire) **star:11030** Go中的自动初始化。 [![godoc][D]](https://godoc.org/github.com/google/wire)
- [fx](https://github.com/uber-go/fx) **star:4197** 基于依赖注入的Go应用程序框架(构建在dig之上)。 [![近一周有更新][G]](https://github.com/uber-go/fx) [![godoc][D]](https://godoc.org/github.com/uber-go/fx)
- [dig](https://github.com/uber-go/dig) **star:3303** 一个基于反射的Go依赖注入工具包。 [![近一周有更新][G]](https://github.com/uber-go/dig) [![godoc][D]](https://godoc.org/github.com/uber-go/dig)
- [do](https://github.com/samber/do) **star:1176** A dependency injection framework based on Generics. [![godoc][D]](https://godoc.org/github.com/samber/do)
2023-08-02 07:21:08 +08:00
- [GoLobby/Container](https://github.com/golobby/container) **star:477** GoLobby Container is a lightweight yet powerful IoC dependency injection container for the Go programming language. [![godoc][D]](https://godoc.org/github.com/golobby/container)
2023-08-04 07:26:48 +08:00
- [goioc/di](https://github.com/goioc/di) **star:288** 受spring启发的依赖注入容器。 [![godoc][D]](https://godoc.org/github.com/goioc/di)
2023-07-27 07:20:38 +08:00
- [di](https://github.com/goava/di) **star:197** go编程语言的依赖注入容器。 [![godoc][D]](https://godoc.org/github.com/goava/di)
- [dingo](https://github.com/i-love-flamingo/dingo) **star:164** 基于Guice的Go依赖注入工具包。 [![godoc][D]](https://godoc.org/github.com/i-love-flamingo/dingo)
2023-04-17 07:20:12 +08:00
- [alice](https://github.com/magic003/alice) **star:51** Go的外挂的依赖注入容器。 [![近三年未更新][Y]](https://github.com/magic003/alice) [![godoc][D]](https://godoc.org/github.com/magic003/alice)
2023-05-10 07:20:51 +08:00
- [wire](https://github.com/Fs02/wire) **star:38** 适用于Go的严格运行时依赖注入(Strict Runtime Dependency Injection)。 [![godoc][D]](https://godoc.org/github.com/Fs02/wire)
2023-06-19 07:27:31 +08:00
- [linker](https://github.com/logrange/linker) **star:35** A reflection based dependency injection and inversion of control library with components lifecycle support. [![近三年未更新][Y]](https://github.com/logrange/linker) [![godoc][D]](https://godoc.org/github.com/logrange/linker)
2023-08-02 07:21:08 +08:00
- [nject](https://github.com/muir/nject) **star:27** 用于库、测试、http端点和服务启动的类型安全、反射框架。 [![godoc][D]](https://godoc.org/github.com/muir/nject)
2023-04-15 10:58:14 +08:00
- [gocontainer](https://github.com/vardius/gocontainer) **star:18** 简单的依赖注入容器。 [![近三年未更新][Y]](https://github.com/vardius/gocontainer) [![godoc][D]](https://godoc.org/github.com/vardius/gocontainer)
2023-06-02 07:24:06 +08:00
- [kinit](https://github.com/go-kata/kinit) **star:8** 可定制的依赖注入容器,具有全局模式,级联初始化和紧急安全结束。 [![godoc][D]](https://godoc.org/github.com/go-kata/kinit)
2022-10-17 07:41:41 +08:00
- [HnH/di](https://github.com/HnH/di) **star:6** DI容器库专注于干净的API和灵活性。 [![godoc][D]](https://godoc.org/github.com/HnH/di)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
### 项目布局
2022-03-22 12:36:07 +08:00
_**非官方的**模式的结构项目。 (翻译出错了? 试试 [英文版](README_EN.md#project-layout) 吧~)_
2019-06-27 17:22:00 +08:00
2023-08-04 07:26:48 +08:00
- [golang-standards/project-layout](https://github.com/golang-standards/project-layout) **star:40952** golang生态系统中常见的历史和新兴项目布局模式。注意:尽管这个组织名称并不代表golang的官方标准更多信息请参见[本期](https://github.com/golang-standards/project-layout/issues/117)。尽管如此,有些人可能会发现这种布局很有用。
- [ardanlabs/service](https://github.com/ardanlabs/service) **star:2809** 用于构建产品级可扩展web服务应用程序的[starter kit](https://github.com/ardanlabs/service/wiki)。 [![近一周有更新][G]](https://github.com/ardanlabs/service) [![godoc][D]](https://godoc.org/github.com/ardanlabs/service)
- [modern-go-application](https://github.com/sagikazarmark/modern-go-application) **star:1627** 应用程序样板和应用现代实践的例子。 [![godoc][D]](https://godoc.org/github.com/sagikazarmark/modern-go-application)
- [pagoda](https://github.com/mikestefanello/pagoda) **star:865** Go内置快速、简单的全栈web开发入门工具包。 [![godoc][D]](https://godoc.org/github.com/mikestefanello/pagoda)
2023-08-02 07:21:08 +08:00
- [cookiecutter-golang](https://github.com/lacion/cookiecutter-golang) **star:622** 遵循生产最佳实践快速启动项目的Go应用程序样板模板。 [![godoc][D]](https://godoc.org/github.com/lacion/cookiecutter-golang)
- [golang-templates/seed](https://github.com/golang-templates/seed) **star:388** Go应用程序GitHub存储库模板。
- [go-starter](https://github.com/allaboutapps/go-starter) **star:360** 一个自以为是的面向生产的RESTful JSON后端模板与VSCode DevContainers高度集成。 [![godoc][D]](https://godoc.org/github.com/allaboutapps/go-starter)
2023-08-04 07:26:48 +08:00
- [go-todo-backend](https://github.com/Fs02/go-todo-backend) **star:238** 去Todo后端示例使用模块化项目布局的产品微服务。 [![godoc][D]](https://godoc.org/github.com/Fs02/go-todo-backend)
2023-08-02 07:21:08 +08:00
- [scaffold](https://github.com/catchplay/scaffold) **star:142** Scaffold生成一个starter Go项目布局。让您关注已实现的业务逻辑。 [![近三年未更新][Y]](https://github.com/catchplay/scaffold) [![godoc][D]](https://godoc.org/github.com/catchplay/scaffold)
2023-07-27 07:20:38 +08:00
- [go-sample](https://github.com/zitryss/go-sample) **star:124** 带有实际代码的Go应用程序项目的示例布局。 [![近三年未更新][Y]](https://github.com/zitryss/go-sample) [![godoc][D]](https://godoc.org/github.com/zitryss/go-sample)
2023-08-02 07:21:08 +08:00
- [gobase](https://github.com/wajox/gobase) **star:48** 一个简单的golang应用框架带有真实golang应用程序的基本设置。 [![godoc][D]](https://godoc.org/github.com/wajox/gobase)
2023-07-20 07:26:36 +08:00
- [wangyoucao577/go-project-layout](https://github.com/wangyoucao577/go-project-layout) **star:22** 关于如何构造Go项目布局的一组实践和讨论。 [![godoc][D]](https://godoc.org/github.com/wangyoucao577/go-project-layout)
2023-07-12 07:22:59 +08:00
- [insidieux/inizio](https://github.com/insidieux/inizio) **star:16** 带有插件的Golang项目布局生成器。 [![godoc][D]](https://godoc.org/github.com/insidieux/inizio)
2023-08-04 07:26:48 +08:00
- [go-module](https://github.com/octomation/go-module) **star:13** Template for a typical module written on Go.
2019-06-27 17:22:00 +08:00
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
### 字符串
2019-07-02 15:35:15 +08:00
2022-03-22 12:36:07 +08:00
_处理字符串的库。 (翻译出错了? 试试 [英文版](README_EN.md#strings) 吧~)_
2019-08-01 21:20:26 +08:00
2023-08-02 07:21:08 +08:00
- [xstrings](https://github.com/huandu/xstrings) **star:1235** 从其他语言移植的有用字符串函数合集。 [![godoc][D]](https://godoc.org/github.com/huandu/xstrings)
2023-07-27 07:20:38 +08:00
- [sttr](https://github.com/abhimanyu003/sttr) **star:735** 跨平台的cli应用程序对字符串执行各种操作。 [![godoc][D]](https://godoc.org/github.com/abhimanyu003/sttr)
2023-08-04 07:26:48 +08:00
- [strutil](https://github.com/ozgio/strutil) **star:196** 字符串处理工具。 [![godoc][D]](https://godoc.org/github.com/ozgio/strutil)
2023-08-02 07:21:08 +08:00
- [gobeam/Stringy](https://github.com/gobeam/Stringy) **star:187** 字符串操作库,可以将字符串转换为驼色,蛇色,烤肉色等。 [![godoc][D]](https://godoc.org/github.com/gobeam/Stringy)
2023-06-29 07:26:27 +08:00
- [caps](https://github.com/chanced/caps) **star:47** A case conversion library. [![godoc][D]](https://godoc.org/github.com/chanced/caps)
2022-03-22 12:36:07 +08:00
- [go-formatter](https://gitlab.com/tymonx/go-formatter) 实现**替换字段**由大括号'{}'格式字符串包围。
2023-04-15 10:58:14 +08:00
- [bexp](https://github.com/mkungla/bexp) 执行大括号扩展机制来生成任意字符串。
2019-08-01 21:20:26 +08:00
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2020-04-25 07:08:54 +08:00
### 未分类的
2019-08-01 21:20:26 +08:00
2022-03-22 12:36:07 +08:00
_这些库之所以放在这里是因为不适合放在其他分类。 (翻译出错了? 试试 [英文版](README_EN.md#uncategorized) 吧~)_
2023-08-04 07:26:48 +08:00
- [gopsutil](https://github.com/shirou/gopsutil) **star:9303** 用于检索进程和系统利用率(CPU、内存、磁盘等)的跨平台的库。 [![近一周有更新][G]](https://github.com/shirou/gopsutil) [![godoc][D]](https://godoc.org/github.com/shirou/gopsutil)
- [archiver](https://github.com/mholt/archiver) **star:4027** 用于生成和解压.zip和.tar.gz文档的库和命令。 [![godoc][D]](https://godoc.org/github.com/mholt/archiver)
- [gatus](https://github.com/TwinProduction/gatus) **star:3928** 自动服务运行状况仪表板。 [![近一周有更新][G]](https://github.com/TwinProduction/gatus) [![godoc][D]](https://godoc.org/github.com/TwinProduction/gatus)
- [gofakeit](https://github.com/brianvoe/gofakeit) **star:3222** 用go编写的随机数据生成器。 [![近一周有更新][G]](https://github.com/brianvoe/gofakeit) [![godoc][D]](https://godoc.org/github.com/brianvoe/gofakeit)
2023-08-02 07:21:08 +08:00
- [go-resiliency](https://github.com/eapache/go-resiliency) **star:1836** Go语言弹性模式(resiliency pattern)。 [![godoc][D]](https://godoc.org/github.com/eapache/go-resiliency)
- [base64Captcha](https://github.com/mojocn/base64Captcha) **star:1823** base64Captcha支持数字字母算术音频和混合模式的验证码。 [![godoc][D]](https://godoc.org/github.com/mojocn/base64Captcha) [![包含中文文档][CN]](https://github.com/mojocn/base64Captcha)
- [gosms](https://github.com/haxpax/gosms) **star:1429** Go编写的私人的本地短信网关可以用来发送短信。 [![godoc][D]](https://godoc.org/github.com/haxpax/gosms)
- [go-commons-pool](https://github.com/jolestar/go-commons-pool) **star:1168** Go语言的通用对象池。 [![godoc][D]](https://godoc.org/github.com/jolestar/go-commons-pool) [![包含中文文档][CN]](https://github.com/jolestar/go-commons-pool)
2022-03-22 12:36:07 +08:00
- [go-openapi](https://github.com/go-openapi) 用于解析和使用开放api模式(open-api schemas)的包的集合。
2023-08-04 07:26:48 +08:00
- [llvm](https://github.com/llir/llvm) **star:1077** 用于在纯Go中与LLVM IR交互的库。 [![godoc][D]](https://godoc.org/github.com/llir/llvm)
- [shortid](https://github.com/teris-io/shortid) **star:876** 分布式地生成超短、唯一、非顺序、URL友好的id。 [![godoc][D]](https://godoc.org/github.com/teris-io/shortid)
2023-08-02 07:21:08 +08:00
- [health](https://github.com/alexliesenfeld/health) **star:685** 一个简单而灵活的Go健康检查库。 [![godoc][D]](https://godoc.org/github.com/alexliesenfeld/health)
2023-08-04 07:26:48 +08:00
- [shoutrrr](https://github.com/containrrr/shoutrrr) **star:677** 通知库提供了对各种消息服务(如slack、mattermost、fy和smtp等)的轻松访问。 [![近一周有更新][G]](https://github.com/containrrr/shoutrrr) [![godoc][D]](https://godoc.org/github.com/containrrr/shoutrrr)
- [stateless](https://github.com/qmuntal/stateless) **star:654** 用于创建状态机的流畅库。 [![godoc][D]](https://godoc.org/github.com/qmuntal/stateless)
2023-06-26 07:28:04 +08:00
- [health](https://github.com/dimiro1/health) **star:444** 易于使用,可扩展的健康检查库。 [![godoc][D]](https://godoc.org/github.com/dimiro1/health)
2023-07-20 07:26:36 +08:00
- [banner](https://github.com/dimiro1/banner) **star:437** 在Go应用程序中添加漂亮的横幅(banner)。 [![godoc][D]](https://godoc.org/github.com/dimiro1/banner)
2023-08-02 07:21:08 +08:00
- [xz](https://github.com/ulikunitz/xz) **star:425** 纯golang包读和写xz压缩文件。 [![godoc][D]](https://godoc.org/github.com/ulikunitz/xz)
2023-07-20 07:26:36 +08:00
- [gountries](https://github.com/pariz/gountries) **star:390** 获取国家和细节数据的包。 [![godoc][D]](https://godoc.org/github.com/pariz/gountries)
2023-05-04 07:21:08 +08:00
- [conv](https://github.com/cstockton/go-conv) **star:386** conv包提供了跨Go类型(Go types)的快速和直观的转换。 [![godoc][D]](https://godoc.org/github.com/cstockton/go-conv)
2023-08-04 07:26:48 +08:00
- [lk](https://github.com/hyperboloide/lk) **star:306** 一个简单的版权许可证库。 [![godoc][D]](https://godoc.org/github.com/hyperboloide/lk)
- [ffmt](https://github.com/go-ffmt/ffmt) **star:294** 美化数据,使其更适合人查看。 [![godoc][D]](https://godoc.org/github.com/go-ffmt/ffmt) [![包含中文文档][CN]](https://github.com/go-ffmt/ffmt)
2023-07-03 07:26:28 +08:00
- [healthcheck](https://github.com/etherlabsio/healthcheck) **star:256** 用于RESTful服务的强制的(opinionated)并发健康检查HTTP处理程序。 [![godoc][D]](https://godoc.org/github.com/etherlabsio/healthcheck)
2023-08-02 07:21:08 +08:00
- [antch](https://github.com/antchfx/antch) **star:252** 一个快速、强大和可扩展的web爬虫框架。 [![近三年未更新][Y]](https://github.com/antchfx/antch) [![godoc][D]](https://godoc.org/github.com/antchfx/antch) [![包含中文文档][CN]](https://github.com/antchfx/antch)
2023-07-27 07:20:38 +08:00
- [go-unarr](https://github.com/gen2brain/go-unarr) **star:244** 用于RAR、TAR、ZIP和7z文件的解压缩库。 [![godoc][D]](https://godoc.org/github.com/gen2brain/go-unarr)
2023-07-07 07:24:47 +08:00
- [battery](https://github.com/distatus/battery) **star:225** 跨平台、标准化的电池信息库。 [![godoc][D]](https://godoc.org/github.com/distatus/battery)
2023-07-20 07:26:36 +08:00
- [bitio](https://github.com/icza/bitio) **star:221** 高度优化的位级读写器。 [![godoc][D]](https://godoc.org/github.com/icza/bitio)
2023-06-26 07:28:04 +08:00
- [stats](https://github.com/go-playground/stats) **star:166** Monitors Go MemStats + 诸如如内存Swap和CPU的系统状态统计并通过UDP发送到任何你想记录的地方 [![近三年未更新][Y]](https://github.com/go-playground/stats) [![godoc][D]](https://godoc.org/github.com/go-playground/stats)
2023-06-19 07:27:31 +08:00
- [turtle](https://github.com/hackebrot/turtle) **star:152** Go的Emojis库。 [![godoc][D]](https://godoc.org/github.com/hackebrot/turtle)
2023-07-27 07:20:38 +08:00
- [gtree](https://github.com/ddddddO/gtree) **star:137** Provide CLI, Package and Web for tree output and directories creation from Markdown or programmatically. [![近一周有更新][G]](https://github.com/ddddddO/gtree) [![godoc][D]](https://godoc.org/github.com/ddddddO/gtree)
2023-08-04 07:26:48 +08:00
- [captcha](https://github.com/steambap/captcha) **star:134** captcha包为验证码生成提供了一个易于使用的、unopinionated的API。 [![godoc][D]](https://godoc.org/github.com/steambap/captcha)
2023-06-09 07:21:48 +08:00
- [gotoprom](https://github.com/cabify/gotoprom) **star:106** 为Prometheus客户端提供类型安全的指标(metric)构建工具库。 [![godoc][D]](https://godoc.org/github.com/cabify/gotoprom)
2023-08-02 07:21:08 +08:00
- [indigo](https://github.com/osamingo/indigo) **star:104** 分布式唯一ID生成器, 使用Sonyflake并由Base58编码。 [![godoc][D]](https://godoc.org/github.com/osamingo/indigo)
2023-07-17 07:22:48 +08:00
- [gommit](https://github.com/antham/gommit) **star:103** 分析git提交消息确保它们遵循已定义的格式。 [![godoc][D]](https://godoc.org/github.com/antham/gommit)
2023-06-19 07:27:31 +08:00
- [morse](https://github.com/alwindoss/morse) **star:78** 实现字符串与摩尔斯电码转换的库。 [![godoc][D]](https://godoc.org/github.com/alwindoss/morse)
2023-06-01 07:25:18 +08:00
- [faker](https://github.com/pioz/faker) **star:76** 随机假数据和结构生成器为Go。 [![godoc][D]](https://godoc.org/github.com/pioz/faker)
2023-08-04 07:26:48 +08:00
- [persian](https://github.com/mavihq/persian) **star:75** 一些适用于波斯语的Go工具库。 [![godoc][D]](https://godoc.org/github.com/mavihq/persian)
2023-07-03 07:26:28 +08:00
- [pdfgen](https://github.com/hyperboloide/pdfgen) **star:61** 通过Json请求生成PDF的HTTP服务。 [![近三年未更新][Y]](https://github.com/hyperboloide/pdfgen) [![godoc][D]](https://godoc.org/github.com/hyperboloide/pdfgen)
- [xkg](https://github.com/go-xkg/xkg) **star:56** X Keyboard Grabber(键盘事件捕获) [![近三年未更新][Y]](https://github.com/go-xkg/xkg) [![godoc][D]](https://godoc.org/github.com/go-xkg/xkg)
2023-04-23 07:26:25 +08:00
- [datacounter](https://github.com/miolini/datacounter) **star:45** 用于readers/writer/http.ResponseWriter的计数器。 [![godoc][D]](https://godoc.org/github.com/miolini/datacounter)
2023-06-29 07:26:27 +08:00
- [browscap_go](https://github.com/digitalcrab/browscap_go) **star:44** GoLang库[浏览器功能项目](https://browscap.org/)。 [![godoc][D]](https://godoc.org/github.com/digitalcrab/browscap_go)
2023-04-15 10:58:14 +08:00
- [url-shortener](https://github.com/pantrif/url-shortener) **star:42** 一个现代的、强大的、健壮的URL转短链接微服务带有mysql支持。 [![godoc][D]](https://godoc.org/github.com/pantrif/url-shortener)
2022-11-22 07:23:48 +08:00
- [VarHandler](https://github.com/azr/generators/tree/master/varhandler) 用于生成http输入和输出处理模板。
2023-04-15 10:58:14 +08:00
- [sandid](https://github.com/aofei/sandid) **star:40** 能沟让地球上的每一粒沙子都有自己的ID。 [![godoc][D]](https://godoc.org/github.com/aofei/sandid)
2023-06-29 07:26:27 +08:00
- [autoflags](https://github.com/artyom/autoflags) **star:39** 从struct字段自动定义命令行flag的Go包。 [![godoc][D]](https://godoc.org/github.com/artyom/autoflags)
2023-05-09 07:21:25 +08:00
- [gosh](https://github.com/osamingo/gosh) **star:34** 提供Go统计处理程序结构和测量方法。 [![godoc][D]](https://godoc.org/github.com/osamingo/gosh)
2023-07-17 07:22:48 +08:00
- [xdg](https://github.com/rkoesters/xdg) **star:33** FreeDesktop.org (xdg)规范在Go中的实现。 [![godoc][D]](https://godoc.org/github.com/rkoesters/xdg)
2023-06-19 07:27:31 +08:00
- [metrics](https://github.com/pascaldekloe/metrics) **star:26** 用于instrumentation和Prometheus exposition的库。 [![godoc][D]](https://godoc.org/github.com/pascaldekloe/metrics)
2023-07-17 07:22:48 +08:00
- [shellwords](https://github.com/Wing924/shellwords) **star:21** 一个Go库实现了依照UNIX Bourne shell的关键词解析规则进行字符串操纵。 [![godoc][D]](https://godoc.org/github.com/Wing924/shellwords)
2023-04-15 10:58:14 +08:00
- [numa](https://github.com/lrita/numa) **star:16** NUMA是一个用go编写的实用程序库。它可以帮助我们编写一些NUMA-AWARED代码。 [![godoc][D]](https://godoc.org/github.com/lrita/numa)
2023-05-04 07:21:08 +08:00
- [anagent](https://github.com/mudler/anagent) **star:14** Go语言的最小化可插入的evloop/timer处理程序, 带有依赖注入。 [![近三年未更新][Y]](https://github.com/mudler/anagent) [![godoc][D]](https://godoc.org/github.com/mudler/anagent)
2022-12-30 07:23:10 +08:00
- [avgRating](https://github.com/kirillDanshin/avgRating) **star:14** 根据威尔逊得分排序算法(Wilson Score Equation)计算平均分和评分。 [![近三年未更新][Y]](https://github.com/kirillDanshin/avgRating) [![godoc][D]](https://godoc.org/github.com/kirillDanshin/avgRating)
2023-04-27 07:22:09 +08:00
- [hostutils](https://github.com/Wing924/hostutils) **star:12** 一个用于打包和解包FQDNs列表的go语言库。 [![godoc][D]](https://godoc.org/github.com/Wing924/hostutils)
2023-06-01 07:25:18 +08:00
- [go-commandbus](https://github.com/lana/go-commandbus) **star:10** 一个微小的可插拔的Go命令总线。 [![godoc][D]](https://godoc.org/github.com/lana/go-commandbus)
2023-05-16 07:23:55 +08:00
- [faker](https://github.com/neotoolkit/faker) **star:9** 假数据生成器。 [![godoc][D]](https://godoc.org/github.com/neotoolkit/faker)
2023-05-31 07:26:28 +08:00
- [openapi](https://github.com/neotoolkit/openapi) **star:9** OpenAPI 3。x解析器。 [![godoc][D]](https://godoc.org/github.com/neotoolkit/openapi)
- [varint](https://github.com/chmike/varint) **star:7** 一个比标准库中提供的更快的变长整数编码器/解码器。 [![godoc][D]](https://godoc.org/github.com/chmike/varint)
2023-07-17 07:22:48 +08:00
- [basexx](https://github.com/bobg/basexx) **star:4** 转换为,从,和之间的数字字符串在不同的数字基数。 [![godoc][D]](https://godoc.org/github.com/bobg/basexx)
2023-07-27 07:20:38 +08:00
- [common](https://github.com/kubeservice-stack/common) **star:4** A library for server framework. [![godoc][D]](https://godoc.org/github.com/kubeservice-stack/common)
2023-02-03 07:29:33 +08:00
- [sitemap-format](https://github.com/mingard/sitemap-format) **star:3** A simple sitemap generator, with a little syntactic sugar. [![godoc][D]](https://godoc.org/github.com/mingard/sitemap-format)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 自然语言处理
2022-03-22 12:36:07 +08:00
_用于处理人类语言的库。 (翻译出错了? 试试 [英文版](README_EN.md#natural-language-processing) 吧~)_
2022-04-08 20:10:43 +08:00
See also [Text Processing](#text-processing) and [Text Analysis](#text-analysis).
2022-03-22 12:36:07 +08:00
### 语言检测
2023-07-27 07:20:38 +08:00
- [whatlanggo](https://github.com/abadojack/whatlanggo) **star:593** Go的自然语言检测包。支持84种语言和24种脚本(书写系统,如拉丁语、西里尔语等)。 [![godoc][D]](https://godoc.org/github.com/abadojack/whatlanggo)
2023-07-07 07:24:47 +08:00
- [getlang](https://github.com/rylans/getlang) **star:155** 快速自然语言检测包。 [![godoc][D]](https://godoc.org/github.com/rylans/getlang)
2023-06-26 07:28:04 +08:00
- [guesslanguage](https://github.com/endeveit/guesslanguage) **star:57** 通过一个 unicode 文本来猜测该文本使用的语言 [![近三年未更新][Y]](https://github.com/endeveit/guesslanguage) [![godoc][D]](https://godoc.org/github.com/endeveit/guesslanguage)
2023-05-22 07:23:47 +08:00
- [detectlanguage](https://github.com/detectlanguage/detectlanguage-go) **star:22** 语言检测API Go客户端。支持批量请求短短语或单字语言检测。 [![godoc][D]](https://godoc.org/github.com/detectlanguage/detectlanguage-go)
2022-03-22 12:36:07 +08:00
### 形态分析
2023-08-02 07:21:08 +08:00
- [spaGO](https://github.com/nlpodyssey/spago) **star:1547** Go中的独立机器学习和自然语言处理库。 [![godoc][D]](https://godoc.org/github.com/nlpodyssey/spago)
2023-08-04 07:26:48 +08:00
- [kagome](https://github.com/ikawaha/kagome) **star:741** JP形态学分析仪编写的纯Go。 [![godoc][D]](https://godoc.org/github.com/ikawaha/kagome)
2023-08-02 07:21:08 +08:00
- [nlp](https://github.com/james-bowman/nlp) **star:416** 支持LSA(潜在语义分析)的Go自然语言处理库。 [![godoc][D]](https://godoc.org/github.com/james-bowman/nlp)
2023-08-04 07:26:48 +08:00
- [nlp](https://github.com/Shixzie/nlp) **star:383** 从字符串中提取值并用nlp填充结构。 [![近三年未更新][Y]](https://github.com/Shixzie/nlp) [![godoc][D]](https://godoc.org/github.com/Shixzie/nlp) [![归档项目][Archived]](https://github.com/Shixzie/nlp)
2023-07-17 07:22:48 +08:00
- [RAKE.go](https://github.com/afjoseph/RAKE.Go) **star:100** 快速自动关键字提取算法(RAKE)的Go端口。 [![近三年未更新][Y]](https://github.com/afjoseph/RAKE.Go) [![godoc][D]](https://godoc.org/github.com/afjoseph/RAKE.Go)
2023-04-15 10:58:14 +08:00
- [go-stem](https://github.com/agonopol/go-stem) **star:75** 波特词干算法的实现。 [![近三年未更新][Y]](https://github.com/agonopol/go-stem) [![godoc][D]](https://godoc.org/github.com/agonopol/go-stem)
2023-06-19 07:27:31 +08:00
- [go2vec](https://github.com/danieldk/go2vec) **star:52** 用于word2vec嵌入式的阅读器和实用程序函数。 [![近三年未更新][Y]](https://github.com/danieldk/go2vec) [![godoc][D]](https://godoc.org/github.com/danieldk/go2vec)
2022-10-05 07:28:40 +08:00
- [porter2](https://github.com/zhenjl/porter2) **star:46** 非常快的波特2史坦默。 [![godoc][D]](https://godoc.org/github.com/zhenjl/porter2)
2023-07-03 07:26:28 +08:00
- [govader](https://github.com/jonreiter/govader) **star:35** [VADER情绪分析]的Go实现(https://github.com/cjhutto/vaderSentiment)。 [![godoc][D]](https://godoc.org/github.com/jonreiter/govader)
2022-11-29 07:22:02 +08:00
- [snowball](https://github.com/goodsign/snowball) **star:35** 滚雪球柄端口(cgo包装)为 Go 。提供词干提取功能[Snowball native](http://snowball.tartarus.org/)。 [![近三年未更新][Y]](https://github.com/goodsign/snowball)
2023-07-27 07:20:38 +08:00
- [paicehusk](https://github.com/rookii/paicehusk) **star:29** Golang实现了Paice/外壳阻塞算法。 [![近三年未更新][Y]](https://github.com/rookii/paicehusk) [![godoc][D]](https://godoc.org/github.com/rookii/paicehusk)
2022-10-05 07:28:40 +08:00
- [golibstemmer](https://github.com/rjohnsondev/golibstemmer) **star:20** Go 绑定斯诺鲍libstemmer库包括波特2。 [![近三年未更新][Y]](https://github.com/rjohnsondev/golibstemmer) [![godoc][D]](https://godoc.org/github.com/rjohnsondev/golibstemmer)
- [libtextcat](https://github.com/goodsign/libtextcat) **star:12** 用于libtextcat C库的Cgo绑定。保证与版本2.2兼容。 [![近三年未更新][Y]](https://github.com/goodsign/libtextcat) [![godoc][D]](https://godoc.org/github.com/goodsign/libtextcat)
2022-12-30 07:23:10 +08:00
- [porter](https://github.com/a2800276/porter) **star:12** 这是Martin Porter在C语言中实现的Porter词干分析算法的一个相当简单的移植。 [![近三年未更新][Y]](https://github.com/a2800276/porter) [![godoc][D]](https://godoc.org/github.com/a2800276/porter)
2023-01-10 07:27:35 +08:00
- [gosentiwordnet](https://github.com/dinopuguh/gosentiwordnet) **star:10** 情绪分析器使用的多愁善感网词汇在Go。 [![godoc][D]](https://godoc.org/github.com/dinopuguh/gosentiwordnet)
2023-04-15 10:58:14 +08:00
- [govader-backend](https://github.com/PIMPfiction/govader_backend) **star:5** Microservice implementation of [GoVader](https://github.com/jonreiter/govader). [![godoc][D]](https://godoc.org/github.com/PIMPfiction/govader_backend)
2022-11-29 07:22:02 +08:00
- [spelling-corrector](https://github.com/jorelosorio/spellingcorrector) **star:2** 西班牙语的拼写校正器或创建自己的。 [![godoc][D]](https://godoc.org/github.com/jorelosorio/spellingcorrector)
2022-03-22 12:36:07 +08:00
### 鼻涕虫
2023-08-02 07:21:08 +08:00
- [slug](https://github.com/gosimple/slug) **star:983** URL 友好的 slug 化工具,支持多种语言 [![godoc][D]](https://godoc.org/github.com/gosimple/slug)
- [go-slugify](https://github.com/mozillazg/go-slugify) **star:87** 生成漂亮的固定链接地址slug支持多种语言 [![近三年未更新][Y]](https://github.com/mozillazg/go-slugify) [![godoc][D]](https://godoc.org/github.com/mozillazg/go-slugify)
2022-10-05 07:28:40 +08:00
- [Slugify](https://github.com/avelino/slugify) **star:32** 字符串 slug 化的工具。 [![近三年未更新][Y]](https://github.com/avelino/slugify) [![godoc][D]](https://godoc.org/github.com/avelino/slugify)
2022-03-22 12:36:07 +08:00
### 分词器
2023-08-02 07:21:08 +08:00
- [prose](https://github.com/jdkato/prose) **star:3008** 支持标记化、词性标记、命名实体提取等文本处理的库。只说英语。 [![godoc][D]](https://godoc.org/github.com/jdkato/prose) [![归档项目][Archived]](https://github.com/jdkato/prose)
2023-08-04 07:26:48 +08:00
- [gse](https://github.com/go-ego/gse) **star:2285** 高效的文本分割;支持英语、汉语、日语等。 [![godoc][D]](https://godoc.org/github.com/go-ego/gse) [![包含中文文档][CN]](https://github.com/go-ego/gse)
- [gojieba](https://github.com/yanyiwu/gojieba) **star:2190** 这是一个Go实现的[jieba](https://github.com/fxsjy/jieba),这是一个中文分词算法。 [![godoc][D]](https://godoc.org/github.com/yanyiwu/gojieba) [![包含中文文档][CN]](https://github.com/yanyiwu/gojieba)
- [sentences](https://github.com/neurosnap/sentences) **star:374** Sentence tokenizer: converts text into a list of sentences. [![godoc][D]](https://godoc.org/github.com/neurosnap/sentences)
2023-07-07 07:24:47 +08:00
- [segment](https://github.com/blevesearch/segment) **star:78** Go库用于执行Unicode文本分割如[Unicode标准附件#29](https://www.unicode.org/reports/tr29/)所述。 [![godoc][D]](https://godoc.org/github.com/blevesearch/segment)
2023-05-16 07:23:55 +08:00
- [textcat](https://github.com/pebbe/textcat) **star:70** Go package支持基于n-gram的文本分类支持utf-8和原始文本。 [![godoc][D]](https://godoc.org/github.com/pebbe/textcat)
2022-10-05 07:28:40 +08:00
- [MMSEGO](https://github.com/awsong/MMSEGO) **star:62** 这是一个 Go 实现的[MMSEG](http://technology.chtsai.org/mmseg/),这是一个中文分词算法。 [![近三年未更新][Y]](https://github.com/awsong/MMSEGO) [![godoc][D]](https://godoc.org/github.com/awsong/MMSEGO)
2023-06-19 07:27:31 +08:00
- [stemmer](https://github.com/dchest/stemmer) **star:51** 用于Go编程语言的Stemmer包。包括英语和德语词根。 [![近三年未更新][Y]](https://github.com/dchest/stemmer) [![godoc][D]](https://godoc.org/github.com/dchest/stemmer)
2023-07-12 07:22:59 +08:00
- [gotokenizer](https://github.com/xujiajun/gotokenizer) **star:18** 一种基于字典和双字母格朗语言模型的记号赋予器。(现在只支持中文分割) [![近三年未更新][Y]](https://github.com/xujiajun/gotokenizer) [![godoc][D]](https://godoc.org/github.com/xujiajun/gotokenizer)
2022-12-13 07:24:13 +08:00
- [shamoji](https://github.com/osamingo/shamoji) **star:13** shamoji是用Go编写的word过滤包。 [![godoc][D]](https://godoc.org/github.com/osamingo/shamoji)
2022-03-22 12:36:07 +08:00
### 翻译
2023-08-02 07:21:08 +08:00
- [go-pinyin](https://github.com/mozillazg/go-pinyin) **star:1437** 中文汉字到汉语拼音的转换。 [![godoc][D]](https://godoc.org/github.com/mozillazg/go-pinyin)
2023-08-04 07:26:48 +08:00
- [gotext](https://github.com/leonelquinteros/gotext) **star:388** GNU gettext 工具 [![godoc][D]](https://godoc.org/github.com/leonelquinteros/gotext)
2022-03-22 12:36:07 +08:00
- [go-i18n](https://github.com/nicksnyder/go-i18n/) 软件包和用于处理本地化文本的附带工具。
2023-07-10 07:28:10 +08:00
- [go-localize](https://github.com/m1/go-localize) **star:54** 简单易用的i18n(国际化和本地化)引擎——用于翻译语言环境字符串。 [![godoc][D]](https://godoc.org/github.com/m1/go-localize)
2023-07-17 07:22:48 +08:00
- [iuliia-go](https://github.com/mehanizm/iuliia-go) **star:38** 直译斯拉夫字母→拉丁以所有可能的方式。 [![godoc][D]](https://godoc.org/github.com/mehanizm/iuliia-go)
2023-04-15 10:58:14 +08:00
- [go-mystem](https://github.com/dveselov/mystem) **star:30** CGo绑定到Yandex。Mystem -俄罗斯形态学分析仪。 [![近三年未更新][Y]](https://github.com/dveselov/mystem) [![godoc][D]](https://godoc.org/github.com/dveselov/mystem)
2023-07-03 07:26:28 +08:00
- [spreak](https://github.com/vorlif/spreak) **star:24** Flexible translation and humanization library for Go, based on the concepts behind gettext. [![godoc][D]](https://godoc.org/github.com/vorlif/spreak)
2022-10-05 07:28:40 +08:00
- [icu](https://github.com/goodsign/icu) **star:21** Cgo绑定用于icu4c C库的检测和转换功能。保证与版本50.1兼容。 [![近三年未更新][Y]](https://github.com/goodsign/icu) [![godoc][D]](https://godoc.org/github.com/goodsign/icu)
2023-07-03 07:26:28 +08:00
- [t](https://github.com/youthlin/t) **star:15** 另一个用于golang的i18n pkg它遵循GNU gettext风格并支持.po/。mo文件:“t。T (gettext)”、“T。N (ngettext)”,等等。它包含一个cmd工具[xtemplate](https://github.com/youthlin/t/blob/main/cmd/xtemplate),可以从文本/html模板中提取消息作为pot文件。 [![godoc][D]](https://godoc.org/github.com/youthlin/t) [![包含中文文档][CN]](https://github.com/youthlin/t)
2022-03-22 12:36:07 +08:00
### 音译
2023-07-27 07:20:38 +08:00
- [go-unidecode](https://github.com/mozillazg/go-unidecode) **star:109** Unicode文本的ASCII音译。 [![godoc][D]](https://godoc.org/github.com/mozillazg/go-unidecode)
- [gounidecode](https://github.com/fiam/gounidecode) **star:79** 用于Go的Unicode音译器(也称为unidecode)。 [![近三年未更新][Y]](https://github.com/fiam/gounidecode) [![godoc][D]](https://godoc.org/github.com/fiam/gounidecode)
2023-05-16 07:23:55 +08:00
- [transliterator](https://github.com/alexsergivan/transliterator) **star:35** 提供单向字符串音译,并支持特定于语言的音译规则。 [![godoc][D]](https://godoc.org/github.com/alexsergivan/transliterator)
2023-02-20 07:27:34 +08:00
- [enca](https://github.com/endeveit/enca) **star:15** 最小的cgo绑定[libenca](https://cihar.com/software/enca/),它检测字符编码。 [![近三年未更新][Y]](https://github.com/endeveit/enca) [![godoc][D]](https://godoc.org/github.com/endeveit/enca)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 网络
2022-03-22 12:36:07 +08:00
_用于处理各种网络层的库。 (翻译出错了? 试试 [英文版](README_EN.md#networking) 吧~)_
2023-08-04 07:26:48 +08:00
- [fasthttp](https://github.com/valyala/fasthttp) **star:19919** 一个快速HTTP实现比net/http快10倍。 [![近一周有更新][G]](https://github.com/valyala/fasthttp) [![godoc][D]](https://godoc.org/github.com/valyala/fasthttp)
- [kcptun](https://github.com/xtaci/kcptun) **star:13423** 基于KCP协议的非常简单和快速udp隧道。 [![godoc][D]](https://godoc.org/github.com/xtaci/kcptun)
- [webrtc](https://github.com/pions/webrtc) **star:11490** WebRTC API的纯Go实现。 [![近一周有更新][G]](https://github.com/pions/webrtc) [![godoc][D]](https://godoc.org/github.com/pions/webrtc)
- [quic-go](https://github.com/lucas-clemente/quic-go) **star:8490** 在纯Go中实现了QUIC协议。 [![近一周有更新][G]](https://github.com/lucas-clemente/quic-go) [![godoc][D]](https://godoc.org/github.com/lucas-clemente/quic-go)
- [gnet](https://github.com/panjf2000/gnet) **star:7903** “gnet”是一个用纯Go编写的高性能、轻量级、非阻塞、事件驱动的网络框架。 [![godoc][D]](https://godoc.org/github.com/panjf2000/gnet) [![包含中文文档][CN]](https://github.com/panjf2000/gnet)
- [dns](https://github.com/miekg/dns) **star:7120** 用于 DNS 的库。 [![godoc][D]](https://godoc.org/github.com/miekg/dns)
- [gopacket](https://github.com/google/gopacket) **star:5739** Go library for packet processing with libpcap bindings. [![godoc][D]](https://godoc.org/github.com/google/gopacket)
- [HTTPLab](https://github.com/gchaincl/httplab) **star:3913** HTTPLabs 允许你检查 HTTP 请求和伪造响应。 [![godoc][D]](https://godoc.org/github.com/gchaincl/httplab)
- [kcp-go](https://github.com/xtaci/kcp-go) **star:3700** 快速可靠的ARQ协议。 [![godoc][D]](https://godoc.org/github.com/xtaci/kcp-go)
- [netpoll](https://github.com/cloudwego/netpoll) **star:3639** 一个高性能的非阻塞I/O网络框架它专注于RPC场景由字节跳动开发。 [![近一周有更新][G]](https://github.com/cloudwego/netpoll) [![godoc][D]](https://godoc.org/github.com/cloudwego/netpoll) [![包含中文文档][CN]](https://github.com/cloudwego/netpoll)
- [gobgp](https://github.com/osrg/gobgp) **star:3273** 基于 Go 的 BGP 实现。 [![近一周有更新][G]](https://github.com/osrg/gobgp) [![godoc][D]](https://godoc.org/github.com/osrg/gobgp)
- [ssh](https://github.com/gliderlabs/ssh) **star:3104** 用于构建SSH服务器的高级API(封装密码/ SSH)。 [![近一周有更新][G]](https://github.com/gliderlabs/ssh) [![godoc][D]](https://godoc.org/github.com/gliderlabs/ssh)
- [fortio](https://github.com/fortio/fortio) **star:2980** 负载测试库和命令行工具高级的echo服务器和web UI。允许指定一组每秒查询的负载并记录延迟直方图和其他有用的统计数据并将它们作图。支持Tcp、Http、gRPC。 [![近一周有更新][G]](https://github.com/fortio/fortio) [![godoc][D]](https://godoc.org/github.com/fortio/fortio)
- [water](https://github.com/songgao/water) **star:1713** 简单TUN / TAP图书馆。 [![godoc][D]](https://godoc.org/github.com/songgao/water)
- [nbio](https://github.com/lesismal/nbio) **star:1684** 纯Go 1000k+连接解决方案支持tls/http1。X /websocket和基本兼容的net/http具有高性能和低内存成本无阻塞事件驱动易于使用。 [![近一周有更新][G]](https://github.com/lesismal/nbio) [![godoc][D]](https://godoc.org/github.com/lesismal/nbio)
- [gev](https://github.com/Allenxuxu/gev) **star:1655** gev是一个基于反应器模式的轻量级、快速的非阻塞TCP网络库。 [![godoc][D]](https://godoc.org/github.com/Allenxuxu/gev)
- [go-getter](https://github.com/hashicorp/go-getter) **star:1508** 通过URL来下载文件或目录。 [![godoc][D]](https://godoc.org/github.com/hashicorp/go-getter)
- [sftp](https://github.com/pkg/sftp) **star:1373** 软件包sftp实现SSH文件传输协议<https://filezilla-project.org/specs/draft-ietf-secsh-filexfer-02.txt>所示。 [![godoc][D]](https://godoc.org/github.com/pkg/sftp)
- [NFF-Go](https://github.com/intel-go/nff-go) **star:1311** 用于快速开发云计算和裸机网络功能的框架(原YANFF)。 [![godoc][D]](https://godoc.org/github.com/intel-go/nff-go)
- [grab](https://github.com/cavaliercoder/grab) **star:1276** 用于管理文件下载。 [![godoc][D]](https://godoc.org/github.com/cavaliercoder/grab)
2023-08-02 07:21:08 +08:00
- [ftp](https://github.com/jlaffaye/ftp) **star:1148** Package ftp实现了[RFC 959](https://tools.ietf.org/html/rfc959)中描述的ftp客户端。 [![godoc][D]](https://godoc.org/github.com/jlaffaye/ftp)
- [mdns](https://github.com/hashicorp/mdns) **star:998** 简单mDNS(Multicast DNS)客户端/服务器库。 [![近一周有更新][G]](https://github.com/hashicorp/mdns) [![godoc][D]](https://godoc.org/github.com/hashicorp/mdns)
2022-03-22 12:36:07 +08:00
- [mqttPaho](https://eclipse.org/paho/clients/golang/) Paho Go客户端提供了一个 MQTT 客户端库用于通过TCP、TLS或WebSockets连接到MQTT代理。
2023-08-04 07:26:48 +08:00
- [gosnmp](https://github.com/soniah/gosnmp) **star:976** 用于执行 SNMP 操作的原生 Go 库。 [![godoc][D]](https://godoc.org/github.com/soniah/gosnmp)
2023-07-27 07:20:38 +08:00
- [vssh](https://github.com/yahoo/vssh) **star:909** Go库建立网络和服务器自动化的SSH协议。 [![godoc][D]](https://godoc.org/github.com/yahoo/vssh)
2023-08-04 07:26:48 +08:00
- [gmqtt](https://github.com/DrmagicE/gmqtt) **star:891** Gmqtt是一个灵活、高性能的MQTT代理库它完全实现了MQTT协议V3.1.1。 [![godoc][D]](https://godoc.org/github.com/DrmagicE/gmqtt) [![包含中文文档][CN]](https://github.com/DrmagicE/gmqtt)
- [cidranger](https://github.com/yl2chen/cidranger) **star:848** 快速得 IP 到 CIDR 查找。 [![godoc][D]](https://godoc.org/github.com/yl2chen/cidranger)
2023-08-02 07:21:08 +08:00
- [easytcp](https://github.com/DarthPestilane/easytcp) **star:702** 一个用Go (Golang)编写的轻量级TCP框架与消息路由器一起构建。EasyTCP可以帮助您轻松、快速地构建TCP服务器而且不那么痛苦。 [![godoc][D]](https://godoc.org/github.com/DarthPestilane/easytcp)
2023-07-27 07:20:38 +08:00
- [lhttp](https://github.com/fanux/lhttp) **star:691** 强大的websocket框架可以让你更容易的构建IM服务器。 [![近三年未更新][Y]](https://github.com/fanux/lhttp) [![godoc][D]](https://godoc.org/github.com/fanux/lhttp) [![包含中文文档][CN]](https://github.com/fanux/lhttp)
2023-08-04 07:26:48 +08:00
- [peerdiscovery](https://github.com/schollz/peerdiscovery) **star:597** 基于UDP组播的跨平台本地对等点发现库。 [![godoc][D]](https://godoc.org/github.com/schollz/peerdiscovery)
- [go-stun](https://github.com/ccding/go-stun) **star:591** 实现了 STUN 客户端(RFC 3489和RFC 5389)。 [![godoc][D]](https://godoc.org/github.com/ccding/go-stun)
2023-06-29 07:26:27 +08:00
- [gotcp](https://github.com/gansidui/gotcp) **star:508** 用于快速编写 tcp 应用程序。 [![近三年未更新][Y]](https://github.com/gansidui/gotcp) [![godoc][D]](https://godoc.org/github.com/gansidui/gotcp)
2023-08-02 07:21:08 +08:00
- [gaio](https://github.com/xtaci/gaio) **star:506** 高性能异步io网络在proactor模式下的Golang。 [![godoc][D]](https://godoc.org/github.com/xtaci/gaio)
2023-07-20 07:26:36 +08:00
- [stun](https://github.com/go-rtc/stun) **star:487** Go实现的RFC 5389 STUN协议。 [![godoc][D]](https://godoc.org/github.com/go-rtc/stun) [![归档项目][Archived]](https://github.com/go-rtc/stun)
2023-08-02 07:21:08 +08:00
- [gopcap](https://github.com/akrennmair/gopcap) **star:473** 用 Go 实现了对 libpcap 的封装。 [![godoc][D]](https://godoc.org/github.com/akrennmair/gopcap)
2023-08-04 07:26:48 +08:00
- [tcp_server](https://github.com/firstrow/tcp_server) **star:422** Go 图书馆建设tcp服务器更快。 [![godoc][D]](https://godoc.org/github.com/firstrow/tcp_server)
2023-06-26 07:28:04 +08:00
- [raw](https://github.com/mdlayher/raw) **star:421** Package raw支持在设备驱动程序级别读取和写入网络接口的数据。 [![godoc][D]](https://godoc.org/github.com/mdlayher/raw) [![归档项目][Archived]](https://github.com/mdlayher/raw)
2023-07-20 07:26:36 +08:00
- [winrm](https://github.com/masterzen/winrm) **star:404** Go WinRM客户端远程执行Windows机器上的命令。 [![godoc][D]](https://godoc.org/github.com/masterzen/winrm)
2023-08-02 07:21:08 +08:00
- [gws](https://github.com/lxzan/gws) **star:392** High-Performance WebSocket Server & Client With AsyncIO Supporting . [![近一周有更新][G]](https://github.com/lxzan/gws) [![godoc][D]](https://godoc.org/github.com/lxzan/gws)
2023-08-04 07:26:48 +08:00
- [ftpserverlib](https://github.com/fclairamb/ftpserverlib) **star:371** 功能齐全的FTP服务器库。 [![godoc][D]](https://godoc.org/github.com/fclairamb/ftpserverlib)
2023-08-02 07:21:08 +08:00
- [arp](https://github.com/mdlayher/arp) **star:327** 实现了arp协议如RFC 826中所述。 [![godoc][D]](https://godoc.org/github.com/mdlayher/arp)
2023-08-04 07:26:48 +08:00
- [dnsmonster](https://github.com/mosajjal/dnsmonster) **star:272** 被动DNS捕获/监控框架。 [![godoc][D]](https://godoc.org/github.com/mosajjal/dnsmonster)
2023-08-02 07:21:08 +08:00
- [ethernet](https://github.com/mdlayher/ethernet) **star:269** 实现了对IEEE 802.3以太网II帧和IEEE 802.1Q VLAN标签的编组和解组。 [![godoc][D]](https://godoc.org/github.com/mdlayher/ethernet)
- [buffstreams](https://github.com/stabbycutyou/buffstreams) **star:253** 通过TCP传输协议缓冲区数据。 [![近三年未更新][Y]](https://github.com/stabbycutyou/buffstreams) [![godoc][D]](https://godoc.org/github.com/stabbycutyou/buffstreams)
2023-08-04 07:26:48 +08:00
- [gNxI](https://github.com/google/gnxi) **star:241** 一组基于 gNMI 和 gNOI 协议的网络管理工具。 [![近一周有更新][G]](https://github.com/google/gnxi)
2023-08-02 07:21:08 +08:00
- [jazigo](https://github.com/udhos/jazigo) **star:195** Jazigo是一个用Go编写的工具用于检索多个网络设备的配置。 [![godoc][D]](https://godoc.org/github.com/udhos/jazigo)
- [utp](https://github.com/anacrolix/utp) **star:170** Go uTP微传输协议的实现。 [![godoc][D]](https://godoc.org/github.com/anacrolix/utp)
2023-05-16 07:23:55 +08:00
- [canopus](https://github.com/zubairhamed/canopus) **star:152** CoAP客户端/服务器实现(RFC 7252)。 [![近三年未更新][Y]](https://github.com/zubairhamed/canopus) [![godoc][D]](https://godoc.org/github.com/zubairhamed/canopus)
2023-07-12 07:22:59 +08:00
- [xtcp](https://github.com/xfxdev/xtcp) **star:144** TCP服务器框架同时全双工通信优雅的关机和自定义协议。 [![近三年未更新][Y]](https://github.com/xfxdev/xtcp) [![godoc][D]](https://godoc.org/github.com/xfxdev/xtcp)
2023-04-15 10:58:14 +08:00
- [sslb](https://github.com/eduardonunesp/sslb) **star:143** 它是一个超级简单的负载平衡器,只是一个实现某种性能的小项目。 [![godoc][D]](https://godoc.org/github.com/eduardonunesp/sslb)
2023-08-02 07:21:08 +08:00
- [iplib](https://github.com/c-robinson/iplib) **star:116** 用于处理IP地址的库(net)。借鉴于python 的 [ipaddress](https://docy-doc.org/3/library/ipaddress.html)和ruby [ipaddr](https://ruby-doc.org/stdlib-2.5.1/libdoc/ipaddr/rdoc/IPAddr.html) [![godoc][D]](https://godoc.org/github.com/c-robinson/iplib)
- [gldap](https://github.com/jimlambrt/gldap) **star:95** Gldap提供了一个ldap服务器实现您可以为它的ldap操作提供处理程序。 [![godoc][D]](https://godoc.org/github.com/jimlambrt/gldap)
2023-05-16 07:23:55 +08:00
- [ether](https://github.com/songgao/ether) **star:79** 一个用于发送和接收以太网帧的跨平台 Go 库。 [![近三年未更新][Y]](https://github.com/songgao/ether) [![godoc][D]](https://godoc.org/github.com/songgao/ether)
2023-04-15 10:58:14 +08:00
- [dhcp6](https://github.com/mdlayher/dhcp6) **star:76** 实现了一个DHCPv6服务器如RFC 3315所述。 [![godoc][D]](https://godoc.org/github.com/mdlayher/dhcp6)
2023-07-17 07:22:48 +08:00
- [packet](https://github.com/aerogo/packet) **star:74** 通过TCP和UDP发送数据包。它可以缓冲消息和热交换连接。 [![近三年未更新][Y]](https://github.com/aerogo/packet) [![godoc][D]](https://godoc.org/github.com/aerogo/packet)
2023-07-10 07:28:10 +08:00
- [go-powerdns](https://github.com/joeig/go-powerdns) **star:71** Golang的PowerDNS API绑定。 [![godoc][D]](https://godoc.org/github.com/joeig/go-powerdns)
2023-07-27 07:20:38 +08:00
- [fullproxy](https://github.com/shoriwe/fullproxy) **star:59** A fully featured scriptable and daemon configurable proxy and pivoting toolkit with SOCKS5, HTTP, raw ports and reverse proxy protocols. [![godoc][D]](https://godoc.org/github.com/shoriwe/fullproxy)
2023-04-20 07:25:14 +08:00
- [portproxy](https://github.com/aybabtme/portproxy) **star:53** Simple TCP proxy which adds CORS support to API's which don't support it. [![近三年未更新][Y]](https://github.com/aybabtme/portproxy) [![godoc][D]](https://godoc.org/github.com/aybabtme/portproxy)
2023-04-15 10:58:14 +08:00
- [linkio](https://github.com/ian-kent/linkio) **star:52** 网络链路速度模拟,主要用于接口的读/写。 [![近三年未更新][Y]](https://github.com/ian-kent/linkio) [![godoc][D]](https://godoc.org/github.com/ian-kent/linkio)
2023-08-02 07:21:08 +08:00
- [panoptes-stream](https://github.com/yahoo/panoptes-stream) **star:39** 云本地分布式流媒体网络遥测(gNMI, Juniper JTI和Cisco MDT)。 [![godoc][D]](https://godoc.org/github.com/yahoo/panoptes-stream)
2023-04-15 10:58:14 +08:00
- [golibwireshark](https://github.com/sunwxg/golibwireshark) **star:29** 用于解码 pcap 文件和分析解剖数据。 [![近三年未更新][Y]](https://github.com/sunwxg/golibwireshark) [![godoc][D]](https://godoc.org/github.com/sunwxg/golibwireshark)
2022-10-05 07:28:40 +08:00
- [graval](https://github.com/koofr/graval) **star:28** FTP服务器框架。 [![godoc][D]](https://godoc.org/github.com/koofr/graval)
2023-04-15 10:58:14 +08:00
- [publicip](https://github.com/polera/publicip) **star:26** 包publicip返回面向公共的IPv4地址(internet出口)。 [![近三年未更新][Y]](https://github.com/polera/publicip) [![godoc][D]](https://godoc.org/github.com/polera/publicip)
2023-06-19 07:27:31 +08:00
- [httpproxy](https://github.com/wzshiming/httpproxy) **star:21** HTTP代理处理程序和拨号。 [![godoc][D]](https://godoc.org/github.com/wzshiming/httpproxy)
2023-04-15 10:58:14 +08:00
- [goshark](https://github.com/sunwxg/goshark) **star:16** 用于解码IP包创建用于分析的数据结构包。 [![近三年未更新][Y]](https://github.com/sunwxg/goshark) [![godoc][D]](https://godoc.org/github.com/sunwxg/goshark)
2023-02-13 07:25:43 +08:00
- [llb](https://github.com/kirillDanshin/llb) **star:14** 一个非常简单、快速的代理服务器后端。可用于快速重定向到预定义域,具有零内存分配和快速响应。 [![近三年未更新][Y]](https://github.com/kirillDanshin/llb) [![godoc][D]](https://godoc.org/github.com/kirillDanshin/llb)
2022-10-05 07:28:40 +08:00
- [tspool](https://github.com/two/tspool) **star:14** TCP库使用工作池来提高性能并保护服务器。 [![近三年未更新][Y]](https://github.com/two/tspool) [![godoc][D]](https://godoc.org/github.com/two/tspool)
2023-08-04 07:26:48 +08:00
- [gnet](https://github.com/fish-tennis/gnet) **star:9** `gnet` is a high-performance networking framework,especially for game servers. [![godoc][D]](https://godoc.org/github.com/fish-tennis/gnet) [![包含中文文档][CN]](https://github.com/fish-tennis/gnet)
2023-07-27 07:20:38 +08:00
- [go-sse](https://github.com/lampctl/go-sse) **star:2** Go client and server implementation of HTML server-sent events. [![godoc][D]](https://godoc.org/github.com/lampctl/go-sse)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
### HTTP客户端
2022-03-22 12:36:07 +08:00
_用于发出HTTP请求的库。 (翻译出错了? 试试 [英文版](README_EN.md#http-clients) 吧~)_
2023-08-04 07:26:48 +08:00
- [resty](https://github.com/go-resty/resty) **star:8132** 简单的 HTTP 和 REST 客户端,受到 Ruby rest-client 的启发。 [![近一周有更新][G]](https://github.com/go-resty/resty) [![godoc][D]](https://godoc.org/github.com/go-resty/resty)
- [req](https://github.com/imroc/req) **star:3489** 简单的去HTTP客户端与黑魔法(更少的代码和更高的效率)。 [![近一周有更新][G]](https://github.com/imroc/req) [![godoc][D]](https://godoc.org/github.com/imroc/req)
- [heimdall](https://github.com/gojektech/heimdall) **star:2464** 一个增强的http客户端具有重试和hystrix功能。 [![godoc][D]](https://godoc.org/github.com/gojektech/heimdall)
2023-07-27 07:20:38 +08:00
- [grequests](https://github.com/levigross/grequests) **star:1980** 一个 Go “克隆”的伟大和著名的请求库。 [![godoc][D]](https://godoc.org/github.com/levigross/grequests)
2023-08-04 07:26:48 +08:00
- [go-retryablehttp](https://github.com/hashicorp/go-retryablehttp) **star:1625** Go中可重试的HTTP客户端。 [![godoc][D]](https://godoc.org/github.com/hashicorp/go-retryablehttp)
2023-08-02 07:21:08 +08:00
- [sling](https://github.com/dghubble/sling) **star:1590** Sling是一个用于创建和发送API请求的Go HTTP客户端库。 [![近一周有更新][G]](https://github.com/dghubble/sling) [![godoc][D]](https://godoc.org/github.com/dghubble/sling)
2023-08-04 07:26:48 +08:00
- [requests](https://github.com/carlmjohnson/requests) **star:1096** gopher的HTTP请求。使用上下文。上下文并且不隐藏底层的net/http。客户端使其与标准Go api兼容。还包括测试工具。 [![godoc][D]](https://godoc.org/github.com/carlmjohnson/requests)
- [gentleman](https://github.com/h2non/gentleman) **star:1012** 功能齐全的插件驱动HTTP客户端库。 [![godoc][D]](https://godoc.org/github.com/h2non/gentleman)
2023-08-02 07:21:08 +08:00
- [pester](https://github.com/sethgrid/pester) **star:621** 使用重试、后退和并发执行HTTP客户机调用。 [![godoc][D]](https://godoc.org/github.com/sethgrid/pester)
2023-07-27 07:20:38 +08:00
- [go-cleanhttp](https://github.com/hashicorp/go-cleanhttp) **star:306** 很容易获得stdlib HTTP客户端它不与其他客户端共享任何状态。 [![godoc][D]](https://godoc.org/github.com/hashicorp/go-cleanhttp)
- [request](https://github.com/monaco-io/request) **star:245** golang的HTTP客户端。如果您有关于axios或请求的经验您会喜欢它。没有第三依赖性。 [![godoc][D]](https://godoc.org/github.com/monaco-io/request)
2023-08-02 07:21:08 +08:00
- [go-otelroundtripper](https://github.com/NdoleStudio/go-otelroundtripper) **star:73** http。为HTTP请求发出开放遥测指标的RoundTripper。 [![近一周有更新][G]](https://github.com/NdoleStudio/go-otelroundtripper) [![godoc][D]](https://godoc.org/github.com/NdoleStudio/go-otelroundtripper)
2023-07-17 07:22:48 +08:00
- [go-http-client](https://github.com/bozd4g/go-http-client) **star:60** 简单而容易地进行http调用。 [![godoc][D]](https://godoc.org/github.com/bozd4g/go-http-client)
2023-07-27 07:20:38 +08:00
- [rq](https://github.com/ddo/rq) **star:49** golang stdlib HTTP客户端更好的接口。 [![近三年未更新][Y]](https://github.com/ddo/rq) [![godoc][D]](https://godoc.org/github.com/ddo/rq)
2023-08-04 07:26:48 +08:00
- [go-zoox/fetch](https://github.com/go-zoox/fetch) **star:47** A Powerful, Lightweight, Easy Http Client, inspired by Web Fetch API. [![近一周有更新][G]](https://github.com/go-zoox/fetch) [![godoc][D]](https://godoc.org/github.com/go-zoox/fetch)
2023-08-02 07:21:08 +08:00
- [httpretry](https://github.com/ybbus/httpretry) **star:39** 用重试功能丰富默认的go HTTP客户端。 [![godoc][D]](https://godoc.org/github.com/ybbus/httpretry)
2023-04-20 07:25:14 +08:00
- [go-req](https://github.com/wenerme/go-req) **star:20** 声明式golang HTTP客户端。 [![godoc][D]](https://godoc.org/github.com/wenerme/go-req)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-25 18:06:22 +08:00
## OpenGL
2022-03-22 12:36:07 +08:00
_用于在Go中使用OpenGL的库。 (翻译出错了? 试试 [英文版](README_EN.md#opengl) 吧~)_
2019-06-25 18:06:22 +08:00
2023-08-04 07:26:48 +08:00
- [glfw](https://github.com/go-gl/glfw) **star:1415** GLFW 3 的 Go 接口实现。
- [gl](https://github.com/go-gl/gl) **star:981** OpenGL 的 Go 接口实现(通过glow生成)。
- [mathgl](https://github.com/go-gl/mathgl) **star:499** 完全基于 Go 实现的数学软件包,专门用于处理三维数学。借鉴于 GLM。 [![godoc][D]](https://godoc.org/github.com/go-gl/mathgl)
2023-07-27 07:20:38 +08:00
- [goxjs/gl](https://github.com/goxjs/gl) **star:165** 跨平台的OpenGL 接口实现(OS X, Linux, Windows浏览器iOS, Android)。 [![godoc][D]](https://godoc.org/github.com/goxjs/gl)
- [goxjs/glfw](https://github.com/goxjs/glfw) **star:78** 跨平台 glfw 库,可用于创建 OpenGL 上下文并接收事件。 [![godoc][D]](https://godoc.org/github.com/goxjs/glfw)
2023-04-15 10:58:14 +08:00
- [go-glmatrix](https://github.com/technohippy/go-glmatrix) **star:7** 进入[glMatrix](https://glmatrix.net/)库的端口。 [![godoc][D]](https://godoc.org/github.com/technohippy/go-glmatrix)
2019-06-25 18:06:22 +08:00
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-25 18:06:22 +08:00
## ORM
2022-03-22 12:36:07 +08:00
_Libraries that implement Object-Relational Mapping or datamapping techniques. (翻译出错了? 试试 [英文版](README_EN.md#orm) 吧~)_
2023-08-04 07:26:48 +08:00
- [GORM](https://github.com/go-gorm/gorm) **star:33176** 一个出色的 ORM 库。主要目标是对开发人员友好。 [![近一周有更新][G]](https://github.com/go-gorm/gorm) [![godoc][D]](https://godoc.org/github.com/go-gorm/gorm)
- [ent](https://github.com/facebook/ent) **star:13846** 一个用于Go的实体框架。用于建模和查询数据的简单而强大的ORM。 [![近一周有更新][G]](https://github.com/facebook/ent) [![godoc][D]](https://godoc.org/github.com/facebook/ent)
- [SQLBoiler](https://github.com/volatiletech/sqlboiler) **star:5922** ORM 生成器。根据数据库 schema 生成一个功能强大且运行速度快的ORM。 [![近一周有更新][G]](https://github.com/volatiletech/sqlboiler) [![godoc][D]](https://godoc.org/github.com/volatiletech/sqlboiler)
- [gorp](https://github.com/go-gorp/gorp) **star:3674** 基于 Go 的关系持久性 ORM-ish 库。 [![godoc][D]](https://godoc.org/github.com/go-gorp/gorp)
- [upper.io/db](https://github.com/upper/db) **star:3362** 对外提供统一的接口用于访问不同的存储介质例如PostgreSQL, MySQL, SQLite, MSSQL, QL、MongoDB.。 [![godoc][D]](https://godoc.org/github.com/upper/db)
2022-03-22 12:36:07 +08:00
- [XORM](https://gitea.com/xorm/xorm) 简单而强大的ORM for Go。(支持:MySQL, MyMysql, PostgreSQL, Tidb, SQLite3, MsSql和Oracle)。
2023-08-04 07:26:48 +08:00
- [bun](https://github.com/uptrace/bun) **star:2264** SQL-first Golang ORM. Successor of go-pg. [![godoc][D]](https://godoc.org/github.com/uptrace/bun)
- [gormt](https://github.com/xxjwxc/gormt) **star:2221** Mysql数据库到golang gorm结构。 [![godoc][D]](https://godoc.org/github.com/xxjwxc/gormt)
- [Prisma](https://github.com/prisma/prisma-client-go) **star:1583** Prisma客户端Go类型安全的数据库访问。 [![近一周有更新][G]](https://github.com/prisma/prisma-client-go) [![godoc][D]](https://godoc.org/github.com/prisma/prisma-client-go)
- [reform](https://github.com/go-reform/reform) **star:1419** 基于非空接口和代码生成的 ORM。 [![godoc][D]](https://godoc.org/github.com/go-reform/reform)
- [pop/soda](https://github.com/gobuffalo/pop) **star:1357** 数据库迁移、创建、ORM等。用于MySQL、PostgreSQL和SQLite。 [![godoc][D]](https://godoc.org/github.com/gobuffalo/pop)
- [go-sqlbuilder](https://github.com/huandu/go-sqlbuilder) **star:1060** 一个灵活而强大的SQL字符串构建器库。 [![近一周有更新][G]](https://github.com/huandu/go-sqlbuilder) [![godoc][D]](https://godoc.org/github.com/huandu/go-sqlbuilder)
- [rel](https://github.com/go-rel/rel) **star:656** Golang的现代数据库访问层——可测试、可扩展并精心设计成一个干净优雅的API。 [![godoc][D]](https://godoc.org/github.com/go-rel/rel)
2023-08-02 07:21:08 +08:00
- [Zoom](https://github.com/albrow/zoom) **star:300** 基于 Redis 的快速数据存储和查询引擎。 [![godoc][D]](https://godoc.org/github.com/albrow/zoom)
- [go-sql](https://github.com/rushteam/gosql) **star:175** 一个简单的ORM为mysql。 [![godoc][D]](https://godoc.org/github.com/rushteam/gosql)
2023-05-09 07:21:25 +08:00
- [grimoire](https://github.com/Fs02/grimoire) **star:159** 基于 golang 的数据库访问层和验证库。(支持: MySQL, PostgreSQL和SQLite3)。 [![godoc][D]](https://godoc.org/github.com/Fs02/grimoire)
2023-08-02 07:21:08 +08:00
- [golobby/orm](https://github.com/golobby/orm) **star:136** Simple, fast, type-safe, generic orm for developer happiness. [![godoc][D]](https://godoc.org/github.com/golobby/orm)
- [go-store](https://github.com/gosuri/go-store) **star:111** 简单且快速的 Redis 键值存储库。 [![近三年未更新][Y]](https://github.com/gosuri/go-store) [![godoc][D]](https://godoc.org/github.com/gosuri/go-store)
- [go-firestorm](https://github.com/jschoedt/go-firestorm) **star:46** 一个轻量级的ORM。用于Google/Firebase Cloud Firestore。 [![godoc][D]](https://godoc.org/github.com/jschoedt/go-firestorm)
2022-10-05 07:28:40 +08:00
- [cacheme](https://github.com/Yiling-J/cacheme-go) **star:22** 基于模式的类型化的Redis缓存/记忆框架。 [![godoc][D]](https://godoc.org/github.com/Yiling-J/cacheme-go) [![包含中文文档][CN]](https://github.com/Yiling-J/cacheme-go)
2023-08-04 07:26:48 +08:00
- [marlow](https://github.com/marlow/marlow) **star:13** 从项目结构生成ORM。 [![近三年未更新][Y]](https://github.com/marlow/marlow) [![godoc][D]](https://godoc.org/github.com/marlow/marlow)
2023-04-15 10:58:14 +08:00
- [lore](https://github.com/abrahambotros/lore) **star:12** Simple and lightweight pseudo-ORM/pseudo-struct-mapping environment for Go. [![近三年未更新][Y]](https://github.com/abrahambotros/lore) [![godoc][D]](https://godoc.org/github.com/abrahambotros/lore)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 包管理
2022-03-22 12:36:07 +08:00
_用于管理依赖和包的官方工具 (翻译出错了? 试试 [英文版](README_EN.md#package-management) 吧~)_
2019-08-01 21:20:26 +08:00
2022-03-22 12:36:07 +08:00
- [go modules](https://golang.org/cmd/go/#hdr-Modules__module_versions__and_more) Modules 是源码的版本控制和交换的单位。go命令直接支持处理模块包括记录和解决对其他模块的依赖关系。
2019-08-01 21:20:26 +08:00
2022-03-22 12:36:07 +08:00
_包管理的官方实验工具 (翻译出错了? 试试 [英文版](README_EN.md#package-management) 吧~)_
2019-08-01 21:20:26 +08:00
2023-08-02 07:21:08 +08:00
- [dep](https://github.com/golang/dep) **star:12955** Go 的依赖管理工具,需要 Go 1.9+ [![godoc][D]](https://godoc.org/github.com/golang/dep) [![归档项目][Archived]](https://github.com/golang/dep)
2022-03-22 12:36:07 +08:00
- [vgo](https://go.googlesource.com/vgo/) Go 命令版本管理
2019-08-01 21:20:26 +08:00
2022-03-22 12:36:07 +08:00
_用于包和依赖项管理的非官方库。 (翻译出错了? 试试 [英文版](README_EN.md#package-management) 吧~)_
2019-08-01 21:20:26 +08:00
2023-08-04 07:26:48 +08:00
- [glide](https://github.com/Masterminds/glide) **star:8175** 轻松管理您的 golang 第三方包。受Maven、Bundler和Pip等工具的启发。 [![godoc][D]](https://godoc.org/github.com/Masterminds/glide)
2023-08-02 07:21:08 +08:00
- [godep](https://github.com/tools/godep) **star:5575** godep是go的依赖工具它通过修复包的依赖关系来帮助构建可重复的包。 [![近三年未更新][Y]](https://github.com/tools/godep) [![godoc][D]](https://godoc.org/github.com/tools/godep) [![归档项目][Archived]](https://github.com/tools/godep)
- [govendor](https://github.com/kardianos/govendor) **star:4949** 包管理器。使用 vendor 文件的 Go vendor 工具。 [![近三年未更新][Y]](https://github.com/kardianos/govendor) [![godoc][D]](https://godoc.org/github.com/kardianos/govendor) [![归档项目][Archived]](https://github.com/kardianos/govendor)
- [gopm](https://github.com/gpmgo/gopm) **star:2474** 包管理器。 [![近三年未更新][Y]](https://github.com/gpmgo/gopm) [![godoc][D]](https://godoc.org/github.com/gpmgo/gopm) [![归档项目][Archived]](https://github.com/gpmgo/gopm)
- [gom](https://github.com/mattn/gom) **star:1389** Go Manager - bundle for Go。 [![近三年未更新][Y]](https://github.com/mattn/gom) [![godoc][D]](https://godoc.org/github.com/mattn/gom) [![归档项目][Archived]](https://github.com/mattn/gom)
2023-06-29 07:26:27 +08:00
- [gpm](https://github.com/pote/gpm) **star:1198** 基本的 Go 依赖管理器。 [![近三年未更新][Y]](https://github.com/pote/gpm)
2023-06-19 07:27:31 +08:00
- [goop](https://github.com/nitrous-io/goop) **star:780** Go 的简单依赖管理器灵感来自Bundler。 [![近三年未更新][Y]](https://github.com/nitrous-io/goop) [![godoc][D]](https://godoc.org/github.com/nitrous-io/goop)
2023-08-02 07:21:08 +08:00
- [modgv](https://github.com/lucasepe/modgv) **star:464** 将'go mod graph'输出转换为Graphviz的点语言。 [![godoc][D]](https://godoc.org/github.com/lucasepe/modgv)
2023-06-19 07:27:31 +08:00
- [nut](https://github.com/jingweno/nut) **star:235** vendor 依赖。 [![近三年未更新][Y]](https://github.com/jingweno/nut) [![godoc][D]](https://godoc.org/github.com/jingweno/nut)
2023-06-02 07:24:06 +08:00
- [johnny-deps](https://github.com/VividCortex/johnny-deps) **star:214** 使用Git的最小依赖版本。 [![归档项目][Archived]](https://github.com/VividCortex/johnny-deps)
2023-08-04 07:26:48 +08:00
- [gup](https://github.com/nao1215/gup) **star:201** Update binaries installed by "go install". [![godoc][D]](https://godoc.org/github.com/nao1215/gup)
2023-07-27 07:20:38 +08:00
- [mvn-golang](https://github.com/raydac/mvn-golang) **star:157** 插件为自动加载Golang SDK依赖关系管理和启动Maven项目基础设施中的构建环境提供了方法。
2023-07-20 07:26:36 +08:00
- [VenGO](https://github.com/DamnWidget/VenGO) **star:122** 创建和管理可导出的隔离go虚拟环境。 [![近三年未更新][Y]](https://github.com/DamnWidget/VenGO) [![godoc][D]](https://godoc.org/github.com/DamnWidget/VenGO)
2022-11-07 07:27:33 +08:00
- [gop](https://github.com/lunny/gop) **star:50** 在GOPATH之外构建和管理Go应用程序。 [![近三年未更新][Y]](https://github.com/lunny/gop) [![godoc][D]](https://godoc.org/github.com/lunny/gop) [![包含中文文档][CN]](https://github.com/lunny/gop) [![归档项目][Archived]](https://github.com/lunny/gop)
2019-06-27 17:22:00 +08:00
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-08-10 15:02:06 +08:00
## 性能
2023-08-04 07:26:48 +08:00
- [jaeger](https://github.com/jaegertracing/jaeger) **star:18027** 分布式跟踪系统。 [![近一周有更新][G]](https://github.com/jaegertracing/jaeger) [![godoc][D]](https://godoc.org/github.com/jaegertracing/jaeger)
- [pixie](https://github.com/pixie-labs/pixie) **star:4755** 通过eBPF对Golang应用程序没有检测跟踪。 [![近一周有更新][G]](https://github.com/pixie-labs/pixie)
- [statsviz](https://github.com/arl/statsviz) **star:2918** 实时可视化您的Go应用程序运行时统计数据。 [![godoc][D]](https://godoc.org/github.com/arl/statsviz)
- [profile](https://github.com/pkg/profile) **star:1889** Go的简单分析支持包。 [![godoc][D]](https://godoc.org/github.com/pkg/profile)
2023-08-02 07:21:08 +08:00
- [go-instrument](https://github.com/nikolaydubina/go-instrument) **star:93** Automatically add spans to all methods and functions. [![godoc][D]](https://godoc.org/github.com/nikolaydubina/go-instrument)
- [tracer](https://github.com/kamilsk/tracer) **star:79** 简单、轻量级的跟踪。 [![godoc][D]](https://godoc.org/github.com/kamilsk/tracer)
2019-08-10 15:02:06 +08:00
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 查询语言
2023-08-04 07:26:48 +08:00
- [graphql-go](https://github.com/graphql-go/graphql) **star:9326** 为Go实现GraphQL。 [![godoc][D]](https://godoc.org/github.com/graphql-go/graphql)
- [gqlgen](https://github.com/99designs/gqlgen) **star:9065** 去生成基于graphql服务器库。 [![近一周有更新][G]](https://github.com/99designs/gqlgen) [![godoc][D]](https://godoc.org/github.com/99designs/gqlgen)
2023-08-02 07:21:08 +08:00
- [graphql](https://github.com/neelance/graphql-go) **star:4510** 关注易用性的GraphQL服务器。 [![godoc][D]](https://godoc.org/github.com/neelance/graphql-go)
2023-08-04 07:26:48 +08:00
- [dasel](https://github.com/tomwright/dasel) **star:4466** 使用命令行中的选择器查询和更新数据结构。与jq/yq类似但支持JSON、YAML、TOML和XML运行时依赖关系为零。 [![近一周有更新][G]](https://github.com/tomwright/dasel) [![godoc][D]](https://godoc.org/github.com/tomwright/dasel)
2023-08-02 07:21:08 +08:00
- [gojsonq](https://github.com/thedevsaddam/gojsonq) **star:2082** 一个用来查询JSON数据的Go包。 [![godoc][D]](https://godoc.org/github.com/thedevsaddam/gojsonq)
2023-08-04 07:26:48 +08:00
- [rql](https://github.com/a8m/rql) **star:294** 用于REST API的资源查询语言。 [![近一周有更新][G]](https://github.com/a8m/rql) [![godoc][D]](https://godoc.org/github.com/a8m/rql)
2023-08-02 07:21:08 +08:00
- [jsonql](https://github.com/elgs/jsonql) **star:268** Golang中的JSON查询表达式库。 [![godoc][D]](https://godoc.org/github.com/elgs/jsonql)
2023-07-20 07:26:36 +08:00
- [jsonslice](https://github.com/bhmj/jsonslice) **star:79** 使用高级过滤器查询Jsonpath。 [![godoc][D]](https://godoc.org/github.com/bhmj/jsonslice)
2023-08-02 07:21:08 +08:00
- [graphql](https://github.com/tmc/graphql) **star:57** graphql解析器+工具集 [![近三年未更新][Y]](https://github.com/tmc/graphql) [![godoc][D]](https://godoc.org/github.com/tmc/graphql) [![归档项目][Archived]](https://github.com/tmc/graphql)
2023-08-04 07:26:48 +08:00
- [rqp](https://github.com/timsolov/rest-query-parser) **star:56** REST API的查询解析器。查询中直接支持筛选、验证、'和'或'操作。 [![godoc][D]](https://godoc.org/github.com/timsolov/rest-query-parser)
- [goven](https://github.com/SeldonIO/goven) **star:55** A drop-in query language for any database schema. [![godoc][D]](https://godoc.org/github.com/SeldonIO/goven)
2023-08-02 07:21:08 +08:00
- [api-fu](https://github.com/ccbrown/api-fu) **star:50** 综合GraphQL实现。 [![godoc][D]](https://godoc.org/github.com/ccbrown/api-fu)
2023-05-04 07:21:08 +08:00
- [straf](https://github.com/SonicRoshan/straf) **star:34** 轻松地将Golang结构转换为GraphQL对象。 [![近三年未更新][Y]](https://github.com/SonicRoshan/straf) [![godoc][D]](https://godoc.org/github.com/SonicRoshan/straf)
2023-06-07 07:22:22 +08:00
- [jsonpath](https://github.com/AsaiYusuke/jsonpath) **star:18** 一个基于JSONPath语法检索部分JSON的查询库。 [![godoc][D]](https://godoc.org/github.com/AsaiYusuke/jsonpath)
2023-06-09 07:21:48 +08:00
- [gws](https://github.com/Zaba505/gws) **star:7** Apollos的“GraphQL over Websocket”客户端和服务器实现。 [![godoc][D]](https://godoc.org/github.com/Zaba505/gws)
2023-08-02 07:21:08 +08:00
- [grapher](https://github.com/reaganiwadha/grapher) **star:1** A GraphQL field builder utilizing Go generics with extra utilities and features. [![godoc][D]](https://godoc.org/github.com/reaganiwadha/grapher)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 嵌入的资源
2023-07-27 07:20:38 +08:00
- [statik](https://github.com/rakyll/statik) **star:3638** 将静态文件嵌入到Go可执行文件中。 [![godoc][D]](https://godoc.org/github.com/rakyll/statik)
2023-08-04 07:26:48 +08:00
- [packr](https://github.com/gobuffalo/packr) **star:3410** 将静态文件嵌入到Go二进制文件中的简单方法。 [![godoc][D]](https://godoc.org/github.com/gobuffalo/packr) [![归档项目][Archived]](https://github.com/gobuffalo/packr)
- [go.rice](https://github.com/GeertJohan/go.rice) **star:2366** 走了。rice是一个Go包它使得处理HTML、JS、CSS、图像和模板等资源非常容易。 [![godoc][D]](https://godoc.org/github.com/GeertJohan/go.rice)
2023-07-27 07:20:38 +08:00
- [vfsgen](https://github.com/shurcooL/vfsgen) **star:977** 生成一个vfsdata。静态实现给定虚拟文件系统的go文件。 [![godoc][D]](https://godoc.org/github.com/shurcooL/vfsgen)
2023-08-04 07:26:48 +08:00
- [esc](https://github.com/mjibson/esc) **star:636** 将文件嵌入到Go程序中并提供http文件系统接口。 [![近三年未更新][Y]](https://github.com/mjibson/esc) [![godoc][D]](https://godoc.org/github.com/mjibson/esc)
2023-06-26 07:28:04 +08:00
- [fileb0x](https://github.com/UnnoTed/fileb0x) **star:630** 一个可定制的工具用来在Go中嵌入文件 [![godoc][D]](https://godoc.org/github.com/UnnoTed/fileb0x)
2023-07-10 07:28:10 +08:00
- [go-resources](https://github.com/omeid/go-resources) **star:175** 嵌入到Go中的普通资源。 [![godoc][D]](https://godoc.org/github.com/omeid/go-resources)
2023-06-07 07:22:22 +08:00
- [statics](https://github.com/go-playground/statics) **star:66** 将静态资源嵌入到go文件中用于单个二进制编译+使用http。文件系统+符号链接。 [![近三年未更新][Y]](https://github.com/go-playground/statics) [![godoc][D]](https://godoc.org/github.com/go-playground/statics)
2023-07-27 07:20:38 +08:00
- [templify](https://github.com/wlbr/templify) **star:30** 将外部模板文件嵌入到Go代码中以创建单个文件二进制文件。 [![godoc][D]](https://godoc.org/github.com/wlbr/templify)
- [rebed](https://github.com/soypat/rebed) **star:27** 重新创建Go 1.16' embed中的文件夹结构和文件。FS的类型 [![godoc][D]](https://godoc.org/github.com/soypat/rebed)
2023-08-02 07:21:08 +08:00
- [debme](https://github.com/leaanthony/debme) **star:25** 创建一个“嵌入。FS '从一个现有的'嵌入。FS的子目录。 [![godoc][D]](https://godoc.org/github.com/leaanthony/debme)
2023-04-15 10:58:14 +08:00
- [mule](https://github.com/wlbr/mule) **star:12** Embed external resources like images, movies ... into Go source code to create single file binaries using `go generate`. Focused on simplicity. [![godoc][D]](https://godoc.org/github.com/wlbr/mule)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 科学与数据分析
2022-03-22 12:36:07 +08:00
_用于科学计算和数据分析的库。 (翻译出错了? 试试 [英文版](README_EN.md#science-and-data-analysis) 吧~)_
2023-08-04 07:26:48 +08:00
- [gonum](https://github.com/gonum/gonum) **star:6736** Gonum是一组用于Go编程语言的数字库。它包含用于矩阵、统计、优化等的库。 [![近一周有更新][G]](https://github.com/gonum/gonum) [![godoc][D]](https://godoc.org/github.com/gonum/gonum)
- [stats](https://github.com/montanaflynn/stats) **star:2792** 包含Golang标准库中缺少的公共函数的统计软件包。 [![godoc][D]](https://godoc.org/github.com/montanaflynn/stats)
- [gonum/plot](https://github.com/gonum/plot) **star:2490** gonum/plot提供了一个API用于在Go中构建和绘制绘图。 [![godoc][D]](https://godoc.org/github.com/gonum/plot)
2023-07-17 07:22:48 +08:00
- [gosl](https://github.com/cpmech/gosl) **star:1760** 提供线性代数FFT几何NURBS数值方法概率优化微分方程等等。 [![godoc][D]](https://godoc.org/github.com/cpmech/gosl)
- [streamtools](https://github.com/nytlabs/streamtools) **star:1314** 通用图形工具,用于处理数据流。 [![近三年未更新][Y]](https://github.com/nytlabs/streamtools) [![godoc][D]](https://godoc.org/github.com/nytlabs/streamtools)
2023-08-04 07:26:48 +08:00
- [dataframe-go](https://github.com/rocketlaunchr/dataframe-go) **star:1026** 用于机器学习和统计的数据框架(类似于panda)。 [![godoc][D]](https://godoc.org/github.com/rocketlaunchr/dataframe-go)
2023-07-27 07:20:38 +08:00
- [go-dsp](https://github.com/mjibson/go-dsp) **star:825** Go数字信号处理。 [![godoc][D]](https://godoc.org/github.com/mjibson/go-dsp)
2023-08-02 07:21:08 +08:00
- [chart](https://github.com/vdobler/chart) **star:755** 简单的图表绘制库。支持多种图形类型。 [![godoc][D]](https://godoc.org/github.com/vdobler/chart)
2023-07-10 07:28:10 +08:00
- [goraph](https://github.com/gyuho/goraph) **star:720** 纯golang图论库(数据结构,算法可视化)。 [![godoc][D]](https://godoc.org/github.com/gyuho/goraph)
2023-08-02 07:21:08 +08:00
- [orb](https://github.com/paulmach/orb) **star:700** 2D几何类型支持剪切、GeoJSON和Mapbox矢量平铺。 [![godoc][D]](https://godoc.org/github.com/paulmach/orb)
2023-07-27 07:20:38 +08:00
- [graph](https://github.com/yourbasic/graph) **star:648** 基本图形算法库。 [![godoc][D]](https://godoc.org/github.com/yourbasic/graph)
2023-07-17 07:22:48 +08:00
- [ewma](https://github.com/VividCortex/ewma) **star:411** 提供指数加权移动平均算法。 [![godoc][D]](https://godoc.org/github.com/VividCortex/ewma)
2023-08-04 07:26:48 +08:00
- [calendarheatmap](https://github.com/nikolaydubina/calendarheatmap) **star:376** 基于Github贡献活动的日历热图。 [![godoc][D]](https://godoc.org/github.com/nikolaydubina/calendarheatmap)
2023-07-12 07:22:59 +08:00
- [TextRank](https://github.com/DavidBelicza/TextRank) **star:183** TextRank在Golang中的实现支持扩展特性(摘要、加权、短语提取)和多线程(goroutine)。 [![godoc][D]](https://godoc.org/github.com/DavidBelicza/TextRank)
2023-06-26 07:28:04 +08:00
- [gohistogram](https://github.com/VividCortex/gohistogram) **star:172** 数据流的近似直方图。 [![godoc][D]](https://godoc.org/github.com/VividCortex/gohistogram) [![归档项目][Archived]](https://github.com/VividCortex/gohistogram)
2023-08-02 07:21:08 +08:00
- [sparse](https://github.com/james-bowman/sparse) **star:146** Go 稀疏矩阵格式的线性代数支持科学和机器学习应用程序兼容gonum矩阵库。 [![godoc][D]](https://godoc.org/github.com/james-bowman/sparse)
2023-04-15 10:58:14 +08:00
- [go-estimate](https://github.com/milosgajdos/go-estimate) **star:104** Go中的状态估计和滤波算法。 [![godoc][D]](https://godoc.org/github.com/milosgajdos/go-estimate)
2023-06-07 07:22:22 +08:00
- [pagerank](https://github.com/alixaxel/pagerank) **star:77** 加权 PageRank 算法在Go中的实现。 [![godoc][D]](https://godoc.org/github.com/alixaxel/pagerank)
2023-08-02 07:21:08 +08:00
- [jsonl-graph](https://github.com/nikolaydubina/jsonl-graph) **star:68** 使用graphviz支持操作JSONL图形的工具。 [![godoc][D]](https://godoc.org/github.com/nikolaydubina/jsonl-graph)
2023-04-15 10:58:14 +08:00
- [geom](https://github.com/skelterjohn/geom) **star:55** Go 的二维几何。 [![近三年未更新][Y]](https://github.com/skelterjohn/geom) [![godoc][D]](https://godoc.org/github.com/skelterjohn/geom)
2023-08-02 07:21:08 +08:00
- [evaler](https://github.com/soniah/evaler) **star:52** 简单的浮点算术表达式求值器。 [![近三年未更新][Y]](https://github.com/soniah/evaler) [![godoc][D]](https://godoc.org/github.com/soniah/evaler)
- [decimal](https://github.com/db47h/decimal) **star:37** Package decimal实现任意精度的十进制浮点运算。 [![godoc][D]](https://godoc.org/github.com/db47h/decimal)
2023-04-15 10:58:14 +08:00
- [triangolatte](https://github.com/tchayen/triangolatte) **star:35** 二维三角库。允许将线和多边形(都基于点)转换为gpu语言。 [![godoc][D]](https://godoc.org/github.com/tchayen/triangolatte)
2023-05-31 07:26:28 +08:00
- [goent](https://github.com/kzahedi/goent) **star:33** Go 实现熵度量。 [![近三年未更新][Y]](https://github.com/kzahedi/goent) [![godoc][D]](https://godoc.org/github.com/kzahedi/goent)
2023-08-02 07:21:08 +08:00
- [gograph](https://github.com/hmdsefi/gograph) **star:32** A golang generic graph library that provides mathematical graph-theory and algorithms. [![godoc][D]](https://godoc.org/github.com/hmdsefi/gograph)
2023-06-09 07:21:48 +08:00
- [piecewiselinear](https://github.com/sgreben/piecewiselinear) **star:26** 微型线性插值库。 [![godoc][D]](https://godoc.org/github.com/sgreben/piecewiselinear)
2023-01-09 07:25:06 +08:00
- [godesim](https://github.com/soypat/godesim) **star:21** 扩展/多变量ODE求解器框架用于基于事件的模拟与简单的API。 [![godoc][D]](https://godoc.org/github.com/soypat/godesim)
2023-01-18 07:23:31 +08:00
- [ode](https://github.com/ChristopherRabotin/ode) **star:21** 常微分方程(ODE)求解器,支持扩展状态和基于信道的迭代停止条件。 [![近三年未更新][Y]](https://github.com/ChristopherRabotin/ode) [![godoc][D]](https://godoc.org/github.com/ChristopherRabotin/ode)
2023-04-15 10:58:14 +08:00
- [PiHex](https://github.com/claygod/PiHex) **star:20** 实现了针对16进制数 Pi 的“bailee - borwein - plouffe”算法。 [![godoc][D]](https://godoc.org/github.com/claygod/PiHex)
2022-11-15 07:26:09 +08:00
- [GoStats](https://github.com/OGFris/GoStats) **star:19** GoStats是一个开放源码的GoLang库主要用于机器学习领域的数学统计它涵盖了大多数统计度量函数。 [![近三年未更新][Y]](https://github.com/OGFris/GoStats) [![godoc][D]](https://godoc.org/github.com/OGFris/GoStats)
2023-06-19 07:27:31 +08:00
- [assocentity](https://github.com/ndabAP/assocentity) **star:12** assocentity 返回单词到给定实体的平均距离。 [![godoc][D]](https://godoc.org/github.com/ndabAP/assocentity)
2023-04-15 10:58:14 +08:00
- [go-gt](https://github.com/ThePaw/go-gt) **star:10** 用“Go”语言编写的图论算法。 [![近三年未更新][Y]](https://github.com/ThePaw/go-gt) [![godoc][D]](https://godoc.org/github.com/ThePaw/go-gt)
- [rootfinding](https://github.com/khezen/rootfinding) **star:10** 二次函数求根算法库。 [![近三年未更新][Y]](https://github.com/khezen/rootfinding) [![godoc][D]](https://godoc.org/github.com/khezen/rootfinding)
2023-01-28 07:26:39 +08:00
- [bradleyterry](https://github.com/seanhagen/bradleyterry) **star:8** 为成对比较提供了一个 Bradley-Terry 模型。 [![近三年未更新][Y]](https://github.com/seanhagen/bradleyterry) [![godoc][D]](https://godoc.org/github.com/seanhagen/bradleyterry)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 安全
2022-03-22 12:36:07 +08:00
_用于帮助您的应用程序更安全的库。 (翻译出错了? 试试 [英文版](README_EN.md#security) 吧~)_
2023-08-04 07:26:48 +08:00
- [age](https://github.com/FiloSottile/age) **star:13848** 一个简单、现代和安全的加密工具(和Go库)具有小的显式密钥没有配置选项并且具有unix风格的可组合性。 [![godoc][D]](https://godoc.org/github.com/FiloSottile/age)
- [lego](https://github.com/go-acme/lego) **star:6354** 纯 Go ACME 客户端库及命令行工具 [![近一周有更新][G]](https://github.com/go-acme/lego) [![godoc][D]](https://godoc.org/github.com/go-acme/lego)
- [CertMagic](https://github.com/caddyserver/certmagic) **star:4575** 成熟、健壮和强大的ACME客户端集成用于完全托管的TLS证书颁发和续签。 [![godoc][D]](https://godoc.org/github.com/caddyserver/certmagic)
2023-08-02 07:21:08 +08:00
- [Cameradar](https://github.com/Ullaakut/cameradar) **star:3440** 工具和库以远程入侵RTSP流从监控摄像头。 [![godoc][D]](https://godoc.org/github.com/Ullaakut/cameradar)
- [memguard](https://github.com/awnumar/memguard) **star:2378** 一个用于处理内存中敏感值的纯Go库。 [![godoc][D]](https://godoc.org/github.com/awnumar/memguard)
2023-07-27 07:20:38 +08:00
- [secure](https://github.com/unrolled/secure) **star:2133** Go 语言 HTTP 中间件,为 Go 提供了一些安全功能 [![godoc][D]](https://godoc.org/github.com/unrolled/secure)
- [acmetool](https://github.com/hlandau/acme) **star:1995** ACME(让我们用自动更新加密)客户端工具。 [![godoc][D]](https://godoc.org/github.com/hlandau/acme)
2023-08-04 07:26:48 +08:00
- [themis](https://github.com/cossacklabs/themis) **star:1725** 用于解决典型数据安全任务(安全数据存储、安全消息传递、零知识证明认证)的高级加密库可用于14种语言最适合多平台应用程序。
- [Coraza](https://github.com/corazawaf/coraza) **star:1270** 企业级、modsecurity和OWASP CRS兼容WAF库。 [![近一周有更新][G]](https://github.com/corazawaf/coraza) [![godoc][D]](https://godoc.org/github.com/corazawaf/coraza)
- [acra](https://github.com/cossacklabs/acra) **star:1205** 网络加密代理保护基于数据库的应用程序免受数据泄漏:强选择性加密SQL注入预防入侵检测系统。 [![近一周有更新][G]](https://github.com/cossacklabs/acra) [![godoc][D]](https://godoc.org/github.com/cossacklabs/acra)
- [dongle](https://github.com/golang-module/dongle) **star:733** 一个简单的语义和开发人员友好的golang包的编码和解码和加密和解密。 [![godoc][D]](https://godoc.org/github.com/golang-module/dongle) [![包含中文文档][CN]](https://github.com/golang-module/dongle)
2023-05-04 07:21:08 +08:00
- [nacl](https://github.com/kevinburke/nacl) **star:535** Go 实现NaCL API的集合。 [![godoc][D]](https://godoc.org/github.com/kevinburke/nacl)
2023-07-27 07:20:38 +08:00
- [go-password-validator](https://github.com/lane-c-wagner/go-password-validator) **star:417** 基于原始密码熵值的密码验证器。 [![godoc][D]](https://godoc.org/github.com/lane-c-wagner/go-password-validator)
2023-06-09 07:21:48 +08:00
- [ssh-vault](https://github.com/ssh-vault/ssh-vault) **star:384** 使用ssh密钥加密/解密。 [![godoc][D]](https://godoc.org/github.com/ssh-vault/ssh-vault)
2023-08-02 07:21:08 +08:00
- [booster](https://github.com/anatol/booster) **star:363** Fast initramfs generator with full-disk encryption support. [![近一周有更新][G]](https://github.com/anatol/booster) [![godoc][D]](https://godoc.org/github.com/anatol/booster)
2023-08-04 07:26:48 +08:00
- [optimus-go](https://github.com/pjebs/optimus-go) **star:349** 使用Knuth的算法进行ID哈希和混淆。 [![近三年未更新][Y]](https://github.com/pjebs/optimus-go) [![godoc][D]](https://godoc.org/github.com/pjebs/optimus-go)
2023-07-27 07:20:38 +08:00
- [firewalld-rest](https://github.com/prashantgupta24/firewalld-rest) **star:330** 用于动态更新linux服务器上的firewalld规则的rest应用程序。 [![godoc][D]](https://godoc.org/github.com/prashantgupta24/firewalld-rest)
2023-06-26 07:28:04 +08:00
- [BadActor](https://github.com/jaredfolkins/badactor) **star:315** 一个驻留在内存中的,应用驱动的监控程序,受 fail2ban 的启发 [![近三年未更新][Y]](https://github.com/jaredfolkins/badactor) [![godoc][D]](https://godoc.org/github.com/jaredfolkins/badactor)
2023-07-27 07:20:38 +08:00
- [go-yara](https://github.com/hillu/go-yara) **star:309** YARA的 Go 语言接口,号称是 “对于恶意软件研究者(以及其他人)来说是模式匹配的瑞士军刀” [![godoc][D]](https://godoc.org/github.com/hillu/go-yara)
- [passlib](https://github.com/hlandau/passlib) **star:285** 不过时的密码哈希库。 [![godoc][D]](https://godoc.org/github.com/hlandau/passlib)
2023-08-02 07:21:08 +08:00
- [simple-scrypt](https://github.com/elithrar/simple-scrypt) **star:188** Scrypt 库,具有简单、易懂的 API同时具有内置的自动校准功能 [![godoc][D]](https://godoc.org/github.com/elithrar/simple-scrypt)
2023-07-27 07:20:38 +08:00
- [teler-waf](https://github.com/kitabisa/teler-waf) **star:177** teler-waf is a Go HTTP middleware that provide teler IDS functionality to protect against web-based attacks and improve the security of Go-based web applications. It is highly configurable and easy to integrate into existing Go applications. [![近一周有更新][G]](https://github.com/kitabisa/teler-waf) [![godoc][D]](https://godoc.org/github.com/kitabisa/teler-waf)
2022-10-05 07:28:40 +08:00
- [argon2pw](https://github.com/raja/argon2pw) **star:89** 使用常量时间密码比较生成Argon2密码散列。 [![godoc][D]](https://godoc.org/github.com/raja/argon2pw)
2022-03-22 12:36:07 +08:00
- [autocert](https://godoc.org/golang.org/x/crypto/acme/autocert) 让我们加密证书并启动TLS服务器。
2023-07-10 07:28:10 +08:00
- [goSecretBoxPassword](https://github.com/dwin/goSecretBoxPassword) **star:54** 一个安全哈希和加密密码的偏执包。 [![godoc][D]](https://godoc.org/github.com/dwin/goSecretBoxPassword)
2023-01-29 07:24:47 +08:00
- [go-generate-password](https://github.com/m1/go-generate-password) **star:48** 可以在cli上或作为库使用的密码生成器。 [![godoc][D]](https://godoc.org/github.com/m1/go-generate-password)
2023-04-20 07:25:14 +08:00
- [certificates](https://github.com/mvmaasakkers/certificates) **star:37** 用于生成tls证书的自定义工具。 [![godoc][D]](https://godoc.org/github.com/mvmaasakkers/certificates)
2023-04-27 07:22:09 +08:00
- [go-htpasswd](https://github.com/tg123/go-htpasswd) **star:32** Apache htpasswd解析器。 [![godoc][D]](https://godoc.org/github.com/tg123/go-htpasswd)
2023-06-19 07:27:31 +08:00
- [secureio](https://github.com/xaionaro-go/secureio) **star:30** 一个密钥交换+认证+加密的包装和多路复用的' io。读写ecloser '基于XChaCha20-poly1305, ECDH和ED25519。 [![近三年未更新][Y]](https://github.com/xaionaro-go/secureio) [![godoc][D]](https://godoc.org/github.com/xaionaro-go/secureio)
2023-07-07 07:24:47 +08:00
- [secret](https://github.com/rsjethani/secret) **star:21** Prevent your secrets from leaking into logs, std\* etc. [![godoc][D]](https://godoc.org/github.com/rsjethani/secret)
2023-05-04 07:21:08 +08:00
- [argon2-hashing](https://github.com/andskur/argon2-hashing) **star:19** 轻包装周围的Go的argon2包它与Go的标准库Bcrypt和simple-scrypt包密切镜像。 [![godoc][D]](https://godoc.org/github.com/andskur/argon2-hashing)
2022-12-30 07:23:10 +08:00
- [sslmgr](https://github.com/adrianosela/sslmgr) **star:18** 使用围绕acme/autocert的高级包装器SSL证书变得很容易。 [![godoc][D]](https://godoc.org/github.com/adrianosela/sslmgr)
2022-10-05 07:28:40 +08:00
- [goArgonPass](https://github.com/dwin/goArgonPass) **star:16** Argon2密码散列和验证设计为与现有Python和PHP实现兼容。 [![godoc][D]](https://godoc.org/github.com/dwin/goArgonPass)
2023-05-22 07:23:47 +08:00
- [Interpol](https://github.com/avahidi/interpol) **star:2** 基于规则的数据生成器,用于模糊和渗透测试。 [![godoc][D]](https://godoc.org/github.com/avahidi/interpol)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 序列化
2022-03-22 12:36:07 +08:00
_用于二进制序列化的库和工具。 (翻译出错了? 试试 [英文版](README_EN.md#serialization) 吧~)_
2023-08-04 07:26:48 +08:00
- [jsoniter](https://github.com/json-iterator/go) **star:12470** 高性能100% 兼容的“encoding/json” 替代品 [![godoc][D]](https://godoc.org/github.com/json-iterator/go)
- [goprotobuf](https://github.com/golang/protobuf) **star:9179** 通过库和协议编译器插件使 Go 语言支持 Google的 protocol buffers. [![godoc][D]](https://godoc.org/github.com/golang/protobuf)
- [mapstructure](https://github.com/mitchellh/mapstructure) **star:7011** 用于对原生键值对进行解码生成 Go 语言结构体 [![godoc][D]](https://godoc.org/github.com/mitchellh/mapstructure)
- [gogoprotobuf](https://github.com/gogo/protobuf) **star:5573** Go 语言的 Protocol Buffer 库。 [![godoc][D]](https://godoc.org/github.com/gogo/protobuf)
2023-08-02 07:21:08 +08:00
- [go-codec](https://github.com/ugorji/go) **star:1763** 高性能、多功能、规范化编码解码以及 rpc 库, 用于 msgpack, cbor 和 json支持基于运行时的 OR 码生成 [![godoc][D]](https://godoc.org/github.com/ugorji/go)
2023-07-27 07:20:38 +08:00
- [csvutil](https://github.com/jszwec/csvutil) **star:819** 高性能、惯用的CSV记录编码和解码到本机Go结构。 [![godoc][D]](https://godoc.org/github.com/jszwec/csvutil)
2023-08-02 07:21:08 +08:00
- [colfer](https://github.com/pascaldekloe/colfer) **star:712** 为Colfer二进制格式生成代码。
- [cbor](https://github.com/fxamacker/cbor) **star:591**安全容易的CBOR编码和解码库。 [![近一周有更新][G]](https://github.com/fxamacker/cbor) [![godoc][D]](https://godoc.org/github.com/fxamacker/cbor)
- [go-capnproto](https://github.com/glycerine/go-capnproto) **star:289** Go 语言用的 Cap'n Proto 库及解析器 [![近三年未更新][Y]](https://github.com/glycerine/go-capnproto) [![godoc][D]](https://godoc.org/github.com/glycerine/go-capnproto)
- [php_session_decoder](https://github.com/yvasiyarov/php_session_decoder) **star:159** 用于协同 PHP session 格式数据和 PHP 序列化反序列化函数工作的go语言库 [![近三年未更新][Y]](https://github.com/yvasiyarov/php_session_decoder) [![godoc][D]](https://godoc.org/github.com/yvasiyarov/php_session_decoder)
2023-06-19 07:27:31 +08:00
- [structomap](https://github.com/tuvistavie/structomap) **star:140** 用于从静态结构体简单、动态的生成键值对的库 [![近三年未更新][Y]](https://github.com/tuvistavie/structomap) [![godoc][D]](https://godoc.org/github.com/tuvistavie/structomap)
2023-07-10 07:28:10 +08:00
- [binstruct](https://github.com/ghostiam/binstruct) **star:75** 用于将数据映射到结构中的Golang二进制解码器。 [![godoc][D]](https://godoc.org/github.com/ghostiam/binstruct)
2023-08-02 07:21:08 +08:00
- [bambam](https://github.com/glycerine/bambam) **star:67** 用于 Go 语言生成 Cap'n Proto schemas 的生成器 [![近三年未更新][Y]](https://github.com/glycerine/bambam) [![godoc][D]](https://godoc.org/github.com/glycerine/bambam)
2022-11-15 07:26:09 +08:00
- [asn1](https://github.com/PromonLogicalis/asn1) **star:53** 面向golang的BER和DER编码库。 [![近三年未更新][Y]](https://github.com/PromonLogicalis/asn1) [![godoc][D]](https://godoc.org/github.com/PromonLogicalis/asn1) [![归档项目][Archived]](https://github.com/PromonLogicalis/asn1)
2023-06-07 07:22:22 +08:00
- [bel](https://github.com/32leaves/bel) **star:35** 从Go structs/interface生成TypeScript接口。对JSON RPC很有用。 [![godoc][D]](https://godoc.org/github.com/32leaves/bel)
2023-07-10 07:28:10 +08:00
- [fwencoder](https://github.com/o1egl/fwencoder) **star:25** 用于Go的固定宽度文件解析器(编码和解码库)。 [![godoc][D]](https://godoc.org/github.com/o1egl/fwencoder)
2023-04-23 07:26:25 +08:00
- [elastic](https://github.com/epiclabs-io/elastic) **star:24** 在运行时跨不同类型转换片、映射或任何其他未知值 [![godoc][D]](https://godoc.org/github.com/epiclabs-io/elastic)
2023-07-12 07:22:59 +08:00
- [pletter](https://github.com/vimeda/pletter) **star:20** A standard way to wrap a proto message for message brokers. [![godoc][D]](https://godoc.org/github.com/vimeda/pletter)
2023-01-18 07:23:31 +08:00
- [fixedwidth](https://github.com/huydang284/fixedwidth) **star:8** 固定宽度的文本格式(支持UTF-8)。 [![近三年未更新][Y]](https://github.com/huydang284/fixedwidth) [![godoc][D]](https://godoc.org/github.com/huydang284/fixedwidth)
2023-07-17 07:22:48 +08:00
- [unitpacking](https://github.com/recolude/unitpacking) **star:6** 标准库将单元向量打包到尽可能少的字节中。 [![godoc][D]](https://godoc.org/github.com/recolude/unitpacking)
2023-05-22 07:23:47 +08:00
- [go-lctree](https://github.com/sbourlon/go-lctree) **star:4** 提供一个CLI和原语来序列化和反序列化[LeetCode二进制树](https://support.leetcode.com/hc/en-us/articles/360011883654-what-does -1-null-2-3-mean-in-二进制树表示)。 [![近三年未更新][Y]](https://github.com/sbourlon/go-lctree) [![godoc][D]](https://godoc.org/github.com/sbourlon/go-lctree)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 服务器应用程序
2023-08-04 07:26:48 +08:00
- [Caddy](https://github.com/caddyserver/caddy) **star:48371** Caddy是另一种HTTP/2 web服务器易于配置和使用。 [![近一周有更新][G]](https://github.com/caddyserver/caddy) [![godoc][D]](https://godoc.org/github.com/caddyserver/caddy)
2022-03-22 12:36:07 +08:00
- [consul](https://www.consul.io/) Consul 是一个用于服务发现、监控和配置的工具
2023-08-04 07:26:48 +08:00
- [etcd](https://github.com/coreos/etcd) **star:44123** 为共享配置和服务发现提供高可用的键值存储。 [![近一周有更新][G]](https://github.com/coreos/etcd) [![godoc][D]](https://godoc.org/github.com/coreos/etcd)
- [minio](https://github.com/minio/minio) **star:40196** Minio是一个分布式对象存储服务器。 [![近一周有更新][G]](https://github.com/minio/minio) [![godoc][D]](https://godoc.org/github.com/minio/minio)
- [RoadRunner](https://github.com/spiral/roadrunner) **star:7305** 高性能PHP应用服务器负载平衡器和进程管理器。 [![近一周有更新][G]](https://github.com/spiral/roadrunner) [![godoc][D]](https://godoc.org/github.com/spiral/roadrunner)
- [SFTPGo](https://github.com/drakkan/sftpgo) **star:6576** 完全功能和高度可配置的SFTP服务器与可选的FTP/S和WebDAV支持。它可以为本地文件系统和云存储后端(如S3和谷歌云存储)提供服务。 [![近一周有更新][G]](https://github.com/drakkan/sftpgo) [![godoc][D]](https://godoc.org/github.com/drakkan/sftpgo)
2023-08-02 07:21:08 +08:00
- [Easegress](https://github.com/megaease/easegress) **star:5519** 具有可观察性和可扩展性的云本地高可用性/性能流量编排系统。 [![近一周有更新][G]](https://github.com/megaease/easegress) [![godoc][D]](https://godoc.org/github.com/megaease/easegress)
2023-08-04 07:26:48 +08:00
- [devd](https://github.com/cortesi/devd) **star:3342** 为开发人员提供本地web服务器。 [![godoc][D]](https://godoc.org/github.com/cortesi/devd)
- [flipt](https://github.com/markphelps/flipt) **star:2575** 一个用Go和Vue.js编写的自包含特性标志解决方案 [![近一周有更新][G]](https://github.com/markphelps/flipt) [![godoc][D]](https://godoc.org/github.com/markphelps/flipt)
- [Fider](https://github.com/getfider/fider) **star:2356** Fider是一个收集和组织客户反馈的开放平台。 [![godoc][D]](https://godoc.org/github.com/getfider/fider)
- [algernon](https://github.com/xyproto/algernon) **star:2268** 内置支持Lua、Markdown、GCSS和Amber的HTTP/2 web服务器。 [![godoc][D]](https://godoc.org/github.com/xyproto/algernon)
- [Wish](https://github.com/charmbracelet/wish) **star:2221** 制作SSH应用程序就像这样! [![近一周有更新][G]](https://github.com/charmbracelet/wish) [![godoc][D]](https://godoc.org/github.com/charmbracelet/wish)
- [Flagr](https://github.com/checkr/flagr) **star:2194** Flagr是一个开源特性标记和A/B测试服务。 [![godoc][D]](https://godoc.org/github.com/checkr/flagr)
- [Trickster](https://github.com/tricksterproxy/trickster) **star:1898** HTTP反向代理缓存和时间序列加速器。 [![godoc][D]](https://godoc.org/github.com/tricksterproxy/trickster)
- [discovery](https://github.com/Bilibili/discovery) **star:1746** 用于弹性中间层负载平衡和故障转移的注册表。 [![godoc][D]](https://godoc.org/github.com/Bilibili/discovery)
2023-08-02 07:21:08 +08:00
- [jackal](https://github.com/ortuman/jackal) **star:1416** 用Go编写的XMPP服务器。 [![godoc][D]](https://godoc.org/github.com/ortuman/jackal)
2023-08-04 07:26:48 +08:00
- [go-feature-flag](https://github.com/thomaspoignant/go-feature-flag) **star:764** 一个特性标志解决方案在后端只有一个YAML文件(S3、GitHub、HTTP、本地文件……),不需要安装服务器,只需要在中央系统中添加一个文件并引用它。 [![近一周有更新][G]](https://github.com/thomaspoignant/go-feature-flag) [![godoc][D]](https://godoc.org/github.com/thomaspoignant/go-feature-flag)
2023-07-27 07:20:38 +08:00
- [Euterpe](https://github.com/ironsmile/euterpe) **star:488** 自带web UI和REST API的自托管音乐流媒体服务器。 [![godoc][D]](https://godoc.org/github.com/ironsmile/euterpe)
2023-07-10 07:28:10 +08:00
- [dummy](https://github.com/neotoolkit/dummy) **star:174** 用一个命令运行基于API契约的模拟服务器。 [![godoc][D]](https://godoc.org/github.com/neotoolkit/dummy)
- [dudeldu](https://github.com/krotik/dudeldu) **star:140** 一个简单的SHOUTcast服务器。 [![近三年未更新][Y]](https://github.com/krotik/dudeldu) [![godoc][D]](https://godoc.org/github.com/krotik/dudeldu)
2023-08-02 07:21:08 +08:00
- [go-proxy-cache](https://github.com/fabiocicerchia/go-proxy-cache) **star:93** 简单的反向代理与缓存写在Go使用Redis。 [![近一周有更新][G]](https://github.com/fabiocicerchia/go-proxy-cache) [![godoc][D]](https://godoc.org/github.com/fabiocicerchia/go-proxy-cache)
- [lets-proxy2](https://github.com/rekby/lets-proxy2) **star:80** Reverse proxy for handle https with issue certificates in fly from lets-encrypt. [![godoc][D]](https://godoc.org/github.com/rekby/lets-proxy2)
- [cortex-tenant](https://github.com/blind-oracle/cortex-tenant) **star:73** Prometheus远程写代理添加了基于度量标签的add Cortex租户ID头。 [![godoc][D]](https://godoc.org/github.com/blind-oracle/cortex-tenant)
- [psql-streamer](https://github.com/blind-oracle/psql-streamer) **star:52** 从PostgreSQL到Kafka的流数据库事件。 [![近三年未更新][Y]](https://github.com/blind-oracle/psql-streamer) [![godoc][D]](https://godoc.org/github.com/blind-oracle/psql-streamer)
2023-07-17 07:22:48 +08:00
- [nginx-prometheus](https://github.com/blind-oracle/nginx-prometheus) **star:37** Nginx日志解析器和Prometheus 导出。 [![godoc][D]](https://godoc.org/github.com/blind-oracle/nginx-prometheus)
2022-03-22 12:36:07 +08:00
- [nsq](https://nsq.io/) 一个实时分布式消息平台。
2023-04-23 07:26:25 +08:00
- [simple-jwt-provider](https://github.com/leberKleber/simple-jwt-provider) **star:33** 展示JWTs的简单轻量级提供者支持登录、密码重置(通过邮件)和用户管理。 [![godoc][D]](https://godoc.org/github.com/leberKleber/simple-jwt-provider)
2023-06-19 07:27:31 +08:00
- [protoxy](https://github.com/camgraff/protoxy) **star:31** 将JSON请求体转换为协议缓冲区的代理服务器。 [![godoc][D]](https://godoc.org/github.com/camgraff/protoxy)
2022-11-15 07:26:09 +08:00
- [Moxy](https://github.com/sinhashubham95/moxy) **star:9** Moxy是一个简单的模拟和代理应用程序服务器您可以创建模拟端点以及代理请求以防端点不存在模拟。 [![godoc][D]](https://godoc.org/github.com/sinhashubham95/moxy)
2022-10-17 07:41:41 +08:00
- [riemann-relay](https://github.com/blind-oracle/riemann-relay) **star:2** 传递到负载平衡Riemann事件并/或将其转换为 Carbon。 [![近三年未更新][Y]](https://github.com/blind-oracle/riemann-relay) [![godoc][D]](https://godoc.org/github.com/blind-oracle/riemann-relay)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-08-10 15:02:06 +08:00
## 流处理
2022-03-22 12:36:07 +08:00
_用于流处理和响应式编程的库和工具。 (翻译出错了? 试试 [英文版](README_EN.md#stream-processing) 吧~)_
2019-08-10 15:02:06 +08:00
2023-08-04 07:26:48 +08:00
- [go-streams](https://github.com/reugn/go-streams) **star:1512** 流处理库。 [![godoc][D]](https://godoc.org/github.com/reugn/go-streams)
2023-08-02 07:21:08 +08:00
- [machine](https://github.com/whitaker-io/machine) **star:133** 使用内置的度量和可跟踪性来编写和生成流工作人员。 [![godoc][D]](https://godoc.org/github.com/whitaker-io/machine)
2023-07-17 07:22:48 +08:00
- [stream](https://github.com/youthlin/stream) **star:80** 去流像Java 8流:过滤器/地图/平面地图/Peek/排序/ForEach/减少… [![godoc][D]](https://godoc.org/github.com/youthlin/stream)
- [goio](https://github.com/primetalk/goio) **star:71** An implementation of IO, Stream, Fiber for Golang, inspired by awesome Scala libraries cats and fs2. [![godoc][D]](https://godoc.org/github.com/primetalk/goio)
2019-08-10 15:02:06 +08:00
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 模板引擎
2022-03-22 12:36:07 +08:00
_用于模板和词法分析的库和工具。 (翻译出错了? 试试 [英文版](README_EN.md#template-engines) 吧~)_
2023-08-04 07:26:48 +08:00
- [sprig](https://github.com/Masterminds/sprig) **star:3675** Go模板的有用模板函数。 [![近一周有更新][G]](https://github.com/Masterminds/sprig) [![godoc][D]](https://godoc.org/github.com/Masterminds/sprig)
2023-08-02 07:21:08 +08:00
- [quicktemplate](https://github.com/valyala/quicktemplate) **star:2810** 快速、强大且易用的模板引擎。将模板转化为 Go 语言并进行编译 [![godoc][D]](https://godoc.org/github.com/valyala/quicktemplate)
2023-08-04 07:26:48 +08:00
- [pongo2](https://github.com/flosch/pongo2) **star:2600** 类似 DjanGo 的模板引擎 [![godoc][D]](https://godoc.org/github.com/flosch/pongo2)
- [jet](https://github.com/CloudyKit/jet) **star:1063** Jet模板引擎。 [![godoc][D]](https://godoc.org/github.com/CloudyKit/jet)
2023-08-02 07:21:08 +08:00
- [maroto](https://github.com/johnfercher/maroto) **star:1048** 创建pdf文件的maroto方法。Maroto的灵感来自于Bootstrap并使用gofpdf。快速和简单。 [![godoc][D]](https://godoc.org/github.com/johnfercher/maroto)
2023-08-04 07:26:48 +08:00
- [Razor](https://github.com/sipin/gorazor) **star:824** Go 语言的 Razor 视图引擎 [![godoc][D]](https://godoc.org/github.com/sipin/gorazor)
- [fasttemplate](https://github.com/valyala/fasttemplate) **star:733** 简单和快速的模板引擎。替换模板占位符的速度比[text/template](https://golang.org/pkg/text/template/)快10倍。 [![godoc][D]](https://godoc.org/github.com/valyala/fasttemplate)
2023-08-02 07:21:08 +08:00
- [ego](https://github.com/benbjohnson/ego) **star:561** 轻量级模板语言允许您在Go中编写模板。模板被翻译成Go并编译。 [![godoc][D]](https://godoc.org/github.com/benbjohnson/ego)
2023-08-04 07:26:48 +08:00
- [raymond](https://github.com/aymerick/raymond) **star:543** 使用 Go 语言实现的完整的 handlebars [![godoc][D]](https://godoc.org/github.com/aymerick/raymond)
- [goview](https://github.com/foolin/goview) **star:356** Goview是一个轻量级、极简的模板库基于golang html/template构建Go web应用程序。 [![godoc][D]](https://godoc.org/github.com/foolin/goview)
2023-08-02 07:21:08 +08:00
- [liquid](https://github.com/osteele/liquid) **star:221** Go 语言实现的 Shopify Liquid 模板. [![godoc][D]](https://godoc.org/github.com/osteele/liquid)
2023-07-27 07:20:38 +08:00
- [Soy](https://github.com/robfig/soy) **star:169** Go 语言实现的谷歌闭包模板(也就是 Soy templates) ,遵循[官方规范](https://developer.google.com/closure/templates/)。 [![godoc][D]](https://godoc.org/github.com/robfig/soy)
2023-06-19 07:27:31 +08:00
- [extemplate](https://github.com/dannyvankooten/extemplate) **star:53** 对 html/template 进行了简单的封装,支持基于文件的模板可以利用其他模板文件进行扩展 [![godoc][D]](https://godoc.org/github.com/dannyvankooten/extemplate) [![归档项目][Archived]](https://github.com/dannyvankooten/extemplate)
2023-07-07 07:24:47 +08:00
- [gospin](https://github.com/m1/gospin) **star:46** 文章纺纱和spintax/纺纱语法引擎适用于A/B测试文本/文章片段和创建更多的自然对话。 [![godoc][D]](https://godoc.org/github.com/m1/gospin)
2023-08-02 07:21:08 +08:00
- [tbd](https://github.com/lucasepe/tbd) **star:24** 用占位符创建文本模板的一种非常简单的方法——暴露额外的Git repo元数据。 [![godoc][D]](https://godoc.org/github.com/lucasepe/tbd)
2023-06-29 07:26:27 +08:00
- [got](https://github.com/goradd/got) **star:14** 一个受Hero和Fasttemplate启发的Go代码生成器。包括文件自定义标签定义注入的Go代码语言翻译等等。 [![godoc][D]](https://godoc.org/github.com/goradd/got)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 测试
2022-03-22 12:36:07 +08:00
_用于测试代码库和生成测试数据的库。 (翻译出错了? 试试 [英文版](README_EN.md#testing) 吧~)_
- Testing Frameworks
2022-12-30 07:23:10 +08:00
2023-08-04 07:26:48 +08:00
- [Testify](https://github.com/stretchr/testify) **star:20263** 对标准测试包的扩展。 [![近一周有更新][G]](https://github.com/stretchr/testify) [![godoc][D]](https://godoc.org/github.com/stretchr/testify)
2022-03-22 12:36:07 +08:00
- [testmd](https://godoc.org/github.com/tvastar/test/cmd/testmd) 将markdown代码段转换为可测试的go代码。
2023-08-04 07:26:48 +08:00
- [go-cmp](https://github.com/google/go-cmp) **star:3635** 用于比较测试中的Go值的包。 [![godoc][D]](https://godoc.org/github.com/google/go-cmp)
- [testcontainers-go](https://github.com/testcontainers/testcontainers-go) **star:2319** A Go package that makes it simple to create and clean up container-based dependencies for automated integration/smoke tests. The clean, easy-to-use API enables developers to programmatically define containers that should be run as part of a test and clean up those resources when the test is done. [![近一周有更新][G]](https://github.com/testcontainers/testcontainers-go) [![godoc][D]](https://godoc.org/github.com/testcontainers/testcontainers-go)
- [httpexpect](https://github.com/gavv/httpexpect) **star:2260** 简洁的、声明式的、易用的端到端HTTP 及 REST API 测试 [![godoc][D]](https://godoc.org/github.com/gavv/httpexpect)
- [godog](https://github.com/cucumber/godog) **star:2022** Cucumber BDD framework for Go. [![godoc][D]](https://godoc.org/github.com/cucumber/godog)
- [is](https://github.com/matryer/is) **star:1619** 专业的Go轻量级测试迷你框架。 [![godoc][D]](https://godoc.org/github.com/matryer/is)
- [gnomock](https://github.com/orlangure/gnomock) **star:1213** 在Docker中运行与真实依赖项(数据库、缓存甚至是Kubernetes或AWS)的集成测试,而不使用模拟。 [![近一周有更新][G]](https://github.com/orlangure/gnomock) [![godoc][D]](https://godoc.org/github.com/orlangure/gnomock)
2023-08-02 07:21:08 +08:00
- [go-vcr](https://github.com/dnaeon/go-vcr) **star:1030** 记录并回放HTTP交互以便进行快速、确定和准确的测试。 [![godoc][D]](https://godoc.org/github.com/dnaeon/go-vcr)
- [testfixtures](https://github.com/go-testfixtures/testfixtures) **star:968** 类似 Rails 的测试工具,用于测试数据库应用 [![近一周有更新][G]](https://github.com/go-testfixtures/testfixtures) [![godoc][D]](https://godoc.org/github.com/go-testfixtures/testfixtures)
2023-07-20 07:26:36 +08:00
- [goblin](https://github.com/franela/goblin) **star:889** 类似Mocha的测试框架。 [![godoc][D]](https://godoc.org/github.com/franela/goblin)
2023-07-27 07:20:38 +08:00
- [baloo](https://github.com/h2non/baloo) **star:762** 表达性强、多功能的、端到端的HTTP API 测试工具 [![godoc][D]](https://godoc.org/github.com/h2non/baloo)
2023-08-02 07:21:08 +08:00
- [goc](https://github.com/qiniu/goc) **star:698** Goc是一个针对Go编程语言的全面覆盖测试系统。 [![godoc][D]](https://godoc.org/github.com/qiniu/goc)
2022-07-13 07:25:46 +08:00
- [gocheck](https://labix.org/gocheck) 更加高级的测试框架,用于替换 Gotest
- [GoConvey](https://github.com/smartystreets/goconvey/) BDD 风格的测试框架,具有 web 界面和计时刷新功能
2023-08-04 07:26:48 +08:00
- [embedded-postgres](https://github.com/fergusstrange/embedded-postgres) **star:620** 作为另一个Go应用程序或测试的一部分在Linux、OSX或Windows上本地运行一个真正的Postgres数据库。 [![godoc][D]](https://godoc.org/github.com/fergusstrange/embedded-postgres)
- [go-mutesting](https://github.com/zimmski/go-mutesting) **star:593** 变异测试的Go源代码。 [![godoc][D]](https://godoc.org/github.com/zimmski/go-mutesting)
2023-08-02 07:21:08 +08:00
- [gotest.tools](https://github.com/gotestyourself/gotest.tools) **star:447** 一组包用于增强go测试包并支持公共模式。 [![近一周有更新][G]](https://github.com/gotestyourself/gotest.tools) [![godoc][D]](https://godoc.org/github.com/gotestyourself/gotest.tools)
2023-07-12 07:22:59 +08:00
- [gofight](https://github.com/appleboy/gofight) **star:436** 对 Go 语言的路由框架进行 API 测试 [![godoc][D]](https://godoc.org/github.com/appleboy/gofight)
2023-07-27 07:20:38 +08:00
- [testza](https://github.com/MarvinJWendt/testza) **star:411** 功能齐全的测试框架,带有漂亮的彩色输出。 [![godoc][D]](https://godoc.org/github.com/MarvinJWendt/testza)
2023-08-02 07:21:08 +08:00
- [go-testdeep](https://github.com/maxatome/go-testdeep) **star:396** 极具灵活性的golang深度比较扩展了go测试包。 [![近一周有更新][G]](https://github.com/maxatome/go-testdeep) [![godoc][D]](https://godoc.org/github.com/maxatome/go-testdeep)
2023-05-04 07:21:08 +08:00
- [frisby](https://github.com/verdverm/frisby) **star:274** REST API测试框架。 [![近三年未更新][Y]](https://github.com/verdverm/frisby) [![godoc][D]](https://godoc.org/github.com/verdverm/frisby)
2023-07-20 07:26:36 +08:00
- [cupaloy](https://github.com/bradleyjkemp/cupaloy) **star:272** 测试框架的简单快照测试插件。 [![godoc][D]](https://godoc.org/github.com/bradleyjkemp/cupaloy)
2023-07-17 07:22:48 +08:00
- [got](https://github.com/ysmood/got) **star:263** 一个有趣的golang测试框架。 [![godoc][D]](https://godoc.org/github.com/ysmood/got)
2023-08-02 07:21:08 +08:00
- [endly](https://github.com/viant/endly) **star:244** 声明性端到端功能测试。 [![近一周有更新][G]](https://github.com/viant/endly) [![godoc][D]](https://godoc.org/github.com/viant/endly)
- [go-carpet](https://github.com/msoap/go-carpet) **star:240** 在终端中查看测试覆盖率的工具。 [![近一周有更新][G]](https://github.com/msoap/go-carpet) [![godoc][D]](https://godoc.org/github.com/msoap/go-carpet)
2023-08-04 07:26:48 +08:00
- [go-hit](https://github.com/Eun/go-hit) **star:230** Hit是一个用golang编写的http集成测试框架。 [![近一周有更新][G]](https://github.com/Eun/go-hit) [![godoc][D]](https://godoc.org/github.com/Eun/go-hit)
2023-06-19 07:27:31 +08:00
- [commander](https://github.com/SimonBaeumer/commander) **star:213** 用于在windows、linux和osx上测试cli应用程序的工具。 [![godoc][D]](https://godoc.org/github.com/SimonBaeumer/commander)
2023-05-31 07:26:28 +08:00
- [charlatan](https://github.com/percolate/charlatan) **star:199** 为测试生成假接口实现的工具。 [![godoc][D]](https://godoc.org/github.com/percolate/charlatan)
2023-07-07 07:24:47 +08:00
- [dbcleaner](https://github.com/khaiql/dbcleaner) **star:156** 清空数据库用于测试受到database_cleaner 的启发 [![godoc][D]](https://godoc.org/github.com/khaiql/dbcleaner)
2022-11-29 07:22:02 +08:00
- [GoSpec](https://github.com/orfjackal/gospec) **star:113** 用于 Go 编程语言的bdd风格的测试框架。 [![近三年未更新][Y]](https://github.com/orfjackal/gospec) [![godoc][D]](https://godoc.org/github.com/orfjackal/gospec)
2023-07-20 07:26:36 +08:00
- [jsonassert](https://github.com/kinbiko/jsonassert) **star:112** 用于验证JSON有效负载已正确序列化的包。 [![godoc][D]](https://godoc.org/github.com/kinbiko/jsonassert)
2023-08-02 07:21:08 +08:00
- [testcase](https://github.com/adamluzsi/testcase) **star:111** 行为驱动开发的惯用测试框架。 [![godoc][D]](https://godoc.org/github.com/adamluzsi/testcase)
2023-07-27 07:20:38 +08:00
- [wstest](https://github.com/posener/wstest) **star:100** 用于单元测试Websocket http.Handler的Websocket客户机。 [![godoc][D]](https://godoc.org/github.com/posener/wstest)
- [gocrest](https://github.com/corbym/gocrest) **star:94** 用于 Go 断言的可组合的类似 hamcrest 的 matchers。 [![godoc][D]](https://godoc.org/github.com/corbym/gocrest)
2023-08-04 07:26:48 +08:00
- [be](https://github.com/carlmjohnson/be) **star:74** The minimalist generic test assertion library. [![godoc][D]](https://godoc.org/github.com/carlmjohnson/be)
2023-08-02 07:21:08 +08:00
- [gherkingen](https://github.com/hedhyw/gherkingen) **star:60** BDD样板生成器和框架。 [![近一周有更新][G]](https://github.com/hedhyw/gherkingen) [![godoc][D]](https://godoc.org/github.com/hedhyw/gherkingen)
2023-04-27 07:22:09 +08:00
- [ginkgo](https://onsi.github.io/ginkgo/) Go的BDD测试框架。
2023-08-02 07:21:08 +08:00
- [assert](https://github.com/go-playground/assert) **star:59** 基础断言库,用于对 Go 语言程序进行测试,提供了一些用于自定义断言的代码块 [![godoc][D]](https://godoc.org/github.com/go-playground/assert)
2023-06-29 07:26:27 +08:00
- [Gont](https://github.com/stv0g/gont) **star:59** Go network testing toolkit for testing building complex network topologies using Linux namespaces. [![近一周有更新][G]](https://github.com/stv0g/gont) [![godoc][D]](https://godoc.org/github.com/stv0g/gont)
2023-05-16 07:23:55 +08:00
- [covergates](https://github.com/covergates/covergates) **star:57** 自托管的代码覆盖报告审查和管理服务。 [![godoc][D]](https://godoc.org/github.com/covergates/covergates)
2023-04-15 10:58:14 +08:00
- [restit](https://github.com/yookoala/restit) **star:56** 帮助编写 RESTful API 集成测试的 Go 语言微型框架.。 [![近三年未更新][Y]](https://github.com/yookoala/restit) [![godoc][D]](https://godoc.org/github.com/yookoala/restit)
- [gospecify](https://github.com/stesla/gospecify) **star:53** 支持 BDD 语法 。对于任何使用过 rspec 等库的人来说应该非常熟悉。 [![近三年未更新][Y]](https://github.com/stesla/gospecify) [![godoc][D]](https://godoc.org/github.com/stesla/gospecify)
2023-06-29 07:26:27 +08:00
- [gomatch](https://github.com/jfilipczyk/gomatch) **star:46** 为针对模式测试JSON而创建的库。 [![godoc][D]](https://godoc.org/github.com/jfilipczyk/gomatch)
2022-03-22 12:36:07 +08:00
- [gomega](https://onsi.github.io/gomega/) 类似 Rspec 的 matcher/assertion 库
2023-07-17 07:22:48 +08:00
- [dsunit](https://github.com/viant/dsunit) **star:43** 用于SQL、NoSQL、结构化文件的数据存储测试。 [![godoc][D]](https://godoc.org/github.com/viant/dsunit)
2023-07-27 07:20:38 +08:00
- [fluentassert](https://github.com/fluentassert/verify) **star:34** Extensible, type-safe, fluent assertion Go library. [![godoc][D]](https://godoc.org/github.com/fluentassert/verify)
2022-10-05 07:28:40 +08:00
- [Hamcrest](https://github.com/rdrdr/hamcrest) **star:28** 用于声明性 Matcher 对象的连贯框架,当将其应用于输入值时,将产生自描述结果。 [![godoc][D]](https://godoc.org/github.com/rdrdr/hamcrest)
2022-03-22 12:36:07 +08:00
- [apitest](https://apitest.dev) 基于REST的服务/HTTP处理程序的简单且可扩展的行为测试库,支持模拟外部HTTP调用和呈现序列图
2023-04-15 10:58:14 +08:00
- [schema](https://github.com/jgroeneveld/schema) **star:20** 快速、简单地匹配请求和响应中使用的JSON模式的表达式。 [![近三年未更新][Y]](https://github.com/jgroeneveld/schema) [![godoc][D]](https://godoc.org/github.com/jgroeneveld/schema)
2023-07-20 07:26:36 +08:00
- [fixenv](https://github.com/rekby/fixenv) **star:19** 夹具管理引擎灵感来自pytest夹具。 [![godoc][D]](https://godoc.org/github.com/rekby/fixenv)
2023-04-15 10:58:14 +08:00
- [flute](https://github.com/suzuki-shunsuke/flute) **star:17** HTTP客户端测试框架。 [![godoc][D]](https://godoc.org/github.com/suzuki-shunsuke/flute)
- [gogiven](https://github.com/corbym/gogiven) **star:16** 类似于 YATSPEC 的Go BDD测试框架。 [![godoc][D]](https://godoc.org/github.com/corbym/gogiven)
2023-02-23 07:27:01 +08:00
- [testsql](https://github.com/zhulongcheng/testsql) **star:16** 在测试前从SQL文件生成测试数据并在测试完成后清除数据。 [![近三年未更新][Y]](https://github.com/zhulongcheng/testsql) [![godoc][D]](https://godoc.org/github.com/zhulongcheng/testsql)
2023-01-28 07:26:39 +08:00
- [biff](https://github.com/fulldump/biff) **star:12** 分支测试框架BDD兼容。 [![godoc][D]](https://godoc.org/github.com/fulldump/biff)
2022-10-05 07:28:40 +08:00
- [gosuite](https://github.com/pavlo/gosuite) **star:12** 轻量级测试套,为 Go1.7's Subtests 带来了setup/teardown 功能 [![近三年未更新][Y]](https://github.com/pavlo/gosuite) [![godoc][D]](https://godoc.org/github.com/pavlo/gosuite)
- [badio](https://github.com/cavaliercoder/badio) **star:10** Go 语言 testing/iotest 包的扩展。 [![近三年未更新][Y]](https://github.com/cavaliercoder/badio) [![godoc][D]](https://godoc.org/github.com/cavaliercoder/badio)
2023-06-07 07:22:22 +08:00
- [stop-and-go](https://github.com/elgohr/stop-and-go) **star:9** 并发性测试助手。 [![godoc][D]](https://godoc.org/github.com/elgohr/stop-and-go)
2022-10-17 07:41:41 +08:00
- [trial](https://github.com/jgroeneveld/trial) **star:6** 无需引入太多样板,即可快速轻松地扩展断言。 [![godoc][D]](https://godoc.org/github.com/jgroeneveld/trial)
2023-02-13 07:25:43 +08:00
- [Tt](https://github.com/vcaesar/tt) **star:6** 简单而丰富多彩的测试工具。 [![godoc][D]](https://godoc.org/github.com/vcaesar/tt)
2022-10-05 07:28:40 +08:00
- [go-testpredicate](https://github.com/maargenton/go-testpredicate) **star:5** 测试带有大量诊断输出的断言样式断言库。 [![godoc][D]](https://godoc.org/github.com/maargenton/go-testpredicate)
2022-10-24 07:29:45 +08:00
- [go-mysql-test-container](https://github.com/arikama/go-mysql-test-container) **star:2** Golang MySQL testcontainer to help with MySQL integration testing. [![godoc][D]](https://godoc.org/github.com/arikama/go-mysql-test-container)
2022-07-26 07:26:02 +08:00
- [go-snaps](http://github.com/gkampitakis/go-snaps) Jest-like snapshot testing in Golang.
2022-10-05 07:28:40 +08:00
- [omg.testingtools](https://github.com/dedalqq/omg.testingtools) **star:1** 用于更改用于测试的私有字段值的简单库。 [![godoc][D]](https://godoc.org/github.com/dedalqq/omg.testingtools)
2022-03-22 12:36:07 +08:00
- Mock
2022-12-30 07:23:10 +08:00
2023-08-04 07:26:48 +08:00
- [gomock](https://github.com/golang/mock) **star:9040** 用于Go编程语言的mock框架。 [![godoc][D]](https://godoc.org/github.com/golang/mock) [![归档项目][Archived]](https://github.com/golang/mock)
- [go-sqlmock](https://github.com/DATA-DOG/go-sqlmock) **star:5395** Mock SQL ,用于测试数据库交互 [![godoc][D]](https://godoc.org/github.com/DATA-DOG/go-sqlmock)
- [mockery](https://github.com/vektra/mockery) **star:4856** 生成Go界面的工具。 [![近一周有更新][G]](https://github.com/vektra/mockery) [![godoc][D]](https://godoc.org/github.com/vektra/mockery)
- [hoverfly](https://github.com/SpectoLabs/hoverfly) **star:2221** 使用可扩展中间件和易于使用的CLI记录和模拟REST/SOAP api的HTTP(S)代理。 [![近一周有更新][G]](https://github.com/SpectoLabs/hoverfly) [![godoc][D]](https://godoc.org/github.com/SpectoLabs/hoverfly)
2023-08-02 07:21:08 +08:00
- [gock](https://github.com/h2non/gock) **star:1899** 多功能、易用 HTTP mock [![godoc][D]](https://godoc.org/github.com/h2non/gock)
2023-08-04 07:26:48 +08:00
- [httpmock](https://github.com/jarcoal/httpmock) **star:1714** 轻松模拟来自外部资源的HTTP响应。 [![godoc][D]](https://godoc.org/github.com/jarcoal/httpmock)
- [counterfeiter](https://github.com/maxbrunsfeld/counterfeiter) **star:854** 用于生成自包含 mock 对象的工具 [![近一周有更新][G]](https://github.com/maxbrunsfeld/counterfeiter) [![godoc][D]](https://godoc.org/github.com/maxbrunsfeld/counterfeiter)
2022-03-22 12:36:07 +08:00
- [genmock](https://gitlab.com/so_literate/genmock) 使用代码生成器构建接口方法的调用来模拟系统。
2023-08-02 07:21:08 +08:00
- [go-txdb](https://github.com/DATA-DOG/go-txdb) **star:554** 基于单事务的数据库驱动,主要用于测试目的 [![近一周有更新][G]](https://github.com/DATA-DOG/go-txdb) [![godoc][D]](https://godoc.org/github.com/DATA-DOG/go-txdb)
- [minimock](https://github.com/gojuno/minimock) **star:506** Go接口的模拟生成器。 [![godoc][D]](https://godoc.org/github.com/gojuno/minimock)
- [govcr](https://github.com/seborama/govcr) **star:154** HTTP mock : 离线测试时记录和重放浏览器的动作 [![近一周有更新][G]](https://github.com/seborama/govcr) [![godoc][D]](https://godoc.org/github.com/seborama/govcr)
2023-06-29 07:26:27 +08:00
- [go-localstack](https://github.com/elgohr/go-localstack) **star:71** 用于在AWS测试中使用localstack的工具。 [![近一周有更新][G]](https://github.com/elgohr/go-localstack) [![godoc][D]](https://godoc.org/github.com/elgohr/go-localstack)
2023-07-20 07:26:36 +08:00
- [timex](https://github.com/cabify/timex) **star:69** 一个测试友好的本地“时间”包的替代品。 [![近三年未更新][Y]](https://github.com/cabify/timex) [![godoc][D]](https://godoc.org/github.com/cabify/timex)
2022-10-05 07:28:40 +08:00
- [mockhttp](https://github.com/tv42/mockhttp) **star:22** Go http.ResponseWriter的模拟对象。 [![近三年未更新][Y]](https://github.com/tv42/mockhttp) [![godoc][D]](https://godoc.org/github.com/tv42/mockhttp)
2022-12-13 07:24:13 +08:00
- [mooncake](https://github.com/GuilhermeCaruso/mooncake) **star:17** A simple way to generate mocks for multiple purposes [![godoc][D]](https://godoc.org/github.com/GuilhermeCaruso/mooncake)
2023-05-31 07:26:28 +08:00
- [mockit](https://github.com/pasdam/mockit) **star:16** 允许函数和方法容易被模拟,而不需要定义新的类型;它类似于Java的Mockito。 [![godoc][D]](https://godoc.org/github.com/pasdam/mockit) [![归档项目][Archived]](https://github.com/pasdam/mockit)
2023-07-27 07:20:38 +08:00
- [monkey](https://github.com/awterman/monkey) One line to mock functions/methods/variables in place without dependency injection or code generation.
2022-03-22 12:36:07 +08:00
- Fuzzing and delta-debugging/reducing/shrinking.
2022-12-30 07:23:10 +08:00
2023-08-04 07:26:48 +08:00
- [go-fuzz](https://github.com/dvyukov/go-fuzz) **star:4636** 随机测试系统。 [![godoc][D]](https://godoc.org/github.com/dvyukov/go-fuzz)
- [gofuzz](https://github.com/google/gofuzz) **star:1439** 用于生成随机值来初始化 Go 语言对象的库 [![godoc][D]](https://godoc.org/github.com/google/gofuzz)
2023-05-31 07:26:28 +08:00
- [Tavor](https://github.com/zimmski/tavor) **star:242** 通用模糊测试框架 [![近三年未更新][Y]](https://github.com/zimmski/tavor) [![godoc][D]](https://godoc.org/github.com/zimmski/tavor)
2022-03-22 12:36:07 +08:00
- Selenium and browser control tools.
2022-12-30 07:23:10 +08:00
2023-08-04 07:26:48 +08:00
- [chromedp](https://github.com/knq/chromedp) **star:9365** 用于驱动和测试 Chrome, Safari, Edge, Android Webviews, 以及其他支持 Chrome 调试协议的产品 [![godoc][D]](https://godoc.org/github.com/knq/chromedp)
- [rod](https://github.com/go-rod/rod) **star:4012** 一个Devtools驱动程序使web自动化和抓取更加容易。 [![近一周有更新][G]](https://github.com/go-rod/rod) [![godoc][D]](https://godoc.org/github.com/go-rod/rod)
- [selenoid](https://github.com/aerokube/selenoid) **star:2394** Selenium hub 服务器的替代品,在容器中启动浏览器 [![godoc][D]](https://godoc.org/github.com/aerokube/selenoid)
- [playwright-go](https://github.com/mxschmitt/playwright-go) **star:1378** 浏览器自动化库控制铬Firefox和WebKit与一个单一的API。
- [cdp](https://github.com/mafredri/cdp) **star:677** 用于Chrome调试协议的类型安全绑定可与实现该协议的浏览器或其他调试目标一起使用。 [![godoc][D]](https://godoc.org/github.com/mafredri/cdp)
2023-07-17 07:22:48 +08:00
- [ggr](https://github.com/aerokube/ggr) **star:302** 一个轻量级服务器,可以将 Selenium Wedriver 的请求路由或代理到多个 Selenium hubs [![godoc][D]](https://godoc.org/github.com/aerokube/ggr)
2022-03-22 12:36:07 +08:00
- Fail injection
2023-08-02 07:21:08 +08:00
- [failpoint](https://github.com/pingcap/failpoint) **star:782** Golang的[故障点](https://www.freebsd.org/cgi/man.cgi?query=fail)实现。 [![godoc][D]](https://godoc.org/github.com/pingcap/failpoint)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 文本处理
2019-06-25 18:06:22 +08:00
2022-03-22 12:36:07 +08:00
_用于解析和操作文本的库。 (翻译出错了? 试试 [英文版](README_EN.md#text-processing) 吧~)_
2022-04-08 20:10:43 +08:00
See also [Natural Language Processing](#natural-language-processing) and [Text Analysis](#text-analysis).
2022-03-22 12:36:07 +08:00
### 格式器
2023-08-04 07:26:48 +08:00
- [go-humanize](https://github.com/dustin/go-humanize) **star:3695** 格式化程序,用于将时间、数字和内存大小转换为可读格式。 [![godoc][D]](https://godoc.org/github.com/dustin/go-humanize)
2023-08-02 07:21:08 +08:00
- [gotabulate](https://github.com/bndr/gotabulate) **star:298** 使用 Go 语言简单、美观的打印表格数据 [![godoc][D]](https://godoc.org/github.com/bndr/gotabulate)
2023-04-15 10:58:14 +08:00
- [align](https://github.com/Guitarbum722/align) **star:80** 对文本进行对齐的通用应用程序。 [![godoc][D]](https://godoc.org/github.com/Guitarbum722/align)
2022-03-22 12:36:07 +08:00
- [bytes](https://github.com/labstack/gommon/tree/master/bytes) 格式和解析数字字节值(10K、2M、3G等)。
2023-07-07 07:24:47 +08:00
- [go-fixedwidth](https://github.com/ianlopshire/go-fixedwidth) **star:75** 固定宽度的文本格式(带反射的编码器/解码器)。 [![godoc][D]](https://godoc.org/github.com/ianlopshire/go-fixedwidth)
2023-07-27 07:20:38 +08:00
- [address](https://github.com/bojanz/address) **star:67** 处理地址表示、验证和格式。 [![godoc][D]](https://godoc.org/github.com/bojanz/address)
2022-11-07 07:27:33 +08:00
- [textwrap](https://github.com/isbm/textwrap) **star:4** 在行尾换行。从Python实现' textwrap '模块。 [![近三年未更新][Y]](https://github.com/isbm/textwrap) [![godoc][D]](https://godoc.org/github.com/isbm/textwrap)
2022-03-22 12:36:07 +08:00
### 标记语言
2023-08-04 07:26:48 +08:00
- [blackfriday](https://github.com/russross/blackfriday) **star:5200** Markdown 解析器 [![godoc][D]](https://godoc.org/github.com/russross/blackfriday)
2022-03-22 12:36:07 +08:00
- [github_flavored_markdown](https://godoc.org/github.com/shurcooL/github_flavored_markdown) GitHub 风格的 Markdown 渲染器 (使用 blackfriday) ,支持代码块高亮以及可点击的锚点
2023-08-04 07:26:48 +08:00
- [toml](https://github.com/BurntSushi/toml) **star:4244** TOML配置格式(带反射的编码器/解码器)。 [![godoc][D]](https://godoc.org/github.com/BurntSushi/toml)
- [goldmark](https://github.com/yuin/goldmark) **star:2828** A Markdown parser written in Go. Easy to extend, standard (CommonMark) compliant, well structured. [![godoc][D]](https://godoc.org/github.com/yuin/goldmark)
2023-07-27 07:20:38 +08:00
- [go-toml](https://github.com/pelletier/go-toml) **star:1471** 使用带有查询支持和方便的cli工具的TOML格式库。 [![godoc][D]](https://godoc.org/github.com/pelletier/go-toml)
2023-08-04 07:26:48 +08:00
- [htmlquery](https://github.com/antchfx/htmlquery) **star:621** 用于HTML的XPath查询包允许您通过XPath表达式从HTML文档中提取数据或求值。 [![godoc][D]](https://godoc.org/github.com/antchfx/htmlquery)
2023-08-02 07:21:08 +08:00
- [html-to-markdown](https://github.com/JohannesKaufmann/html-to-markdown) **star:578** 将HTML转换成Markdown [![godoc][D]](https://godoc.org/github.com/JohannesKaufmann/html-to-markdown)
2023-08-04 07:26:48 +08:00
- [mxj](https://github.com/clbanning/mxj) **star:566** 将XML编码/解码为JSON或map[string]接口{};使用点符号路径和通配符提取值。替换x2j和j2x包。 [![godoc][D]](https://godoc.org/github.com/clbanning/mxj)
- [goq](https://github.com/andrewstuart/goq) **star:242** 声明式 HTML 编组,使用结构标签和 jQuery 语法 (使用 GoQuery). [![godoc][D]](https://godoc.org/github.com/andrewstuart/goq)
2023-07-27 07:20:38 +08:00
- [bafi](https://github.com/mmalcek/bafi) **star:78** 通用JSON, BSON, YAML, XML翻译到任何格式使用模板。 [![godoc][D]](https://godoc.org/github.com/mmalcek/bafi)
2023-08-02 07:21:08 +08:00
- [go-output-format](https://github.com/drewstinnett/go-output-format) **star:11** 在你的命令行应用程序中将go结构输出为多种格式(YAML/JSON/etc)。 [![godoc][D]](https://godoc.org/github.com/drewstinnett/go-output-format)
2022-10-05 07:28:40 +08:00
- [bbConvert](https://github.com/CalebQ42/bbConvert) **star:7** 将bbCode转换为HTML使您可以添加对自定义bbCode标记的支持。 [![近三年未更新][Y]](https://github.com/CalebQ42/bbConvert) [![godoc][D]](https://godoc.org/github.com/CalebQ42/bbConvert)
2023-06-09 07:21:48 +08:00
- [htmlyaml](https://github.com/nikolaydubina/htmlyaml) **star:2** Rich rendering of YAML as HTML in Go [![godoc][D]](https://godoc.org/github.com/nikolaydubina/htmlyaml)
2022-03-22 12:36:07 +08:00
### 解析 器/Encoders/Decoders
2023-08-04 07:26:48 +08:00
- [sh](https://github.com/mvdan/sh) **star:6070** Shell解析器和格式化工具。 [![近一周有更新][G]](https://github.com/mvdan/sh) [![godoc][D]](https://godoc.org/github.com/mvdan/sh)
- [gofeed](https://github.com/mmcdole/gofeed) **star:2215** 在Go中解析RSS和Atom feeds。 [![近一周有更新][G]](https://github.com/mmcdole/gofeed) [![godoc][D]](https://godoc.org/github.com/mmcdole/gofeed)
- [when](https://github.com/olebedev/when) **star:1283** 带有可插入规则的自然EN和RU语言日期/时间解析器。 [![godoc][D]](https://godoc.org/github.com/olebedev/when)
- [commonregex](https://github.com/mingrammer/commonregex) **star:863** 一组用于Go的公共正则表达式。 [![近三年未更新][Y]](https://github.com/mingrammer/commonregex) [![godoc][D]](https://godoc.org/github.com/mingrammer/commonregex)
- [omniparser](https://github.com/jf-tech/omniparser) **star:588** 一个通用的ETL库以流方式解析文本输入(CSV/txt/JSON/XML/EDI/X12/EDIFACT/etc)并使用数据驱动模式将数据转换为JSON输出。 [![godoc][D]](https://godoc.org/github.com/jf-tech/omniparser)
2023-07-27 07:20:38 +08:00
- [gographviz](https://github.com/awalterschulze/gographviz) **star:526** 解析Graphviz DOT语言。 [![godoc][D]](https://godoc.org/github.com/awalterschulze/gographviz)
2023-08-02 07:21:08 +08:00
- [go-nmea](https://github.com/adrianmo/go-nmea) **star:197** 用于Go语言的NMEA解析器库。 [![godoc][D]](https://godoc.org/github.com/adrianmo/go-nmea)
- [editorconfig-core-go](https://github.com/editorconfig/editorconfig-core-go) **star:120** Editorconfig文件解析器和Go操作器。 [![godoc][D]](https://godoc.org/github.com/editorconfig/editorconfig-core-go)
2023-04-20 07:25:14 +08:00
- [sdp](https://github.com/gortc/sdp) **star:112** SDP:会话描述协议[[RFC 4566](https://tools.ietf.org/html/rfc4566)]。 [![近三年未更新][Y]](https://github.com/gortc/sdp) [![godoc][D]](https://godoc.org/github.com/gortc/sdp) [![归档项目][Archived]](https://github.com/gortc/sdp)
2023-07-20 07:26:36 +08:00
- [go-vcard](https://github.com/emersion/go-vcard) **star:89** 解析和格式化vCard。 [![godoc][D]](https://godoc.org/github.com/emersion/go-vcard)
2023-07-17 07:22:48 +08:00
- [did](https://github.com/ockam-network/did) **star:77** DID(分散标识符)解析器和Stringer。 [![godoc][D]](https://godoc.org/github.com/ockam-network/did)
- [allot](https://github.com/sbstjn/allot) **star:57** 用于CLI工具和机器人的占位符和通配符文本解析。 [![godoc][D]](https://godoc.org/github.com/sbstjn/allot)
2023-07-27 07:20:38 +08:00
- [tokenizer](https://github.com/bzick/tokenizer) **star:48** Parse any string, slice or infinite buffer to any tokens. [![godoc][D]](https://godoc.org/github.com/bzick/tokenizer)
2023-01-09 07:25:06 +08:00
- [parth](https://github.com/codemodus/parth) **star:43** URL路径分割解析。 [![近三年未更新][Y]](https://github.com/codemodus/parth) [![godoc][D]](https://godoc.org/github.com/codemodus/parth)
2022-10-05 07:28:40 +08:00
- [gonameparts](https://github.com/polera/gonameparts) **star:38** 将人名解析为单独的名称部分。 [![近三年未更新][Y]](https://github.com/polera/gonameparts) [![godoc][D]](https://godoc.org/github.com/polera/gonameparts)
2023-07-17 07:22:48 +08:00
- [normalize](https://github.com/avito-tech/normalize) **star:36** 消毒,规范化和比较模糊的文本。 [![godoc][D]](https://godoc.org/github.com/avito-tech/normalize)
2023-05-17 07:27:03 +08:00
- [xj2go](https://github.com/stackerzzq/xj2go) **star:31** 将xml或json转换为struct。 [![godoc][D]](https://godoc.org/github.com/stackerzzq/xj2go)
2022-10-17 07:41:41 +08:00
- [codetree](https://github.com/aerogo/codetree) **star:22** 解析缩进代码(python、pixy、scarlet等)并返回树结构。 [![近三年未更新][Y]](https://github.com/aerogo/codetree) [![godoc][D]](https://godoc.org/github.com/aerogo/codetree)
2023-08-02 07:21:08 +08:00
- [go-fasttld](https://github.com/elliotwutingfeng/go-fasttld) **star:18** High performance effective top level domains (eTLD) extraction module. [![近一周有更新][G]](https://github.com/elliotwutingfeng/go-fasttld) [![godoc][D]](https://godoc.org/github.com/elliotwutingfeng/go-fasttld)
2023-06-19 07:27:31 +08:00
- [parseargs-go](https://github.com/nproc/parseargs-go) **star:9** 字符串参数解析器,能够理解引用及反斜杠。 [![近三年未更新][Y]](https://github.com/nproc/parseargs-go) [![godoc][D]](https://godoc.org/github.com/nproc/parseargs-go)
2023-06-29 07:26:27 +08:00
- [doi](https://github.com/hscells/doi) **star:8** 文档对象标识符(doi)解析器。 [![近三年未更新][Y]](https://github.com/hscells/doi) [![godoc][D]](https://godoc.org/github.com/hscells/doi)
2022-11-07 07:27:33 +08:00
- [encdec](https://github.com/mickep76/encdec) **star:8** Package provides a generic interface to encoders and decoders. [![近三年未更新][Y]](https://github.com/mickep76/encdec) [![godoc][D]](https://godoc.org/github.com/mickep76/encdec)
2022-10-05 07:28:40 +08:00
- [ltsv](https://github.com/Wing924/ltsv) **star:8** 高性能[LTSV(Labeled Tab Separated Value)](http://ltsv.org/)。 [![近三年未更新][Y]](https://github.com/Wing924/ltsv) [![godoc][D]](https://godoc.org/github.com/Wing924/ltsv)
2022-03-22 12:36:07 +08:00
### 正则表达式
2023-07-20 07:26:36 +08:00
- [rex](https://github.com/hedhyw/rex) **star:157** Regular expressions builder. [![godoc][D]](https://godoc.org/github.com/hedhyw/rex)
- [regroup](https://github.com/oriser/regroup) **star:132** 使用结构标记和自动解析将正则表达式命名组匹配到go结构中。 [![godoc][D]](https://godoc.org/github.com/oriser/regroup)
2023-06-26 07:28:04 +08:00
- [goregen](https://github.com/zach-klippenstein/goregen) **star:84** 根据正则表达式生成随机字符串 [![godoc][D]](https://godoc.org/github.com/zach-klippenstein/goregen)
2023-07-03 07:26:28 +08:00
- [genex](https://github.com/alixaxel/genex) **star:75** 将正则表达式计数并展开为所有匹配的字符串。 [![近三年未更新][Y]](https://github.com/alixaxel/genex) [![godoc][D]](https://godoc.org/github.com/alixaxel/genex)
2023-08-04 07:26:48 +08:00
- [go-wildcard](https://github.com/IGLOU-EU/go-wildcard) **star:49** 简单而轻量级的通配符模式匹配。 [![godoc][D]](https://godoc.org/github.com/IGLOU-EU/go-wildcard)
2022-03-22 12:36:07 +08:00
### 环境卫生
2023-08-04 07:26:48 +08:00
- [bluemonday](https://github.com/microcosm-cc/bluemonday) **star:2751** HTML 清理工具 [![近一周有更新][G]](https://github.com/microcosm-cc/bluemonday) [![godoc][D]](https://godoc.org/github.com/microcosm-cc/bluemonday)
2023-07-17 07:22:48 +08:00
- [gofuckyourself](https://github.com/JoshuaDoes/gofuckyourself) **star:57** 一个基于 sanitization 的 Go 敏感词过滤器。 [![godoc][D]](https://godoc.org/github.com/JoshuaDoes/gofuckyourself)
2022-03-22 12:36:07 +08:00
### 刮刀
2023-08-04 07:26:48 +08:00
- [colly](https://github.com/asciimoo/colly) **star:20086** 快速和优雅的 Scraping 框架。 [![godoc][D]](https://godoc.org/github.com/asciimoo/colly)
- [GoQuery](https://github.com/PuerkitoBio/goquery) **star:12792** GoQuery 为 Go 语言带来了一组类似 jQuery 的语法和功能 [![godoc][D]](https://godoc.org/github.com/PuerkitoBio/goquery)
2023-08-02 07:21:08 +08:00
- [xurls](https://github.com/mvdan/xurls) **star:1065** 从文本中提取url。 [![godoc][D]](https://godoc.org/github.com/mvdan/xurls)
2023-08-04 07:26:48 +08:00
- [dataflowkit](https://github.com/slotix/dataflowkit) **star:601** Web抓取框架将网站转换为结构化数据。 [![godoc][D]](https://godoc.org/github.com/slotix/dataflowkit)
2023-07-17 07:22:48 +08:00
- [gospider](https://github.com/zhshch2002/gospider) **star:196** 一个简单的golang蜘蛛/抓取框架用3行代码构建一个蜘蛛。从[goribot] (https://github.com/zhshch2002/goribot) [![godoc][D]](https://godoc.org/github.com/zhshch2002/gospider)
2023-08-04 07:26:48 +08:00
- [pagser](https://github.com/foolin/pagser) **star:84** Pagser是一个简单的可扩展的可配置的解析和反序列化的html页面结构基于goquery和结构标签的golang爬虫。 [![godoc][D]](https://godoc.org/github.com/foolin/pagser)
2023-07-20 07:26:36 +08:00
- [Tagify](https://github.com/zoomio/tagify) **star:33** 从给定源生成一组标记。
2023-07-17 07:22:48 +08:00
- [go-recipe](https://github.com/kkyr/go-recipe) **star:22** A package for scraping recipes from websites. [![godoc][D]](https://godoc.org/github.com/kkyr/go-recipe)
2023-07-10 07:28:10 +08:00
- [walker](https://github.com/cyucelen/walker) **star:5** Seamlessly fetch paginated data from any source. Simple and high performance API scraping included. [![godoc][D]](https://godoc.org/github.com/cyucelen/walker)
2022-03-22 12:36:07 +08:00
### RSS
2023-06-19 07:27:31 +08:00
- [podcast](https://github.com/eduncan911/podcast) **star:125** 在Golang兼容iTunes和RSS 2.0播客生成器 [![godoc][D]](https://godoc.org/github.com/eduncan911/podcast)
2023-04-15 10:58:14 +08:00
- [syndfeed](https://github.com/zhengchun/syndfeed) **star:11** Atom 1.0和RSS 2.0的联合提要。 [![近三年未更新][Y]](https://github.com/zhengchun/syndfeed) [![godoc][D]](https://godoc.org/github.com/zhengchun/syndfeed)
2022-03-22 12:36:07 +08:00
### 实用程序/Miscellaneous
2023-08-02 07:21:08 +08:00
- [go-runewidth](https://github.com/mattn/go-runewidth) **star:538** 函数获取字符或字符串的固定宽度。 [![godoc][D]](https://godoc.org/github.com/mattn/go-runewidth)
2023-07-20 07:26:36 +08:00
- [radix](https://github.com/yourbasic/radix) **star:186** 快速字符串排序算法。 [![近三年未更新][Y]](https://github.com/yourbasic/radix) [![godoc][D]](https://godoc.org/github.com/yourbasic/radix)
2023-07-27 07:20:38 +08:00
- [go-zero-width](https://github.com/trubitsyn/go-zero-width) **star:110** 用于Go的零宽度字符检测和删除。 [![近三年未更新][Y]](https://github.com/trubitsyn/go-zero-width) [![godoc][D]](https://godoc.org/github.com/trubitsyn/go-zero-width) [![归档项目][Archived]](https://github.com/trubitsyn/go-zero-width)
2023-07-17 07:22:48 +08:00
- [petrovich](https://github.com/striker2000/petrovich) **star:44** 彼得罗维奇是一个图书馆,它把俄语名字的词形变化成特定的语法格。 [![godoc][D]](https://godoc.org/github.com/striker2000/petrovich)
2023-08-04 07:26:48 +08:00
- [kace](https://github.com/codemodus/kace) **star:20** 通用大小写转换工具 [![近三年未更新][Y]](https://github.com/codemodus/kace) [![godoc][D]](https://godoc.org/github.com/codemodus/kace)
- [TySug](https://github.com/Dynom/TySug) **star:17** 关于键盘布局的其他建议。 [![godoc][D]](https://godoc.org/github.com/Dynom/TySug)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 第三方api
2022-03-22 12:36:07 +08:00
_用于访问第三方api的库。 (翻译出错了? 试试 [英文版](README_EN.md#third-party-apis) 吧~)_
2023-08-04 07:26:48 +08:00
- [github](https://github.com/google/go-github) **star:9568** 访问GitHub REST API v3的库。 [![近一周有更新][G]](https://github.com/google/go-github) [![godoc][D]](https://godoc.org/github.com/google/go-github)
- [aws-sdk-go](https://github.com/aws/aws-sdk-go) **star:8379** AWS 提供的官方go语言 SDK [![近一周有更新][G]](https://github.com/aws/aws-sdk-go) [![godoc][D]](https://godoc.org/github.com/aws/aws-sdk-go)
- [go-openai](https://github.com/sashabaranov/go-openai) **star:6106** OpenAI ChatGPT, DALL·E, Whisper API library for Go. [![近一周有更新][G]](https://github.com/sashabaranov/go-openai) [![godoc][D]](https://godoc.org/github.com/sashabaranov/go-openai)
- [slack](https://github.com/slack-go/slack) **star:4368** Slack API。 [![godoc][D]](https://godoc.org/github.com/slack-go/slack)
- [discordgo](https://github.com/bwmarrin/discordgo) **star:4145** Discord Chat API的客户端。 [![近一周有更新][G]](https://github.com/bwmarrin/discordgo) [![godoc][D]](https://godoc.org/github.com/bwmarrin/discordgo)
2023-08-02 07:21:08 +08:00
- [google](https://github.com/google/google-api-go-client) **star:3521** 为Go自动生成谷歌api。 [![近一周有更新][G]](https://github.com/google/google-api-go-client) [![godoc][D]](https://godoc.org/github.com/google/google-api-go-client)
- [google-cloud](https://github.com/GoogleCloudPlatform/gcloud-golang) **star:3337** 谷歌云api Go 客户端库。 [![近一周有更新][G]](https://github.com/GoogleCloudPlatform/gcloud-golang) [![godoc][D]](https://godoc.org/github.com/GoogleCloudPlatform/gcloud-golang)
2023-08-04 07:26:48 +08:00
- [minio-go](https://github.com/minio/minio-go) **star:1998** 用于Amazon S3兼容云存储的Minio Go库。 [![近一周有更新][G]](https://github.com/minio/minio-go) [![godoc][D]](https://godoc.org/github.com/minio/minio-go)
- [stripe](https://github.com/stripe/stripe-go) **star:1828** Stripe API 的 Go 语言客户端 [![近一周有更新][G]](https://github.com/stripe/stripe-go) [![godoc][D]](https://godoc.org/github.com/stripe/stripe-go)
2023-07-27 07:20:38 +08:00
- [go-twitter](https://github.com/dghubble/go-twitter) **star:1589** Twitter v1.1 api 的客户端. [![godoc][D]](https://godoc.org/github.com/dghubble/go-twitter) [![归档项目][Archived]](https://github.com/dghubble/go-twitter)
2023-08-04 07:26:48 +08:00
- [go-jira](https://github.com/andygrunwald/go-jira) **star:1341** Go [Atlassian JIRA](https://www.atlassian.com/software/jira)的客户端库 [![godoc][D]](https://godoc.org/github.com/andygrunwald/go-jira)
- [facebook](https://github.com/huandu/facebook) **star:1170** 支持 Facebook Graph API 的库 [![godoc][D]](https://godoc.org/github.com/huandu/facebook)
2023-07-27 07:20:38 +08:00
- [anaconda](https://github.com/ChimeraCoder/anaconda) **star:1138** Twitter 1.1 API 的 go 语言客户端 [![godoc][D]](https://godoc.org/github.com/ChimeraCoder/anaconda)
2023-08-02 07:21:08 +08:00
- [githubql](https://github.com/shurcooL/githubql) **star:1029** 访问GitHub GraphQL API v4的库。 [![godoc][D]](https://godoc.org/github.com/shurcooL/githubql)
2023-08-04 07:26:48 +08:00
- [webhooks](https://github.com/go-playground/webhooks) **star:852** GitHub 和 Bitbucket 的Webhook接收器。 [![近一周有更新][G]](https://github.com/go-playground/webhooks) [![godoc][D]](https://godoc.org/github.com/go-playground/webhooks)
- [twitter-scraper](https://github.com/n0madic/twitter-scraper) **star:635** 刮Twitter前端API没有认证和限制。 [![godoc][D]](https://godoc.org/github.com/n0madic/twitter-scraper)
2023-07-20 07:26:36 +08:00
- [paypal](https://github.com/logpacker/PayPal-Go-SDK) **star:587** PayPal支付API的包装器。 [![godoc][D]](https://godoc.org/github.com/logpacker/PayPal-Go-SDK)
2023-08-04 07:26:48 +08:00
- [geo-golang](https://github.com/codingsince1985/geo-golang) **star:473** Go Library to access [Google Maps](https://developers.google.com/maps/documentation/geocoding/intro), [MapQuest](https://developer.mapquest.com/documentation/geocoding-api/), [Nominatim](https://developer.mapquest.com/documentation/open/nominatim-search), [OpenCage](https://opencagedata.com/api), [Bing](https://msdn.microsoft.com/en-us/library/ff701715.aspx), [Mapbox](https://www.mapbox.com/developers/api/geocoding/), and [OpenStreetMap](https://wiki.openstreetmap.org/wiki/Nominatim) geocoding / reverse geocoding APIs. [![godoc][D]](https://godoc.org/github.com/codingsince1985/geo-golang)
- [lark](https://github.com/chyroc/lark) **star:341** [飞舒](https://open.feishu.cn/)/[Lark](https://open.larksuite.com/) Go SDK开放API支持所有开放API和事件回调。 [![近一周有更新][G]](https://github.com/chyroc/lark) [![godoc][D]](https://godoc.org/github.com/chyroc/lark) [![包含中文文档][CN]](https://github.com/chyroc/lark)
2023-08-02 07:21:08 +08:00
- [openaigo](https://github.com/otiai10/openaigo) **star:266** OpenAI GPT3/GPT3.5 ChatGPT API client library for Go. [![godoc][D]](https://godoc.org/github.com/otiai10/openaigo)
2023-07-17 07:22:48 +08:00
- [ethrpc](https://github.com/onrik/ethrpc) **star:255** Ethereum JSON RPC API的客户端。 [![godoc][D]](https://godoc.org/github.com/onrik/ethrpc)
- [Trello](https://github.com/adlio/trello) **star:210** Trello API的 Go 语言封装。 [![godoc][D]](https://godoc.org/github.com/adlio/trello)
2023-07-12 07:22:59 +08:00
- [go-marathon](https://github.com/gambol99/go-marathon) **star:201** 用于和 Mesosphere's Marathon PAAS 交互的 Go 语言库 [![godoc][D]](https://godoc.org/github.com/gambol99/go-marathon)
2023-08-04 07:26:48 +08:00
- [go-lark](https://github.com/go-lark/lark) **star:159** 一个易于使用的非官方SDK为[飞书](https://open.feishu.cn/)和[Lark](https://open.larksuite.com/)开放平台。 [![近一周有更新][G]](https://github.com/go-lark/lark) [![godoc][D]](https://godoc.org/github.com/go-lark/lark) [![包含中文文档][CN]](https://github.com/go-lark/lark)
2023-07-27 07:20:38 +08:00
- [wit-go](https://github.com/wit-ai/wit-go) **star:144** wit.ai HTTP API 客户端。 [![godoc][D]](https://godoc.org/github.com/wit-ai/wit-go)
2023-06-19 07:27:31 +08:00
- [Medium](https://github.com/Medium/medium-sdk-go) **star:138** Medium的OAuth2 API 客户端。 [![近三年未更新][Y]](https://github.com/Medium/medium-sdk-go) [![godoc][D]](https://godoc.org/github.com/Medium/medium-sdk-go)
2023-08-04 07:26:48 +08:00
- [go-trending](https://github.com/andygrunwald/go-trending) **star:135** 在Github上访问[trends repository](https://github.com/trends)和[developers](https://github.com/trending/developers)的库。 [![godoc][D]](https://godoc.org/github.com/andygrunwald/go-trending)
2023-07-17 07:22:48 +08:00
- [pushover](https://github.com/gregdel/pushover) **star:135** Go 包装的 Pushover API。 [![godoc][D]](https://godoc.org/github.com/gregdel/pushover)
2023-02-20 07:27:34 +08:00
- [gostorm](https://github.com/jsgilmore/gostorm) **star:130** GoStorm是一个Go库它实现了编写Storm spout和bolt所需的通信协议这些协议用于与Storm shell通信。 [![近三年未更新][Y]](https://github.com/jsgilmore/gostorm) [![godoc][D]](https://godoc.org/github.com/jsgilmore/gostorm)
2023-06-02 07:24:06 +08:00
- [simples3](https://github.com/rhnvrm/simples3) **star:115** 使用REST和用Go编写的V4签名的AWS S3库非常简单。 [![godoc][D]](https://godoc.org/github.com/rhnvrm/simples3)
2023-08-02 07:21:08 +08:00
- [gosip](https://github.com/koltyakov/gosip) **star:113** Client library for SharePoint. [![godoc][D]](https://godoc.org/github.com/koltyakov/gosip)
2023-07-10 07:28:10 +08:00
- [hipchat (xmpp)](https://github.com/daneharrigan/hipchat) **star:110** 一个用于通过XMPP与HipChat通信的golang包。 [![近三年未更新][Y]](https://github.com/daneharrigan/hipchat) [![godoc][D]](https://godoc.org/github.com/daneharrigan/hipchat)
2023-01-09 07:25:06 +08:00
- [hipchat](https://github.com/andybons/hipchat) **star:104** 这个项目为Hipchat API实现了一个golang客户端库。 [![近三年未更新][Y]](https://github.com/andybons/hipchat) [![godoc][D]](https://godoc.org/github.com/andybons/hipchat)
2022-10-05 07:28:40 +08:00
- [cachet](https://github.com/andygrunwald/cachet) **star:91** 使用客户端库[Cachet(开源状态页系统)](https://cachethq.io/)。 [![godoc][D]](https://godoc.org/github.com/andygrunwald/cachet)
2023-07-07 07:24:47 +08:00
- [go-atlassian](https://github.com/ctreminiom/go-atlassian) **star:83** 访问[Atlassian Cloud](https://www.atlassian.com/enterprise/cloud)服务(Jira, Jira Service Management, Jira Agile, Confluence, Admin Cloud) [![近一周有更新][G]](https://github.com/ctreminiom/go-atlassian) [![godoc][D]](https://godoc.org/github.com/ctreminiom/go-atlassian)
2023-07-20 07:26:36 +08:00
- [golang-tmdb](https://github.com/cyruzin/golang-tmdb) **star:81** 电影数据库API v3的Golang包装器。 [![godoc][D]](https://godoc.org/github.com/cyruzin/golang-tmdb)
2023-04-15 10:58:14 +08:00
- [igdb](https://github.com/Henry-Sarabia/igdb) **star:77** [Internet Game Database API](https://api.igdb.com/) 客户端。 [![godoc][D]](https://godoc.org/github.com/Henry-Sarabia/igdb)
2023-06-07 07:22:22 +08:00
- [go-unsplash](https://github.com/hbagdi/go-unsplash) **star:72** 使用[Unsplash.com](https://unsplash.com) API的客户端库。 [![godoc][D]](https://godoc.org/github.com/hbagdi/go-unsplash)
2023-05-16 07:23:55 +08:00
- [gogtrends](https://github.com/groovili/gogtrends) **star:72** 非官方的Google Trends API。 [![godoc][D]](https://godoc.org/github.com/groovili/gogtrends)
2023-08-04 07:26:48 +08:00
- [go-postman-collection](https://github.com/rbretecher/go-postman-collection) **star:70** 去模块工作与[邮递员收集](https://learning.getpostman.com/docs/postman/collections/creating-collections/)(兼容失眠)。 [![godoc][D]](https://godoc.org/github.com/rbretecher/go-postman-collection)
2023-07-17 07:22:48 +08:00
- [google-play-scraper](https://github.com/n0madic/google-play-scraper) **star:67** 从谷歌播放存储获取数据。 [![godoc][D]](https://godoc.org/github.com/n0madic/google-play-scraper)
2023-04-15 10:58:14 +08:00
- [circleci](https://github.com/jszwedko/go-circleci) **star:64** CircleCI的API的客户端 [![近三年未更新][Y]](https://github.com/jszwedko/go-circleci) [![godoc][D]](https://godoc.org/github.com/jszwedko/go-circleci)
2023-07-27 07:20:38 +08:00
- [airtable](https://github.com/mehanizm/airtable) **star:63** 去客户端库[Airtable API](https://airtable.com/api)。 [![godoc][D]](https://godoc.org/github.com/mehanizm/airtable)
2023-06-26 07:28:04 +08:00
- [mixpanel](https://github.com/dukex/mixpanel) **star:60** Mixpanel是一个库用于跟踪事件并将Mixpanel概要文件更新从go应用程序发送到Mixpanel。 [![godoc][D]](https://godoc.org/github.com/dukex/mixpanel)
2023-08-02 07:21:08 +08:00
- [ynab](https://github.com/brunomvsouza/ynab.go) **star:58** YNAB API 的 Go 语言封装。 [![近一周有更新][G]](https://github.com/brunomvsouza/ynab.go) [![godoc][D]](https://godoc.org/github.com/brunomvsouza/ynab.go)
- [amazon-product-advertising-api](https://github.com/ngs/go-amazon-product-advertising-api) **star:57** [Amazon Product Advertising API](https://program.amazon.com/gp/advertising/api/detail/main.html)的客户端库。 [![近三年未更新][Y]](https://github.com/ngs/go-amazon-product-advertising-api) [![godoc][D]](https://godoc.org/github.com/ngs/go-amazon-product-advertising-api)
2023-04-15 10:58:14 +08:00
- [clarifai](https://github.com/samuelcouch/clarifai) **star:56** Clarifai API的客户端。 [![近三年未更新][Y]](https://github.com/samuelcouch/clarifai) [![godoc][D]](https://godoc.org/github.com/samuelcouch/clarifai)
2023-07-03 07:26:28 +08:00
- [uptimerobot](https://github.com/bitfield/uptimerobot) **star:56** 运行时Robot v2 API 的 Go 语言封装和命令行客户端。 [![godoc][D]](https://godoc.org/github.com/bitfield/uptimerobot)
2023-06-26 07:28:04 +08:00
- [megos](https://github.com/andygrunwald/megos) **star:54** 用于访问[Apache Mesos](https://mesos.apache.org/)集群的客户端库。 [![godoc][D]](https://godoc.org/github.com/andygrunwald/megos)
2022-12-30 07:23:10 +08:00
- [go-xkcd](https://github.com/nishanths/go-xkcd) **star:51** xkcd API 的客户端。 [![godoc][D]](https://godoc.org/github.com/nishanths/go-xkcd)
2022-12-02 07:25:32 +08:00
- [go-yapla](https://git.iglou.eu/Production/go-yapla) Go ypla v2.0 API的客户端库。
2023-02-20 07:27:34 +08:00
- [fcm](https://github.com/maddevsio/fcm) **star:50** Firebase Cloud Messaging 的 Go 语言库 [![近三年未更新][Y]](https://github.com/maddevsio/fcm) [![godoc][D]](https://godoc.org/github.com/maddevsio/fcm)
2022-12-30 07:23:10 +08:00
- [gads](https://github.com/emiddleton/gads) **star:50** Google Adwords 非官方 API [![godoc][D]](https://godoc.org/github.com/emiddleton/gads)
2023-07-27 07:20:38 +08:00
- [GoMusicBrainz](https://github.com/michiwend/gomusicbrainz) **star:50** Go MusicBrainz WS2客户端库。 [![godoc][D]](https://godoc.org/github.com/michiwend/gomusicbrainz)
2023-05-23 07:25:39 +08:00
- [spotify](https://github.com/rapito/go-spotify) **star:47** 用于接入 Spotify WEB API 的 Go 语言库 [![godoc][D]](https://godoc.org/github.com/rapito/go-spotify)
2022-12-30 07:23:10 +08:00
- [golyrics](https://github.com/mamal72/golyrics) **star:40** Golyrics是一个从Wikia网站获取音乐歌词数据的Go库。 [![近三年未更新][Y]](https://github.com/mamal72/golyrics) [![godoc][D]](https://godoc.org/github.com/mamal72/golyrics)
2023-04-15 10:58:14 +08:00
- [go-myanimelist](https://github.com/nstratos/go-myanimelist) **star:36** 去访问[MyAnimeList API]的客户端库(https://myanimelist.net/apiconfig/references/api/v2)。 [![godoc][D]](https://godoc.org/github.com/nstratos/go-myanimelist)
2023-05-04 07:21:08 +08:00
- [patreon-go](https://github.com/mxpv/patreon-go) **star:36** Go Patreon API库。 [![godoc][D]](https://godoc.org/github.com/mxpv/patreon-go)
2023-07-27 07:20:38 +08:00
- [swag](https://github.com/zc2638/swag) **star:36** No comments, simple go wrapper to create swagger 2.0 compatible APIs. Support most routing frameworks, such as built-in, gin, chi, mux, echo, httprouter, fasthttp and more. [![godoc][D]](https://godoc.org/github.com/zc2638/swag) [![包含中文文档][CN]](https://github.com/zc2638/swag)
2022-11-29 07:22:02 +08:00
- [translate](https://github.com/poorny/translate) **star:33** Go 在线翻译包。 [![近三年未更新][Y]](https://github.com/poorny/translate) [![godoc][D]](https://godoc.org/github.com/poorny/translate) [![归档项目][Archived]](https://github.com/poorny/translate)
2022-10-05 07:28:40 +08:00
- [gami](https://github.com/bit4bit/gami) **star:31** Asterisk Manager Interface 的 Go 语言库 [![近三年未更新][Y]](https://github.com/bit4bit/gami) [![godoc][D]](https://godoc.org/github.com/bit4bit/gami) [![归档项目][Archived]](https://github.com/bit4bit/gami)
- [gcm](https://github.com/Aorioli/gcm) **star:31** Google Cloud Messaging 库 [![近三年未更新][Y]](https://github.com/Aorioli/gcm) [![godoc][D]](https://godoc.org/github.com/Aorioli/gcm)
2023-07-10 07:28:10 +08:00
- [lastpass-go](https://github.com/ansd/lastpass-go) **star:30** 使用[LastPass](https://www.lastpass.com/) API的客户端库。 [![godoc][D]](https://godoc.org/github.com/ansd/lastpass-go)
2023-05-31 07:26:28 +08:00
- [steam](https://github.com/sostronk/go-steam) **star:30** 用于与Steam服务器进行交互的库。 [![godoc][D]](https://godoc.org/github.com/sostronk/go-steam)
2023-06-07 07:22:22 +08:00
- [go-imgur](https://github.com/koffeinsource/go-imgur) **star:25** Go [imgur](https://imgur.com)的客户端库 [![godoc][D]](https://godoc.org/github.com/koffeinsource/go-imgur)
2023-05-31 07:26:28 +08:00
- [GoFreeDB](https://github.com/FreeLeh/GoFreeDB) **star:25** Golang library providing common and simple database abstractions on top of Google Sheets. [![godoc][D]](https://godoc.org/github.com/FreeLeh/GoFreeDB)
2022-12-13 07:24:13 +08:00
- [shopify](https://github.com/rapito/go-shopify) **star:25** 一个用于通过 Shopify API 进行增删改查的 Go 语言库。 [![godoc][D]](https://godoc.org/github.com/rapito/go-shopify)
2023-07-20 07:26:36 +08:00
- [device-check-go](https://github.com/rinchsan/device-check-go) **star:21** Go客户端库与[iOS DeviceCheck API](https://developer.apple.com/documentation/devicecheck) v1交互。 [![godoc][D]](https://godoc.org/github.com/rinchsan/device-check-go)
2023-06-09 07:21:48 +08:00
- [jokeapi-go](https://github.com/icelain/jokeapi) **star:21** 去客户端[JokeAPI](https://sv443.net/jokeapi/v2/)。 [![godoc][D]](https://godoc.org/github.com/icelain/jokeapi)
2023-05-31 07:26:28 +08:00
- [coinpaprika-go](https://github.com/coinpaprika/coinpaprika-api-go-client) **star:20** Coinpaprika API的客户端。 [![godoc][D]](https://godoc.org/github.com/coinpaprika/coinpaprika-api-go-client)
2022-10-05 07:28:40 +08:00
- [brewerydb](https://github.com/naegelejd/brewerydb) **star:19** 用于访问 BreweryDB API的 Go 语言库 [![近三年未更新][Y]](https://github.com/naegelejd/brewerydb) [![godoc][D]](https://godoc.org/github.com/naegelejd/brewerydb)
- [codeship-go](https://github.com/codeship/codeship-go) **star:19** Codeship API v2的客户端。 [![godoc][D]](https://godoc.org/github.com/codeship/codeship-go)
2022-11-16 07:26:12 +08:00
- [textbelt](https://github.com/dietsche/textbelt) **star:19** textbelt.com txt messaging API 的go语言客户端。 [![近三年未更新][Y]](https://github.com/dietsche/textbelt) [![godoc][D]](https://godoc.org/github.com/dietsche/textbelt)
2023-05-16 07:23:55 +08:00
- [go-aws-news](https://github.com/circa10a/go-aws-news) **star:17** 去应用程序和库获取AWS的新内容。 [![godoc][D]](https://godoc.org/github.com/circa10a/go-aws-news)
2022-10-05 07:28:40 +08:00
- [go-hacknews](https://github.com/PaulRosset/go-hacknews) **star:16** HackerNews API的小型Go客户端。 [![近三年未更新][Y]](https://github.com/PaulRosset/go-hacknews) [![godoc][D]](https://godoc.org/github.com/PaulRosset/go-hacknews)
2023-08-02 07:21:08 +08:00
- [google-analytics](https://github.com/chonthu/go-google-analytics) **star:15** 简单的包装,方便的谷歌分析报告。 [![近三年未更新][Y]](https://github.com/chonthu/go-google-analytics) [![godoc][D]](https://godoc.org/github.com/chonthu/go-google-analytics)
2023-04-15 10:58:14 +08:00
- [gopaapi5](https://github.com/utekaravinash/gopaapi5) **star:14** Go客户端库[亚马逊产品广告API 5.0](https://webservices.amazon.com/paapi5/documentation/)。 [![近三年未更新][Y]](https://github.com/utekaravinash/gopaapi5) [![godoc][D]](https://godoc.org/github.com/utekaravinash/gopaapi5)
2023-04-24 07:24:18 +08:00
- [go-openproject](https://github.com/manuelbcd/go-openproject) **star:13** 去与[OpenProject](https://docs.openproject.org/api/) API交互的客户端库。 [![godoc][D]](https://godoc.org/github.com/manuelbcd/go-openproject)
2023-04-15 10:58:14 +08:00
- [go-sophos](https://github.com/esurdam/go-sophos) **star:13** 无任何依赖的[Sophos UTM REST API](https://www.sophos.com/en-us/medialibrary/pdfs/documentation/utmonaws/sophos-ut-restful-api.pdf?la=en)客户端 [![godoc][D]](https://godoc.org/github.com/esurdam/go-sophos)
2023-06-07 07:22:22 +08:00
- [bqwriter](https://github.com/OTA-Insight/bqwriter) **star:12** High Level Go Library将数据写入[谷歌BigQuery](https://cloud.google.com/bigquery)在高位贯穿。 [![godoc][D]](https://godoc.org/github.com/OTA-Insight/bqwriter)
2023-06-09 07:21:48 +08:00
- [go-here](https://github.com/abdullahselek/go-here) **star:12** 转到基于这里位置的api的客户端库。 [![近三年未更新][Y]](https://github.com/abdullahselek/go-here) [![godoc][D]](https://godoc.org/github.com/abdullahselek/go-here)
2023-06-29 07:26:27 +08:00
- [goami2](https://github.com/staskobzar/goami2) **star:12** AMI v2 library for Asterisk PBX. [![godoc][D]](https://godoc.org/github.com/staskobzar/goami2)
2023-06-26 07:28:04 +08:00
- [go-swagger-ui](https://github.com/esurdam/go-swagger-ui) **star:11** Go库包含预编译[Swagger UI](https://swagger.io/tools/swagger-ui/)用于服务Swagger json。
2022-12-30 07:23:10 +08:00
- [go-telegraph](https://gitlab.com/toby3d/telegraph) Telegraph 发布平台 API 客户端。
2023-07-17 07:22:48 +08:00
- [gomalshare](https://github.com/MonaxGT/gomalshare) **star:11** 去图书馆MalShare API [malshare.com](https://www.malshare.com/) [![近三年未更新][Y]](https://github.com/MonaxGT/gomalshare) [![godoc][D]](https://godoc.org/github.com/MonaxGT/gomalshare)
2023-07-27 07:20:38 +08:00
- [smite](https://github.com/sergiotapia/smitego) **star:11** 对 Smite game API 的封装。 [![近三年未更新][Y]](https://github.com/sergiotapia/smitego) [![godoc][D]](https://godoc.org/github.com/sergiotapia/smitego)
2023-06-29 07:26:27 +08:00
- [goagi](https://github.com/staskobzar/goagi) **star:9** Go library to build Asterisk PBX agi/fastagi applications. [![godoc][D]](https://godoc.org/github.com/staskobzar/goagi)
2022-10-09 07:27:34 +08:00
- [libgoffi](https://github.com/clevabit/libgoffi) **star:9** 用于本地[libffi](https://sourceware.org/libffi/)集成的库适配器工具箱 [![godoc][D]](https://godoc.org/github.com/clevabit/libgoffi)
2022-10-05 07:28:40 +08:00
- [rrdaclient](https://github.com/Omie/rrdaclient) **star:9** 用于接入 statdns.com API 的库——RRDA API。通过HTTP协议进行 DNS查询。 [![近三年未更新][Y]](https://github.com/Omie/rrdaclient) [![godoc][D]](https://godoc.org/github.com/Omie/rrdaclient) [![归档项目][Archived]](https://github.com/Omie/rrdaclient)
2023-08-04 07:26:48 +08:00
- [tumblr](https://github.com/mattcunningham/gumblr) **star:9** Tumblr v2 API 的 Go 语言封装。 [![近三年未更新][Y]](https://github.com/mattcunningham/gumblr) [![godoc][D]](https://godoc.org/github.com/mattcunningham/gumblr)
2023-05-31 07:26:28 +08:00
- [go-chronos](https://github.com/axelspringer/go-chronos) **star:8** 用于与[Chronos](https://mesos.github.io/chronos/)作业调度程序进行交互的Go库 [![近三年未更新][Y]](https://github.com/axelspringer/go-chronos) [![godoc][D]](https://godoc.org/github.com/axelspringer/go-chronos)
2022-12-04 07:25:44 +08:00
- [go-sptrans](https://github.com/sergioaugrod/go-sptrans) **star:8** SPTrans Olho Vivo API 的客户端。 [![godoc][D]](https://godoc.org/github.com/sergioaugrod/go-sptrans)
2023-07-20 07:26:36 +08:00
- [google-email-audit-api](https://github.com/ngs/go-google-email-audit-api) **star:8** [谷歌G Suite Email Audit API](https://developer.google.com/admin-sdk/email-audit/) 的客户端。 [![近三年未更新][Y]](https://github.com/ngs/go-google-email-audit-api) [![godoc][D]](https://godoc.org/github.com/ngs/go-google-email-audit-api) [![归档项目][Archived]](https://github.com/ngs/go-google-email-audit-api)
2022-10-05 07:28:40 +08:00
- [rawg-sdk-go](https://github.com/dimuska139/rawg-sdk-go) **star:8** 去[RAWG视频游戏数据库](https://rawg.io/) API库 [![godoc][D]](https://godoc.org/github.com/dimuska139/rawg-sdk-go)
2023-05-16 07:23:55 +08:00
- [go-hibp](https://github.com/wneessen/go-hibp) **star:7** Simple Go binding to the "Have I Been Pwned" APIs. [![godoc][D]](https://godoc.org/github.com/wneessen/go-hibp)
2022-12-30 07:23:10 +08:00
- [zooz](https://github.com/gojuno/go-zooz) **star:7** Zooz API 的 Go 语言客户端。 [![godoc][D]](https://godoc.org/github.com/gojuno/go-zooz)
2023-06-07 07:22:22 +08:00
- [newsapi-go](https://github.com/jellydator/newsapi-go) **star:6** 去客户端[NewsAPI](https://newsapi.org/)。 [![godoc][D]](https://godoc.org/github.com/jellydator/newsapi-go)
2022-10-05 07:28:40 +08:00
- [appstore-sdk-go](https://github.com/Kachit/appstore-sdk-go) **star:3** 非官方的用于AppStore Connect API的Golang SDK。 [![godoc][D]](https://godoc.org/github.com/Kachit/appstore-sdk-go)
2023-01-28 07:26:39 +08:00
- [dusupay-sdk-go](https://github.com/Kachit/dusupay-sdk-go) **star:3** 非官方的Dusupay支付网关API客户端 [![godoc][D]](https://godoc.org/github.com/Kachit/dusupay-sdk-go)
2022-10-05 07:28:40 +08:00
- [go-restcountries](https://github.com/chriscross0/go-restcountries) **star:3** Go library for the [REST Countries API](https://countrylayer.com/). [![godoc][D]](https://godoc.org/github.com/chriscross0/go-restcountries)
2022-11-07 07:27:33 +08:00
- [fasapay-sdk-go](https://github.com/Kachit/fasapay-sdk-go) **star:2** Unofficial Fasapay payment gateway XML API Client for Golang. [![godoc][D]](https://godoc.org/github.com/Kachit/fasapay-sdk-go)
2022-10-05 07:28:40 +08:00
- [playlyfe](https://github.com/playlyfe/playlyfe-go-sdk) **star:2** Playlyfe Rest API Go SDK。 [![近三年未更新][Y]](https://github.com/playlyfe/playlyfe-go-sdk) [![godoc][D]](https://godoc.org/github.com/playlyfe/playlyfe-go-sdk)
2022-10-08 07:41:36 +08:00
- [TripAdvisor](https://github.com/mrbenosborne/tripadvisor-golang) **star:2** TripAdvisor API 的 Go 语言封装。 [![近三年未更新][Y]](https://github.com/mrbenosborne/tripadvisor-golang) [![godoc][D]](https://godoc.org/github.com/mrbenosborne/tripadvisor-golang)
2022-10-05 07:28:40 +08:00
- [vl-go](https://github.com/verifid/vl-go) **star:2** 使用客户端库中的VerifID身份验证层API。 [![godoc][D]](https://godoc.org/github.com/verifid/vl-go)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 公用事业公司
2022-03-22 12:36:07 +08:00
_可以让你的生活变得更简单的实用工具.。 (翻译出错了? 试试 [英文版](README_EN.md#utilities) 吧~)_
2023-08-04 07:26:48 +08:00
- [fzf](https://github.com/junegunn/fzf) **star:53561** 用Go编写的命令行模糊查找器。 [![近一周有更新][G]](https://github.com/junegunn/fzf) [![godoc][D]](https://godoc.org/github.com/junegunn/fzf)
- [dive](https://github.com/wagoodman/dive) **star:37664** A tool for exploring each layer in a Docker image. [![godoc][D]](https://godoc.org/github.com/wagoodman/dive)
- [hub](https://github.com/github/hub) **star:22507** 封装了 git 命令,提供了额外的功能用于在终端中和 Github 进行交互。 [![godoc][D]](https://godoc.org/github.com/github/hub)
- [ctop](https://github.com/bcicen/ctop) **star:14501** [Top-like](https://ctop.sh)接口(例如htop)用于容器度量。 [![godoc][D]](https://godoc.org/github.com/bcicen/ctop)
- [sqlx](https://github.com/jmoiron/sqlx) **star:13990** 为内建的数据库/sql 软件包提供一组扩展。 [![godoc][D]](https://godoc.org/github.com/jmoiron/sqlx)
- [lo](https://github.com/samber/lo) **star:12664** 一个基于Go 1.18的Lodash类库+泛型(map, filter, contains, find…) [![近一周有更新][G]](https://github.com/samber/lo) [![godoc][D]](https://godoc.org/github.com/samber/lo)
- [goreleaser](https://github.com/goreleaser/goreleaser) **star:11930** 尽可能快速的发布 Go 语言二进制文件。 [![近一周有更新][G]](https://github.com/goreleaser/goreleaser) [![godoc][D]](https://godoc.org/github.com/goreleaser/goreleaser)
2023-08-02 07:21:08 +08:00
- [wuzz](https://github.com/asciimoo/wuzz) **star:10339** 用于HTTP检查的交互式cli工具。 [![godoc][D]](https://godoc.org/github.com/asciimoo/wuzz)
2023-08-04 07:26:48 +08:00
- [usql](https://github.com/knq/usql) **star:8151** usql 是一个通用的命令行接口,用于操作 sql 数据库。 [![近一周有更新][G]](https://github.com/knq/usql) [![godoc][D]](https://godoc.org/github.com/knq/usql)
- [peco](https://github.com/peco/peco) **star:7401** 简单的交互过滤工具。 [![godoc][D]](https://godoc.org/github.com/peco/peco)
- [go-funk](https://github.com/thoas/go-funk) **star:4336** 现代 Go 语言工具库,提供了很多有用的工具 (map, find, contains, filter, chunk, reverse, ...) [![godoc][D]](https://godoc.org/github.com/thoas/go-funk)
2023-08-02 07:21:08 +08:00
- [godropbox](https://github.com/dropbox/godropbox) **star:4129** 用于编写 Go 语言服务/应用的库,来自 Dropbox.。 [![godoc][D]](https://godoc.org/github.com/dropbox/godropbox)
2023-08-04 07:26:48 +08:00
- [hystrix-go](https://github.com/afex/hystrix-go) **star:4010** 实现 Hystrix 风格的、程序员预定义的 fallback 机制(熔断。 [![godoc][D]](https://godoc.org/github.com/afex/hystrix-go)
2023-08-02 07:21:08 +08:00
- [panicparse](https://github.com/maruel/panicparse) **star:3430** 将类似的协程分组并对调用栈进行着色 [![godoc][D]](https://godoc.org/github.com/maruel/panicparse)
- [minify](https://github.com/tdewolff/minify) **star:3393** 用于HTML、CSS、JS、XML、JSON和SVG文件格式的快速缩小器。 [![近一周有更新][G]](https://github.com/tdewolff/minify) [![godoc][D]](https://godoc.org/github.com/tdewolff/minify)
2023-08-04 07:26:48 +08:00
- [goreporter](https://github.com/wgliang/goreporter) **star:3075** 进行代码静态分析,单元测试,代码检视并生成代码质量报告的工具 [![近三年未更新][Y]](https://github.com/wgliang/goreporter) [![godoc][D]](https://godoc.org/github.com/wgliang/goreporter)
- [lancet](https://github.com/duke-git/lancet) **star:2706** A comprehensive, efficient, and reusable util function library of go. [![近一周有更新][G]](https://github.com/duke-git/lancet) [![godoc][D]](https://godoc.org/github.com/duke-git/lancet) [![包含中文文档][CN]](https://github.com/duke-git/lancet)
- [mc](https://github.com/minio/mc) **star:2512** Minio Client 提供了一组工具,用于操作 Amazon S3 兼容云存储和文件系统。 [![近一周有更新][G]](https://github.com/minio/mc) [![godoc][D]](https://godoc.org/github.com/minio/mc)
2023-08-02 07:21:08 +08:00
- [mergo](https://github.com/imdario/mergo) 用于将结构体和map合并进 Go 语言的工具。对于配置默认值避免杂乱的if语句很有帮助。
2023-08-04 07:26:48 +08:00
- [create-go-app](https://github.com/create-go-app/cli) **star:2132** 一个强大的CLI用于通过运行一个命令创建一个后端服务(Golang),前端(JavaScript, TypeScript)和部署自动化(Ansible, Docker)的可生产项目。 [![近一周有更新][G]](https://github.com/create-go-app/cli) [![godoc][D]](https://godoc.org/github.com/create-go-app/cli)
2023-08-02 07:21:08 +08:00
- [Storm](https://github.com/asdine/storm) **star:1999** 一个简单又强大的用于 BoltDB 的工具 [![godoc][D]](https://godoc.org/github.com/asdine/storm)
2023-08-04 07:26:48 +08:00
- [EaseProbe](https://github.com/megaease/easeprobe) **star:1881** A simple, standalone, and lightWeight tool that can do health/status checking daemon, support HTTP/TCP/SSH/Shell/Client/... probes, and Slack/Discord/Telegram/SMS... notification. [![近一周有更新][G]](https://github.com/megaease/easeprobe) [![godoc][D]](https://godoc.org/github.com/megaease/easeprobe)
- [filetype](https://github.com/h2non/filetype) **star:1877** 通过数字签名来推测文件类型。 [![godoc][D]](https://godoc.org/github.com/h2non/filetype)
- [retry-go](https://github.com/avast/retry-go) **star:1777** Simple library for retry mechanism. [![近一周有更新][G]](https://github.com/avast/retry-go) [![godoc][D]](https://godoc.org/github.com/avast/retry-go)
- [mole](https://github.com/davrodpin/mole) **star:1657** cli应用程序可以轻松创建ssh隧道。 [![godoc][D]](https://godoc.org/github.com/davrodpin/mole)
- [jump](https://github.com/gsamokovarov/jump) **star:1652** 通过学习你的习惯,可以帮助你更快地导航。 [![godoc][D]](https://godoc.org/github.com/gsamokovarov/jump)
- [boilr](https://github.com/tmrts/boilr) **star:1634** 非常快的CLI工具用于从样板模板创建项目。 [![godoc][D]](https://godoc.org/github.com/tmrts/boilr)
2023-07-17 07:22:48 +08:00
- [gitbatch](https://github.com/isacikgoz/gitbatch) **star:1512** manage your git repositories in one place. [![godoc][D]](https://godoc.org/github.com/isacikgoz/gitbatch)
2023-08-04 07:26:48 +08:00
- [mimetype](https://github.com/gabriel-vasile/mimetype) **star:1169** 用于基于神奇数字的MIME类型检测的包。 [![近一周有更新][G]](https://github.com/gabriel-vasile/mimetype) [![godoc][D]](https://godoc.org/github.com/gabriel-vasile/mimetype)
2023-07-17 07:22:48 +08:00
- [circuitbreaker](https://github.com/rubyist/circuitbreaker) **star:1077** 接通断路器。 [![godoc][D]](https://godoc.org/github.com/rubyist/circuitbreaker)
2023-08-04 07:26:48 +08:00
- [scany](https://github.com/georgysavva/scany) **star:963** 库扫描数据从数据库到Go structs和更多。 [![godoc][D]](https://godoc.org/github.com/georgysavva/scany)
2023-07-27 07:20:38 +08:00
- [git-time-metric](https://github.com/git-time-metric/gtm) **star:946** git-time-metric - 。 [![godoc][D]](https://godoc.org/github.com/git-time-metric/gtm)
2023-08-02 07:21:08 +08:00
- [hostctl](https://github.com/guumaster/hostctl) **star:918** 一个使用简单命令管理/etc/主机的CLI工具。 [![godoc][D]](https://godoc.org/github.com/guumaster/hostctl)
2023-06-29 07:26:27 +08:00
- [immortal](https://github.com/immortal/immortal) **star:766** \*nix 跨平台 (与操作系统无关的)监控程序。 [![godoc][D]](https://godoc.org/github.com/immortal/immortal)
2023-08-02 07:21:08 +08:00
- [circuit](https://github.com/cep21/circuit) **star:708** 一个高效和功能齐全的 类似 Hystrix Go 实现断路器模式。 [![godoc][D]](https://godoc.org/github.com/cep21/circuit)
- [delve](https://github.com/derekparker/delve) **star:596** Go 语言调试器 [![godoc][D]](https://godoc.org/github.com/derekparker/delve)
- [ergo](https://github.com/cristianoliveira/ergo) **star:573** 管理运行在不同端口上的多个本地服务变得很容易。 [![godoc][D]](https://godoc.org/github.com/cristianoliveira/ergo)
2023-06-29 07:26:27 +08:00
- [htcat](https://github.com/htcat/htcat) **star:552** 并行及流水线的 HTTP GET 工具。 [![近三年未更新][Y]](https://github.com/htcat/htcat) [![godoc][D]](https://godoc.org/github.com/htcat/htcat)
2023-07-07 07:24:47 +08:00
- [koazee](https://github.com/wesovilabs/koazee) **star:521** 库的灵感来自于延迟计算和函数式编程,从而减少了使用数组的麻烦。 [![godoc][D]](https://godoc.org/github.com/wesovilabs/koazee)
2023-08-02 07:21:08 +08:00
- [clockwork](https://github.com/jonboulle/clockwork) **star:504** 一个简单的假 clock 。 [![godoc][D]](https://godoc.org/github.com/jonboulle/clockwork)
2023-06-19 07:27:31 +08:00
- [godaemon](https://github.com/VividCortex/godaemon) **star:490** 用于编写守护进程的工具 [![godoc][D]](https://godoc.org/github.com/VividCortex/godaemon)
2023-08-02 07:21:08 +08:00
- [changie](https://github.com/miniscruff/changie) **star:487** 自动化的变更日志工具,用于准备带有大量定制选项的版本。 [![近一周有更新][G]](https://github.com/miniscruff/changie) [![godoc][D]](https://godoc.org/github.com/miniscruff/changie)
2023-07-20 07:26:36 +08:00
- [go-dry](https://github.com/ungerik/go-dry) **star:487** DRY(don't repeat yourself)库。 [![godoc][D]](https://godoc.org/github.com/ungerik/go-dry)
2023-07-17 07:22:48 +08:00
- [gopencils](https://github.com/bndr/gopencils) **star:446** 小而简单的包可以轻松地使用REST api。 [![近三年未更新][Y]](https://github.com/bndr/gopencils) [![godoc][D]](https://godoc.org/github.com/bndr/gopencils)
2023-07-03 07:26:28 +08:00
- [gubrak](https://github.com/novalagung/gubrak) **star:441** 带有语法糖的Golang实用工具就像lodash。 [![godoc][D]](https://godoc.org/github.com/novalagung/gubrak)
2023-08-02 07:21:08 +08:00
- [request](https://github.com/mozillazg/request) **star:428** Go 语言版的 HTTP Requests for Humans™.。 [![近三年未更新][Y]](https://github.com/mozillazg/request) [![godoc][D]](https://godoc.org/github.com/mozillazg/request)
2023-08-04 07:26:48 +08:00
- [clipboard](https://github.com/golang-design/clipboard) **star:426** 📋跨平台剪贴板包中去。 [![godoc][D]](https://godoc.org/github.com/golang-design/clipboard)
- [scan](https://github.com/blockloop/scan) **star:422** 扫描golang的sql。行直接指向结构、片或基本类型。 [![近一周有更新][G]](https://github.com/blockloop/scan) [![godoc][D]](https://godoc.org/github.com/blockloop/scan)
2023-08-02 07:21:08 +08:00
- [Deepcopier](https://github.com/ulule/deepcopier) **star:415** 结构体拷贝 [![近三年未更新][Y]](https://github.com/ulule/deepcopier) [![godoc][D]](https://godoc.org/github.com/ulule/deepcopier)
2023-07-27 07:20:38 +08:00
- [remote-touchpad](https://github.com/Unrud/remote-touchpad) **star:402** Control mouse and keyboard from a smartphone. [![godoc][D]](https://godoc.org/github.com/Unrud/remote-touchpad)
2023-07-20 07:26:36 +08:00
- [go-rate](https://github.com/beefsack/go-rate) **star:389** Go 限速器。 [![godoc][D]](https://godoc.org/github.com/beefsack/go-rate)
2023-08-04 07:26:48 +08:00
- [mani](https://github.com/alajmo/mani) **star:377** CLI工具帮助您管理多个存储库。 [![godoc][D]](https://godoc.org/github.com/alajmo/mani)
2023-06-29 07:26:27 +08:00
- [retry](https://github.com/kamilsk/retry) **star:334** 基于上下文的功能机制,反复执行命令直到成功。 [![godoc][D]](https://godoc.org/github.com/kamilsk/retry)
2023-08-04 07:26:48 +08:00
- [serve](https://github.com/syntaqx/serve) **star:305** 任何您需要的静态http服务器。 [![godoc][D]](https://godoc.org/github.com/syntaqx/serve)
2023-08-02 07:21:08 +08:00
- [grofer](https://github.com/pesos/grofer) **star:278** 一个用Golang编写的系统和资源监控工具! [![godoc][D]](https://godoc.org/github.com/pesos/grofer)
- [util](https://github.com/shomali11/util) **star:277** 有用实用函数的集合。(字符串,并发,操作,…) [![godoc][D]](https://godoc.org/github.com/shomali11/util)
2023-08-04 07:26:48 +08:00
- [countries](https://github.com/biter777/countries) **star:268** Full implementation of ISO-3166-1, ISO-4217, ITU-T E.164, Unicode CLDR and IANA ccTLD standards. [![近一周有更新][G]](https://github.com/biter777/countries) [![godoc][D]](https://godoc.org/github.com/biter777/countries)
- [gotenv](https://github.com/subosito/gotenv) **star:266**`.env` 或者任何 `io.Reader`。 [![godoc][D]](https://godoc.org/github.com/subosito/gotenv)
2023-07-12 07:22:59 +08:00
- [gohper](https://github.com/cosiner/gohper) **star:255** 多种能够帮助你进行软件开发的工具和模块。 [![近三年未更新][Y]](https://github.com/cosiner/gohper) [![godoc][D]](https://godoc.org/github.com/cosiner/gohper) [![归档项目][Archived]](https://github.com/cosiner/gohper)
2023-07-27 07:20:38 +08:00
- [wifiqr](https://github.com/reugn/wifiqr) **star:236** Wi-Fi QR Code Generator. [![godoc][D]](https://godoc.org/github.com/reugn/wifiqr)
2023-07-17 07:22:48 +08:00
- [go-trigger](https://github.com/sadlil/go-trigger) **star:234** Go 语言全局事件触发器,通过 id 和触发器,在程序的任何地方注册事件。 [![近三年未更新][Y]](https://github.com/sadlil/go-trigger) [![godoc][D]](https://godoc.org/github.com/sadlil/go-trigger)
2023-07-27 07:20:38 +08:00
- [rospo](https://github.com/ferama/rospo) **star:232** 简单可靠的ssh隧道嵌入式ssh服务器在Golang。 [![godoc][D]](https://godoc.org/github.com/ferama/rospo)
2023-08-02 07:21:08 +08:00
- [pattern-match](https://github.com/alexpantyukhin/go-pattern-match) **star:228** Pattern matching library. [![godoc][D]](https://godoc.org/github.com/alexpantyukhin/go-pattern-match)
2023-07-17 07:22:48 +08:00
- [go-sitemap-generator](https://github.com/ikeikeikeike/go-sitemap-generator) **star:203** 用Go编写的XML站点地图生成器。 [![godoc][D]](https://godoc.org/github.com/ikeikeikeike/go-sitemap-generator)
2023-07-27 07:20:38 +08:00
- [toolbox](https://github.com/viant/toolbox) **star:192** 切片, map, multimap, 结构体, 函数,数据转换工具。服务路由,宏求值和标记器。 [![godoc][D]](https://godoc.org/github.com/viant/toolbox)
2023-06-26 07:28:04 +08:00
- [Death](https://github.com/vrecan/death) **star:190** 利用信号管理应用程序的关闭。 [![godoc][D]](https://godoc.org/github.com/vrecan/death)
2023-05-04 07:21:08 +08:00
- [go-bind-plugin](https://github.com/wendigo/go-bind-plugin) **star:183** Go:generate 工具,用于构建 Go 语言插件(1.8 only),并对导出的符号进行包装。 [![近三年未更新][Y]](https://github.com/wendigo/go-bind-plugin) [![godoc][D]](https://godoc.org/github.com/wendigo/go-bind-plugin)
2023-08-04 07:26:48 +08:00
- [limiters](https://github.com/mennanov/limiters) **star:177** Golang中的分布式应用程序速率限制器具有可配置的后端和分布式锁。 [![godoc][D]](https://godoc.org/github.com/mennanov/limiters)
2023-04-15 10:58:14 +08:00
- [moldova](https://github.com/StabbyCutyou/moldova) **star:166** 基于输入目标生成随机数据的工具 [![近三年未更新][Y]](https://github.com/StabbyCutyou/moldova) [![godoc][D]](https://godoc.org/github.com/StabbyCutyou/moldova)
- [rerun](https://github.com/ivpusic/rerun) **star:165** 当源代码发生更改时重新编译和重新运行go应用程序。 [![近三年未更新][Y]](https://github.com/ivpusic/rerun) [![godoc][D]](https://godoc.org/github.com/ivpusic/rerun)
2023-07-27 07:20:38 +08:00
- [apm](https://github.com/topfreegames/apm) **star:163** Go 语言进程管理工具具有HTTP API.。 [![近三年未更新][Y]](https://github.com/topfreegames/apm) [![godoc][D]](https://godoc.org/github.com/topfreegames/apm)
2023-04-15 10:58:14 +08:00
- [robustly](https://github.com/VividCortex/robustly) **star:156** 有弹性的执行函数,遇到错误时捕获并重新运行。 [![godoc][D]](https://godoc.org/github.com/VividCortex/robustly)
2023-08-02 07:21:08 +08:00
- [chyle](https://github.com/antham/chyle) **star:150** 使用具有多种配置可能性的git存储库生成变更日志。 [![近一周有更新][G]](https://github.com/antham/chyle) [![godoc][D]](https://godoc.org/github.com/antham/chyle)
- [go-bsdiff](https://github.com/gabstv/go-bsdiff) **star:145** 纯Go bsdiff和bspatch库和CLI工具。 [![近三年未更新][Y]](https://github.com/gabstv/go-bsdiff) [![godoc][D]](https://godoc.org/github.com/gabstv/go-bsdiff)
2023-08-04 07:26:48 +08:00
- [cryptgo](https://github.com/Gituser143/cryptgo) **star:136** Crytpgo是一个基于TUI的应用程序纯粹在Go中编写实时监控和观察加密货币价格! [![godoc][D]](https://godoc.org/github.com/Gituser143/cryptgo)
2023-06-26 07:28:04 +08:00
- [nostromo](https://github.com/pokanop/nostromo) **star:135** CLI用于构建强大的别名。 [![godoc][D]](https://godoc.org/github.com/pokanop/nostromo)
2023-07-27 07:20:38 +08:00
- [cmd](https://github.com/SimonBaeumer/cmd) **star:133** 用于在osx、windows和linux上执行shell命令的库。 [![godoc][D]](https://godoc.org/github.com/SimonBaeumer/cmd)
2023-05-22 07:23:47 +08:00
- [onecache](https://github.com/adelowo/onecache) **star:132** 支持多个后端存储(Redis、Memcached、文件系统等)的缓存库。 [![近三年未更新][Y]](https://github.com/adelowo/onecache) [![godoc][D]](https://godoc.org/github.com/adelowo/onecache)
2023-08-02 07:21:08 +08:00
- [filter](https://github.com/gookit/filter) **star:131** 提供Go数据的过滤、清理和转换。 [![godoc][D]](https://godoc.org/github.com/gookit/filter)
2023-05-31 07:26:28 +08:00
- [lrserver](https://github.com/jaschaephraim/lrserver) **star:124** LiveReload 服务器。 [![godoc][D]](https://godoc.org/github.com/jaschaephraim/lrserver)
2023-08-02 07:21:08 +08:00
- [goval](https://github.com/maja42/goval) **star:123** 在Go中计算任意表达式。 [![godoc][D]](https://godoc.org/github.com/maja42/goval)
- [mongo-go-pagination](https://github.com/gobeam/mongo-go-pagination) **star:123** Mongodb Pagination for official mongodb/mongo-go-driver package which supports both normal queries and Aggregation pipelines. [![godoc][D]](https://godoc.org/github.com/gobeam/mongo-go-pagination)
2023-07-12 07:22:59 +08:00
- [sorty](https://github.com/jfcg/sorty) **star:122** 快速并发/并行排序。 [![godoc][D]](https://godoc.org/github.com/jfcg/sorty)
2023-06-19 07:27:31 +08:00
- [goseaweedfs](https://github.com/linxGnu/goseaweedfs) **star:101** conseilSeaweedFS 客户端,几乎具有全部的特性。 [![godoc][D]](https://godoc.org/github.com/linxGnu/goseaweedfs)
- [mssqlx](https://github.com/linxGnu/mssqlx) **star:101** 数据库客户端,用于主-从 (或主-主) 数据库,集成了简单的、轻量级的轮询调度负载均衡。 [![godoc][D]](https://godoc.org/github.com/linxGnu/mssqlx)
2023-08-04 07:26:48 +08:00
- [xferspdy](https://github.com/monmohan/xferspdy) **star:99** Xferspdy在golang中提供二进制diff和补丁库。 [![godoc][D]](https://godoc.org/github.com/monmohan/xferspdy)
2023-04-27 07:22:09 +08:00
- [go-health](https://github.com/Talento90/go-health) **star:92** 健康包简化了向服务中添加健康检查的方式。 [![godoc][D]](https://godoc.org/github.com/Talento90/go-health)
2023-08-04 07:26:48 +08:00
- [go-lock](https://github.com/viney-shih/go-lock) **star:91** go-lock是一个锁库它实现了读写互斥锁和读写尝试锁而不需要等待。 [![godoc][D]](https://godoc.org/github.com/viney-shih/go-lock)
2023-07-27 07:20:38 +08:00
- [mimemagic](https://github.com/zRedShift/mimemagic) **star:91** 纯粹 Go 超性能MIME嗅探库/实用程序。 [![godoc][D]](https://godoc.org/github.com/zRedShift/mimemagic)
2023-07-17 07:22:48 +08:00
- [pgo](https://github.com/arthurkushman/pgo) **star:82** 用于PHP社区的 Convenient 函数。 [![godoc][D]](https://godoc.org/github.com/arthurkushman/pgo)
2023-07-10 07:28:10 +08:00
- [repeat](https://github.com/ssgreg/repeat) **star:81** 执行不同的后 backoff 策略,这对重新尝试操作和心跳非常有用。 [![近三年未更新][Y]](https://github.com/ssgreg/repeat) [![godoc][D]](https://godoc.org/github.com/ssgreg/repeat)
2023-05-16 07:23:55 +08:00
- [pm](https://github.com/VividCortex/pm) **star:78** 进程(即goroutine)管理器与HTTP API。 [![godoc][D]](https://godoc.org/github.com/VividCortex/pm)
2023-05-09 07:21:25 +08:00
- [countries](https://github.com/pioz/countries) **star:76** All you need when you are working with countries in Go. [![godoc][D]](https://godoc.org/github.com/pioz/countries)
2023-07-17 07:22:48 +08:00
- [handy](https://github.com/miguelpragier/handy) **star:74** 许多实用程序和帮助程序,如字符串处理程序/格式化程序和验证器。 [![godoc][D]](https://godoc.org/github.com/miguelpragier/handy)
2023-01-29 07:24:47 +08:00
- [netbug](https://github.com/e-dard/netbug) **star:72** 远程对你的服务进行性能分析 [![近三年未更新][Y]](https://github.com/e-dard/netbug) [![godoc][D]](https://godoc.org/github.com/e-dard/netbug)
2022-10-05 07:28:40 +08:00
- [UNIS](https://github.com/esemplastic/unis) **star:70** Go 语言字符串处理函数的通用架构 。 [![近三年未更新][Y]](https://github.com/esemplastic/unis) [![godoc][D]](https://godoc.org/github.com/esemplastic/unis)
2023-05-22 07:23:47 +08:00
- [multitick](https://github.com/VividCortex/multitick) **star:67** 用于 aligned tickers 的多路复用 [![godoc][D]](https://godoc.org/github.com/VividCortex/multitick)
2023-06-02 07:24:06 +08:00
- [goreadability](https://github.com/philipjkim/goreadability) **star:66** 网页摘要提取器使用Facebook开放图形和arc90的可读性。 [![近三年未更新][Y]](https://github.com/philipjkim/goreadability) [![godoc][D]](https://godoc.org/github.com/philipjkim/goreadability)
2023-04-15 10:58:14 +08:00
- [retry](https://github.com/thedevsaddam/retry) **star:63** 简单易用的重试机制包,为 Go 。 [![godoc][D]](https://godoc.org/github.com/thedevsaddam/retry)
2023-08-04 07:26:48 +08:00
- [go-astitodo](https://github.com/asticode/go-astitodo) **star:60** 解析你 Go 语言代码中的 TODOs待办事项。 [![godoc][D]](https://godoc.org/github.com/asticode/go-astitodo)
2022-10-05 07:28:40 +08:00
- [minquery](https://github.com/icza/minquery) **star:60** MongoDB / mgo.v2, 支持高效分页查询(用于继续列出我们停止的文档的游标)。 [![godoc][D]](https://godoc.org/github.com/icza/minquery)
2022-11-22 07:23:48 +08:00
- [golog](https://github.com/mlimaloureiro/golog) **star:59** 简单、轻量级的命令后工具,用于对你的计划任务进行跟踪。 [![近三年未更新][Y]](https://github.com/mlimaloureiro/golog) [![godoc][D]](https://godoc.org/github.com/mlimaloureiro/golog)
2023-05-22 07:23:47 +08:00
- [dbt](https://github.com/nikogura/dbt) **star:57** 用于从中心可信存储库运行自更新签名二进制文件的框架。 [![godoc][D]](https://godoc.org/github.com/nikogura/dbt)
2023-05-31 07:26:28 +08:00
- [beyond](https://github.com/wesovilabs/beyond) **star:53** Go工具将带你进入AOP的世界! [![godoc][D]](https://godoc.org/github.com/wesovilabs/beyond)
2023-08-02 07:21:08 +08:00
- [scan](https://github.com/wroge/scan) **star:52** Scan sql rows into any type powered by generics. [![godoc][D]](https://godoc.org/github.com/wroge/scan)
2023-07-20 07:26:36 +08:00
- [shutdown](https://github.com/ztrue/shutdown) **star:52** ' os的应用程序关闭挂钩。信号的处理。 [![godoc][D]](https://godoc.org/github.com/ztrue/shutdown)
2023-05-31 07:26:28 +08:00
- [slice](https://github.com/psampaz/slice) **star:51** 用于普通Go切片操作的类型安全函数。 [![近三年未更新][Y]](https://github.com/psampaz/slice) [![godoc][D]](https://godoc.org/github.com/psampaz/slice)
2023-06-07 07:22:22 +08:00
- [copy-pasta](https://github.com/jutkko/copy-pasta) **star:50** 通用多工作站剪切板,使用类似 S3 的后端作为存储。 [![近三年未更新][Y]](https://github.com/jutkko/copy-pasta) [![godoc][D]](https://godoc.org/github.com/jutkko/copy-pasta)
2023-02-13 07:25:43 +08:00
- [golarm](https://github.com/msempere/golarm) **star:50** 告警(支持系统事件)。 [![近三年未更新][Y]](https://github.com/msempere/golarm) [![godoc][D]](https://godoc.org/github.com/msempere/golarm)
2022-11-29 07:22:02 +08:00
- [goback](https://github.com/carlescere/goback) **star:48** 一个 Go 语言的简单的指数补偿包。 [![godoc][D]](https://godoc.org/github.com/carlescere/goback)
2023-05-16 07:23:55 +08:00
- [retry-go](https://github.com/rafaeljesus/retry-go) **star:47** 对 Go 来说,重试变得简单而容易。 [![近三年未更新][Y]](https://github.com/rafaeljesus/retry-go) [![godoc][D]](https://godoc.org/github.com/rafaeljesus/retry-go)
2023-06-29 07:26:27 +08:00
- [backscanner](https://github.com/icza/backscanner) **star:46** 类似 bufio 的扫描器,但它以相反的顺序读取和返回行,从给定的位置开始,然后返回。 [![godoc][D]](https://godoc.org/github.com/icza/backscanner)
2023-06-09 07:21:48 +08:00
- [intrinsic](https://github.com/mengzhuo/intrinsic) **star:46** 不需要编写任何汇编代码就能使用 x86 SIMD。 [![近三年未更新][Y]](https://github.com/mengzhuo/intrinsic) [![godoc][D]](https://godoc.org/github.com/mengzhuo/intrinsic) [![归档项目][Archived]](https://github.com/mengzhuo/intrinsic)
2023-07-03 07:26:28 +08:00
- [set](https://github.com/nofeaturesonlybugs/set) **star:44** 性能和灵活的结构映射和松散的类型转换。 [![godoc][D]](https://godoc.org/github.com/nofeaturesonlybugs/set)
2023-07-07 07:24:47 +08:00
- [sshman](https://github.com/shoobyban/sshman) **star:44** 用于多个远程服务器上的authorized_keys文件的SSH管理器。 [![godoc][D]](https://godoc.org/github.com/shoobyban/sshman)
2023-07-20 07:26:36 +08:00
- [equalizer](https://github.com/reugn/equalizer) **star:43** 用Go实现的限流工具 [![godoc][D]](https://godoc.org/github.com/reugn/equalizer)
2023-07-27 07:20:38 +08:00
- [go-httpheader](https://github.com/mozillazg/go-httpheader) **star:43** 用于将结构体编码进 http 头的 Go 语言库 [![godoc][D]](https://godoc.org/github.com/mozillazg/go-httpheader)
2023-06-19 07:27:31 +08:00
- [slicer](https://github.com/leaanthony/slicer) **star:43** 使处理切片更容易。 [![godoc][D]](https://godoc.org/github.com/leaanthony/slicer)
2023-07-17 07:22:48 +08:00
- [gostrutils](https://github.com/ik5/gostrutils) **star:41** 字符串操作和转换函数的集合。 [![godoc][D]](https://godoc.org/github.com/ik5/gostrutils)
2023-02-20 07:27:34 +08:00
- [gpath](https://github.com/tenntenn/gpath) **star:40** 用于简化结构体域访问的库。 [![近三年未更新][Y]](https://github.com/tenntenn/gpath) [![godoc][D]](https://godoc.org/github.com/tenntenn/gpath)
2023-07-27 07:20:38 +08:00
- [cvt](https://github.com/shockerli/cvt) **star:38** 简单而安全的将任何值转换为另一种类型。 [![godoc][D]](https://godoc.org/github.com/shockerli/cvt) [![包含中文文档][CN]](https://github.com/shockerli/cvt)
2023-04-23 07:26:25 +08:00
- [evaluator](https://github.com/nullne/evaluator) **star:37** Evaluate an expression dynamically based on s-expression. It's simple and easy to extend. [![godoc][D]](https://godoc.org/github.com/nullne/evaluator)
2023-07-20 07:26:36 +08:00
- [pointer](https://github.com/xorcare/pointer) **star:37** 包指针包含帮助程序,用于简化基本类型可选字段的创建。 [![godoc][D]](https://godoc.org/github.com/xorcare/pointer)
2023-06-09 07:21:48 +08:00
- [ghokin](https://github.com/antham/ghokin) **star:35** 没有外部依赖的gherkin (cucumber, behat…)并行格式化程序。 [![godoc][D]](https://godoc.org/github.com/antham/ghokin)
2022-10-05 07:28:40 +08:00
- [myhttp](https://github.com/inancgumus/myhttp) **star:35** 简单的API使HTTP GET请求与超时支持。 [![近三年未更新][Y]](https://github.com/inancgumus/myhttp) [![godoc][D]](https://godoc.org/github.com/inancgumus/myhttp) [![归档项目][Archived]](https://github.com/inancgumus/myhttp)
2022-12-30 07:23:10 +08:00
- [rclient](https://github.com/zpatrick/rclient) **star:35** 可读、灵活、易于使用的REST api客户端。 [![近三年未更新][Y]](https://github.com/zpatrick/rclient) [![godoc][D]](https://godoc.org/github.com/zpatrick/rclient)
- [tome](https://github.com/cyruzin/tome) **star:34** Tome设计用于对简单的RESTful api进行分页。 [![godoc][D]](https://godoc.org/github.com/cyruzin/tome)
2023-07-27 07:20:38 +08:00
- [copy](https://github.com/gotidy/copy) **star:33** 包快速复制不同类型的struct。 [![godoc][D]](https://godoc.org/github.com/gotidy/copy)
2023-06-07 07:22:22 +08:00
- [throttle](https://github.com/yudppp/throttle) **star:33** Throttle是一个在每个持续时间内只执行一个动作的对象。 [![godoc][D]](https://godoc.org/github.com/yudppp/throttle)
- [generate](https://github.com/go-playground/generate) **star:29** 针对一个路径或环境变量,递归的执行 Go generate可以通过正则表达式来进行过滤。 [![近三年未更新][Y]](https://github.com/go-playground/generate) [![godoc][D]](https://godoc.org/github.com/go-playground/generate)
2023-01-29 07:24:47 +08:00
- [mimesniffer](https://github.com/aofei/mimesniffer) **star:28** 一个用于Go的MIME类型嗅探器。 [![godoc][D]](https://godoc.org/github.com/aofei/mimesniffer)
2023-04-15 10:58:14 +08:00
- [ugo](https://github.com/alxrm/ugo) **star:27** uGo 是一个切片工具箱,有着和 Go 语言一致的语法法。 [![近三年未更新][Y]](https://github.com/alxrm/ugo) [![godoc][D]](https://godoc.org/github.com/alxrm/ugo) [![归档项目][Archived]](https://github.com/alxrm/ugo)
2023-05-04 07:21:08 +08:00
- [goplaceholder](https://github.com/michiwend/goplaceholder) **star:26** 一个小巧的 Go 语言库用于生成占位图片。 [![近三年未更新][Y]](https://github.com/michiwend/goplaceholder) [![godoc][D]](https://godoc.org/github.com/michiwend/goplaceholder)
2023-08-02 07:21:08 +08:00
- [watchhttp](https://github.com/nikolaydubina/watchhttp) **star:25** Run command periodically and expose latest STDOUT or its rich delta as HTTP endpoint. [![godoc][D]](https://godoc.org/github.com/nikolaydubina/watchhttp)
- [gofn](https://github.com/tiendc/gofn) **star:24** High performance utitlity functions written using Generics for Go 1.18+. [![godoc][D]](https://godoc.org/github.com/tiendc/gofn)
2023-07-17 07:22:48 +08:00
- [graterm](https://github.com/skovtunenko/graterm) **star:24** Provides primitives to perform ordered (sequential/concurrent) GRAceful TERMination (aka shutdown) in Go application. [![godoc][D]](https://godoc.org/github.com/skovtunenko/graterm)
2023-07-27 07:20:38 +08:00
- [ctxutil](https://github.com/posener/ctxutil) **star:23** 上下文工具。 [![近三年未更新][Y]](https://github.com/posener/ctxutil) [![godoc][D]](https://godoc.org/github.com/posener/ctxutil)
2023-05-16 07:23:55 +08:00
- [structs](https://github.com/PumpkinSeed/structs) **star:22** 简单来讲就是 "Make" 的替代品。 [![近三年未更新][Y]](https://github.com/PumpkinSeed/structs) [![godoc][D]](https://godoc.org/github.com/PumpkinSeed/structs)
2023-06-19 07:27:31 +08:00
- [ptr](https://github.com/gotidy/ptr) **star:21** 提供函数的包,用于从基本类型的常量简化指针的创建。 [![godoc][D]](https://godoc.org/github.com/gotidy/ptr)
2023-06-26 07:28:04 +08:00
- [go-convert](https://github.com/Eun/go-convert) **star:20** 包go-convert使您能够将一个值转换为另一种类型。 [![godoc][D]](https://godoc.org/github.com/Eun/go-convert)
2023-04-15 10:58:14 +08:00
- [jsend](https://github.com/clevergo/jsend) **star:19** JSend's implementation written in Go. [![godoc][D]](https://godoc.org/github.com/clevergo/jsend)
2023-06-19 07:27:31 +08:00
- [just](https://github.com/kazhuravlev/just) **star:19** Just a collection of useful functions for working with generic data structures. [![godoc][D]](https://godoc.org/github.com/kazhuravlev/just)
2023-04-15 10:58:14 +08:00
- [contextplus](https://github.com/contextplus/contextplus) **star:17** Package contextplus provide more easy to use functions for contexts. [![godoc][D]](https://godoc.org/github.com/contextplus/contextplus)
2022-10-05 07:28:40 +08:00
- [dlog](https://github.com/kirillDanshin/dlog) **star:17** 编译时控制的日志,让你的 release 包变得更小而不需移除 debug 调用。 [![近三年未更新][Y]](https://github.com/kirillDanshin/dlog) [![godoc][D]](https://godoc.org/github.com/kirillDanshin/dlog)
- [filler](https://github.com/yaronsumel/filler) **star:17** 使用“fill”标签填充结构的小工具。 [![近三年未更新][Y]](https://github.com/yaronsumel/filler) [![godoc][D]](https://godoc.org/github.com/yaronsumel/filler)
2023-07-20 07:26:36 +08:00
- [go-problemdetails](https://github.com/mvmaasakkers/go-problemdetails) **star:17** 打包处理问题细节。 [![近三年未更新][Y]](https://github.com/mvmaasakkers/go-problemdetails) [![godoc][D]](https://godoc.org/github.com/mvmaasakkers/go-problemdetails)
2022-10-05 07:28:40 +08:00
- [okrun](https://github.com/xta/okrun) **star:16** Go 运行错误 steamroller。 [![近三年未更新][Y]](https://github.com/xta/okrun) [![godoc][D]](https://godoc.org/github.com/xta/okrun)
2023-08-02 07:21:08 +08:00
- [rest-go](https://github.com/edermanoel94/rest-go) **star:16** 一个包它为使用rest api提供了许多有用的方法。 [![近三年未更新][Y]](https://github.com/edermanoel94/rest-go) [![godoc][D]](https://godoc.org/github.com/edermanoel94/rest-go)
- [go-type](https://github.com/mikekonan/go-types) **star:15** 为ISO-4217、ISO-3166和其他类型的存储/验证和传输提供Go类型的库。 [![godoc][D]](https://godoc.org/github.com/mikekonan/go-types)
2022-10-05 07:28:40 +08:00
- [command](https://github.com/txgruppi/command) **star:14** 命令模式,支持线程安全的串行、并行调度。 [![近三年未更新][Y]](https://github.com/txgruppi/command) [![godoc][D]](https://godoc.org/github.com/txgruppi/command)
2023-05-04 07:21:08 +08:00
- [go-actuator](https://github.com/sinhashubham95/go-actuator) **star:14** 基于Go的web框架的生产就绪特性。 [![godoc][D]](https://godoc.org/github.com/sinhashubham95/go-actuator)
2023-05-31 07:26:28 +08:00
- [go-clip](https://github.com/prashantgupta24/go-clip) **star:12** Mac的一个极简的剪贴板管理器。 [![godoc][D]](https://godoc.org/github.com/prashantgupta24/go-clip)
2022-10-05 07:28:40 +08:00
- [silk](https://github.com/chrispassas/silk) **star:12** 阅读silk netflow文件。 [![godoc][D]](https://godoc.org/github.com/chrispassas/silk)
2023-01-28 07:26:39 +08:00
- [retry](https://github.com/shafreeck/retry) **star:11** 一个相当简单的库,以确保您的工作可以完成。 [![近三年未更新][Y]](https://github.com/shafreeck/retry) [![godoc][D]](https://godoc.org/github.com/shafreeck/retry)
- [blank](https://github.com/Henry-Sarabia/blank) **star:10** 验证或删除字符串中的空白。 [![近三年未更新][Y]](https://github.com/Henry-Sarabia/blank) [![godoc][D]](https://godoc.org/github.com/Henry-Sarabia/blank)
2022-10-05 07:28:40 +08:00
- [go-countries](https://github.com/mikekonan/go-countries) **star:10** 对ISO-3166代码的轻量级查找。 [![godoc][D]](https://godoc.org/github.com/mikekonan/go-countries)
- [statiks](https://github.com/janiltonmaciel/statiks) **star:10** 快速零配置静态HTTP文件服务器。 [![godoc][D]](https://godoc.org/github.com/janiltonmaciel/statiks)
- [bleep](https://github.com/sinhashubham95/bleep) **star:9** 在Go中对任意一组OS信号执行任意数量的操作。 [![godoc][D]](https://godoc.org/github.com/sinhashubham95/bleep)
2023-04-15 10:58:14 +08:00
- [retry](https://github.com/percolate/retry) **star:9** 一个简单但高度可配置的Go重试包。
2023-05-16 07:23:55 +08:00
- [nfdump](https://github.com/chrispassas/nfdump) **star:8** 读取nfdump netflow文件。 [![godoc][D]](https://godoc.org/github.com/chrispassas/nfdump)
2023-01-28 07:26:39 +08:00
- [sliceconv](https://github.com/Henry-Sarabia/sliceconv) **star:8** 基本类型之间的片转换。 [![近三年未更新][Y]](https://github.com/Henry-Sarabia/sliceconv) [![godoc][D]](https://godoc.org/github.com/Henry-Sarabia/sliceconv)
2023-06-29 07:26:27 +08:00
- [loncha](https://github.com/kazu/loncha) **star:7** A high-performance slice Utilities. [![godoc][D]](https://godoc.org/github.com/kazu/loncha)
2023-04-15 10:58:14 +08:00
- [go-pkg](https://github.com/chenquan/go-pkg) **star:6** 一个工具包。 [![godoc][D]](https://godoc.org/github.com/chenquan/go-pkg) [![包含中文文档][CN]](https://github.com/chenquan/go-pkg)
2023-06-26 07:28:04 +08:00
- [lets-go](https://github.com/aplescia-chwy/lets-go) **star:6** Go模块为云本地REST API开发提供公共工具。还包含AWS特定的实用程序。 [![godoc][D]](https://godoc.org/github.com/aplescia-chwy/lets-go)
2023-07-10 07:28:10 +08:00
- [reflectutils](https://github.com/muir/reflectutils) **star:6** 处理反射的助手:结构标记解析;递归行走;从字符串填充值。 [![godoc][D]](https://godoc.org/github.com/muir/reflectutils)
2022-11-07 07:27:33 +08:00
- [olaf](https://github.com/btnguyen2k/olaf) **star:5** Twitter Snowflake 在Go中实现。 [![近三年未更新][Y]](https://github.com/btnguyen2k/olaf) [![godoc][D]](https://godoc.org/github.com/btnguyen2k/olaf)
2022-12-02 07:25:32 +08:00
- [tik](https://github.com/andy2046/tik) **star:5** 简单和容易的时间轮包去。 [![godoc][D]](https://godoc.org/github.com/andy2046/tik)
2023-04-20 07:25:14 +08:00
- [goctx](https://github.com/zerosnake0/goctx) **star:4** 获得高性能的上下文值。 [![godoc][D]](https://godoc.org/github.com/zerosnake0/goctx)
2022-10-05 07:28:40 +08:00
- [objwalker](https://github.com/rekby/objwalker) **star:2** 走过带有反射的物体。 [![godoc][D]](https://godoc.org/github.com/rekby/objwalker)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-25 18:06:22 +08:00
## UUID
2022-03-22 12:36:07 +08:00
_用于处理uuid的库。 (翻译出错了? 试试 [英文版](README_EN.md#uuid) 吧~)_
2019-06-27 17:22:00 +08:00
2023-08-04 07:26:48 +08:00
- [uuid](https://github.com/google/uuid) **star:4469** 基于RFC 4122和DCE 1.1的uuid包:身份验证和安全服务。 [![近一周有更新][G]](https://github.com/google/uuid) [![godoc][D]](https://godoc.org/github.com/google/uuid)
- [ulid](https://github.com/oklog/ulid) **star:3578** 实现了ULID(普遍唯一的词典分类标识符)。 [![godoc][D]](https://godoc.org/github.com/oklog/ulid)
2022-03-22 12:36:07 +08:00
- [uniq](https://gitlab.com/skilstak/code/go/uniq) 没有麻烦,安全,快速的唯一标识符与命令。
2023-08-04 07:26:48 +08:00
- [xid](https://github.com/rs/xid) **star:3448** Xid是一个全局唯一id生成器库可以直接在服务器代码中安全地使用。 [![godoc][D]](https://godoc.org/github.com/rs/xid)
- [uuid](https://github.com/gofrs/uuid) **star:1387** 通用唯一标识符(UUID)的实现。支持uuid的创建和解析。积极维护satori uuid的fork。 [![godoc][D]](https://godoc.org/github.com/gofrs/uuid)
2023-07-27 07:20:38 +08:00
- [wuid](https://github.com/edwingeng/wuid) **star:500** An extremely fast globally unique number generator. [![godoc][D]](https://godoc.org/github.com/edwingeng/wuid)
- [sno](https://github.com/muyo/sno) **star:86** 使用嵌入元数据的紧凑、可排序和快速的惟一id。 [![godoc][D]](https://godoc.org/github.com/muyo/sno)
2023-07-12 07:22:59 +08:00
- [nanoid](https://github.com/aidarkhanov/nanoid) **star:58** 一个小而有效的Go唯一字符串ID生成器。 [![godoc][D]](https://godoc.org/github.com/aidarkhanov/nanoid) [![归档项目][Archived]](https://github.com/aidarkhanov/nanoid)
2023-01-09 07:25:06 +08:00
- [goid](https://github.com/jakehl/goid) **star:38** 生成和解析RFC4122兼容的V4 uuid。 [![近三年未更新][Y]](https://github.com/jakehl/goid) [![godoc][D]](https://godoc.org/github.com/jakehl/goid)
2023-07-17 07:22:48 +08:00
- [gouid](https://github.com/twharmon/gouid) **star:21** 生成加密安全的随机字符串id只有一个分配。 [![godoc][D]](https://godoc.org/github.com/twharmon/gouid)
2023-04-15 10:58:14 +08:00
- [uuid](https://github.com/agext/uuid) **star:15** 使用快速或加密质量的随机节点标识符生成、编码和解码UUIDs v1。 [![近三年未更新][Y]](https://github.com/agext/uuid) [![godoc][D]](https://godoc.org/github.com/agext/uuid)
2019-06-27 17:22:00 +08:00
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 验证
2022-03-22 12:36:07 +08:00
_库进行验证。 (翻译出错了? 试试 [英文版](README_EN.md#validation) 吧~)_
2019-08-01 21:20:26 +08:00
2023-08-04 07:26:48 +08:00
- [validator](https://github.com/go-playground/validator) **star:13634** Go 结构体及域验证,包括:跨域、跨结构体, Map, 切片和数组。 [![近一周有更新][G]](https://github.com/go-playground/validator) [![godoc][D]](https://godoc.org/github.com/go-playground/validator)
- [govalidator](https://github.com/asaskevich/govalidator) **star:5748** 用于字符串数字切片和结构的验证器和sanitizers。 [![godoc][D]](https://godoc.org/github.com/asaskevich/govalidator)
- [ozzo-validation](https://github.com/go-ozzo/ozzo-validation) **star:3274** 支持各种数据类型(结构、字符串、映射、片等)的验证,使用可配置和可扩展的验证规则,这些规则在通常的代码构造中指定,而不是在结构标签中指定。 [![godoc][D]](https://godoc.org/github.com/go-ozzo/ozzo-validation)
- [govalidator](https://github.com/thedevsaddam/govalidator) **star:1232** 用简单的规则验证Golang请求数据。深受Laravel请求验证的启发。 [![godoc][D]](https://godoc.org/github.com/thedevsaddam/govalidator)
- [validate](https://github.com/gookit/validate) **star:919** Go 封装数据验证和过滤。支持验证映射、结构、请求(表单、JSON、url)。值,上载文件)数据和更多特性。 [![近一周有更新][G]](https://github.com/gookit/validate) [![godoc][D]](https://godoc.org/github.com/gookit/validate) [![包含中文文档][CN]](https://github.com/gookit/validate)
2023-07-17 07:22:48 +08:00
- [checkdigit](https://github.com/osamingo/checkdigit) **star:101** 提供校验数字算法(Luhn, Verhoeff, Damm)和计算器(ISBN, EAN, JAN, UPC等)。 [![godoc][D]](https://godoc.org/github.com/osamingo/checkdigit)
2023-08-02 07:21:08 +08:00
- [jio](https://github.com/faceair/jio) **star:86** jio是一个json模式验证器类似于[joi](https://github.com/hapijs/joi)。 [![近三年未更新][Y]](https://github.com/faceair/jio) [![godoc][D]](https://godoc.org/github.com/faceair/jio) [![包含中文文档][CN]](https://github.com/faceair/jio)
2023-07-27 07:20:38 +08:00
- [validate](https://github.com/gobuffalo/validate) **star:86** 这个包提供了一个框架用于为Go应用程序编写验证。 [![godoc][D]](https://godoc.org/github.com/gobuffalo/validate)
2023-08-02 07:21:08 +08:00
- [gody](https://github.com/guiferpa/gody) **star:64** :一个轻量级的结构验证器。 [![godoc][D]](https://godoc.org/github.com/guiferpa/gody)
2023-07-12 07:22:59 +08:00
- [govalid](https://github.com/twharmon/govalid) **star:34** 快速、基于标签的结构验证。 [![godoc][D]](https://godoc.org/github.com/twharmon/govalid)
2023-06-19 07:27:31 +08:00
- [Validator](https://github.com/go-the-way/validator) **star:5** 一个用Go编写的轻量级模型验证器。包含VFs:Min、Max、MinLength、MaxLength、Length、Enum、Regex。 [![godoc][D]](https://godoc.org/github.com/go-the-way/validator)
2022-11-07 07:27:33 +08:00
- [valix](https://github.com/marrow16/valix) Go package for validating requests
2019-06-27 17:22:00 +08:00
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 版本控制
2022-03-22 12:36:07 +08:00
_用于版本控制的库。 (翻译出错了? 试试 [英文版](README_EN.md#version-control) 吧~)_
2019-06-27 17:22:00 +08:00
2023-08-04 07:26:48 +08:00
- [go-git](https://github.com/go-git/go-git) **star:4820** 纯Go中高度可扩展的Git实现。 [![近一周有更新][G]](https://github.com/go-git/go-git) [![godoc][D]](https://godoc.org/github.com/go-git/go-git)
- [hercules](https://github.com/src-d/hercules) **star:1910** 从Git存储库历史中获得高级见解。 [![godoc][D]](https://godoc.org/github.com/src-d/hercules)
2023-08-02 07:21:08 +08:00
- [git2go](https://github.com/libgit2/git2go) **star:1859** libgit2 的 Go 语言接口。 [![godoc][D]](https://godoc.org/github.com/libgit2/git2go)
2022-10-05 07:28:40 +08:00
- [gh](https://github.com/rjeczalik/gh) **star:79** 用于GitHub webhook的可编写脚本的服务器和net/http中间件。 [![近三年未更新][Y]](https://github.com/rjeczalik/gh) [![godoc][D]](https://godoc.org/github.com/rjeczalik/gh)
2023-08-02 07:21:08 +08:00
- [githooks](https://github.com/gabyx/githooks) **star:76** 每回购和共享Git挂钩版本控制和自动更新。 [![godoc][D]](https://godoc.org/github.com/gabyx/githooks)
2023-07-27 07:20:38 +08:00
- [go-vcs](https://github.com/sourcegraph/go-vcs) **star:75** 在Go中操作和检查VCS存储库。 [![godoc][D]](https://godoc.org/github.com/sourcegraph/go-vcs)
- [froggit-go](https://github.com/jfrog/froggit-go) **star:39** Froggit-Go是一个Go库允许在VCS提供商上执行操作。 [![近一周有更新][G]](https://github.com/jfrog/froggit-go) [![godoc][D]](https://godoc.org/github.com/jfrog/froggit-go)
2023-05-04 07:21:08 +08:00
- [hgo](https://github.com/beyang/hgo) **star:15** Hgo是一组Go包的集合提供对本地Mercurial存储库的读取访问。 [![近三年未更新][Y]](https://github.com/beyang/hgo) [![godoc][D]](https://godoc.org/github.com/beyang/hgo)
2022-10-08 07:41:36 +08:00
- [cli](https://gitlab.com/gitlab-org/cli) 一个开源的GitLab命令行工具将GitLab的酷特性带到您的命令行。
2019-06-27 17:22:00 +08:00
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 视频
2022-03-22 12:36:07 +08:00
_用于操作视频的库。 (翻译出错了? 试试 [英文版](README_EN.md#video) 吧~)_
2019-08-01 21:20:26 +08:00
2023-07-27 07:20:38 +08:00
- [goav](https://github.com/giorgisio/goav) **star:2009** FFmpeg的全面Go绑定。 [![godoc][D]](https://godoc.org/github.com/giorgisio/goav)
2023-08-02 07:21:08 +08:00
- [m3u8](https://github.com/grafov/m3u8) **star:1059** 苹果HLS的M3U8播放列表解析器和生成器库。 [![近一周有更新][G]](https://github.com/grafov/m3u8) [![godoc][D]](https://godoc.org/github.com/grafov/m3u8)
2023-08-04 07:26:48 +08:00
- [gmf](https://github.com/3d0c/gmf) **star:854** FFmpeg av\* 库的 Go 语言接口。 [![godoc][D]](https://godoc.org/github.com/3d0c/gmf)
- [go-astits](https://github.com/asticode/go-astits) **star:492** 在GO中解析和演示MPEG传输流(.ts)。 [![近一周有更新][G]](https://github.com/asticode/go-astits) [![godoc][D]](https://godoc.org/github.com/asticode/go-astits)
- [go-astisub](https://github.com/asticode/go-astisub) **star:481** 使用 Go 语言操作字幕(.srt, .stl, .ttml, .webvtt, .ssa/.ass, teletext, .smi, etc.)。 [![godoc][D]](https://godoc.org/github.com/asticode/go-astisub)
2023-08-02 07:21:08 +08:00
- [gortsplib](https://github.com/aler9/gortsplib) **star:459** 纯Go RTSP服务器和客户端库。 [![近一周有更新][G]](https://github.com/aler9/gortsplib) [![godoc][D]](https://godoc.org/github.com/aler9/gortsplib)
- [libvlc-go](https://github.com/adrg/libvlc-go) **star:359** Go绑定libvlc 2.X/3.X/4。X(由VLC媒体播放器使用)。 [![近一周有更新][G]](https://github.com/adrg/libvlc-go) [![godoc][D]](https://godoc.org/github.com/adrg/libvlc-go)
2022-10-05 07:28:40 +08:00
- [gst](https://github.com/ziutek/gst) **star:166** GStreamer的Go工具。 [![godoc][D]](https://godoc.org/github.com/ziutek/gst)
2023-06-09 07:21:48 +08:00
- [v4l](https://github.com/korandiz/v4l) **star:75** 用于Linux的视频捕捉库用Go编写。 [![godoc][D]](https://godoc.org/github.com/korandiz/v4l)
2023-05-04 07:21:08 +08:00
- [libgosubs](https://github.com/wargarblgarbl/libgosubs) **star:23** 字幕格式支持 .srt、.ttml和.ass。 [![近三年未更新][Y]](https://github.com/wargarblgarbl/libgosubs) [![godoc][D]](https://godoc.org/github.com/wargarblgarbl/libgosubs)
2023-07-20 07:26:36 +08:00
- [go-m3u8](https://github.com/etherlabsio/go-m3u8) **star:18** Parser and generator library for Apple m3u8 playlists. Actively maintained version of quangngotan95/go-m3u8 with improvements and latest HLS playlist parsing compatibility. [![godoc][D]](https://godoc.org/github.com/etherlabsio/go-m3u8)
2023-08-04 07:26:48 +08:00
- [go-mpd](https://github.com/unki2aut/go-mpd) **star:16** MPEG-DASH清单文件的解析器和生成器库。 [![近三年未更新][Y]](https://github.com/unki2aut/go-mpd) [![godoc][D]](https://godoc.org/github.com/unki2aut/go-mpd)
2019-06-27 17:22:00 +08:00
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## Web框架
2022-03-22 12:36:07 +08:00
_全栈 web 框架。 (翻译出错了? 试试 [英文版](README_EN.md#web-frameworks) 吧~)_
2023-08-04 07:26:48 +08:00
- [Gin](https://github.com/gin-gonic/gin) **star:70519** Gin是一个用Go编写的web框架!它具有一个类似于martini的API性能更好速度快40倍。 [![近一周有更新][G]](https://github.com/gin-gonic/gin) [![godoc][D]](https://godoc.org/github.com/gin-gonic/gin)
- [Beego](https://github.com/beego/beego) **star:30039** beego是一种用于 Go 编程语言的开源高性能web框架。 [![近一周有更新][G]](https://github.com/beego/beego) [![godoc][D]](https://godoc.org/github.com/beego/beego)
2022-03-22 12:36:07 +08:00
- [Buffalo](https://gobuffalo.io) 为 Go 语言带来堪比 Rails 的高生产效率!
- [Confetti Framework](https://confetti-framework.github.io/docs/) Confetti is a Go web application framework with an expressive, elegant syntax. Confetti combines the elegance of Laravel and the simplicity of Go.
2023-08-04 07:26:48 +08:00
- [Fiber](https://github.com/gofiber/fiber) **star:27607** 一个灵感来自Express.js的web框架构建在Fasthttp上。 [![近一周有更新][G]](https://github.com/gofiber/fiber) [![godoc][D]](https://godoc.org/github.com/gofiber/fiber)
- [Echo](https://github.com/labstack/echo) **star:26203** 高性能、极简的Go web框架。 [![近一周有更新][G]](https://github.com/labstack/echo) [![godoc][D]](https://godoc.org/github.com/labstack/echo)
- [Revel](https://github.com/revel/revel) **star:12950** 用于Go语言的高效web框架。 [![godoc][D]](https://godoc.org/github.com/revel/revel)
- [GoFrame](https://github.com/gogf/gf) **star:9766** GoFrame is a modular, full-featured and production-ready application development framework of golang. [![近一周有更新][G]](https://github.com/gogf/gf) [![godoc][D]](https://godoc.org/github.com/gogf/gf)
- [Goa](https://github.com/goadesign/goa) **star:5248** Goa为在Go中开发远程api和微服务提供了一种全面的方法。 [![近一周有更新][G]](https://github.com/goadesign/goa) [![godoc][D]](https://godoc.org/github.com/goadesign/goa)
- [Hertz](https://github.com/cloudwego/hertz) **star:4027** A high-performance and strong-extensibility Go HTTP framework that helps developers build microservices. [![近一周有更新][G]](https://github.com/cloudwego/hertz) [![godoc][D]](https://godoc.org/github.com/cloudwego/hertz) [![包含中文文档][CN]](https://github.com/cloudwego/hertz)
- [Gizmo](https://github.com/NYTimes/gizmo) **star:3726** 《纽约时报》使用的微服务工具包。 [![godoc][D]](https://godoc.org/github.com/NYTimes/gizmo)
2023-07-27 07:20:38 +08:00
- [go-json-rest](https://github.com/ant0ine/go-json-rest) **star:3516** 设置RESTful JSON API的快速简便方法。 [![godoc][D]](https://godoc.org/github.com/ant0ine/go-json-rest)
- [Macaron](https://github.com/go-macaron/macaron) **star:3401** Macaron 是一个高效的模块化设计的web框架 [![godoc][D]](https://godoc.org/github.com/go-macaron/macaron)
2023-08-02 07:21:08 +08:00
- [utron](https://github.com/gernest/utron) **star:2218** Go(Golang)的轻量级MVC框架。 [![近三年未更新][Y]](https://github.com/gernest/utron) [![godoc][D]](https://godoc.org/github.com/gernest/utron) [![归档项目][Archived]](https://github.com/gernest/utron)
2023-08-04 07:26:48 +08:00
- [Goyave](https://github.com/go-goyave/goyave) **star:1314** 功能完备的REST API框架旨在干净的代码和快速的开发具有强大的内置功能。 [![近一周有更新][G]](https://github.com/go-goyave/goyave) [![godoc][D]](https://godoc.org/github.com/go-goyave/goyave)
2023-08-02 07:21:08 +08:00
- [REST Layer](https://github.com/rs/rest-layer) **star:1225** 框架用于在数据库之上构建REST/GraphQL API主要是通过代码进行配置。 [![godoc][D]](https://godoc.org/github.com/rs/rest-layer)
2023-08-04 07:26:48 +08:00
- [Atreugo](https://github.com/savsgio/atreugo) **star:1098** High performance and extensible micro web framework with zero memory allocations in hot paths. [![godoc][D]](https://godoc.org/github.com/savsgio/atreugo)
2023-07-20 07:26:36 +08:00
- [tigertonic](https://github.com/rcrowley/go-tigertonic) **star:997** 用于构建 JSON web 服务的 Go 语言框架,受到 Dropwizard 的启发。 [![近三年未更新][Y]](https://github.com/rcrowley/go-tigertonic) [![godoc][D]](https://godoc.org/github.com/rcrowley/go-tigertonic)
2023-05-31 07:26:28 +08:00
- [tango](https://github.com/lunny/tango) **star:834** 微型的、支持插件的 web 框架。 [![近三年未更新][Y]](https://github.com/lunny/tango) [![godoc][D]](https://godoc.org/github.com/lunny/tango) [![包含中文文档][CN]](https://github.com/lunny/tango) [![归档项目][Archived]](https://github.com/lunny/tango)
2023-08-02 07:21:08 +08:00
- [Gearbox](https://github.com/abahmed/gearbox) **star:717** 一个用Go编写的web框架专注于高性能和内存优化。 [![godoc][D]](https://godoc.org/github.com/abahmed/gearbox)
2023-07-17 07:22:48 +08:00
- [Aero](https://github.com/aerogo/aero) **star:531** 高性能的Go web框架在Lighthouse中达到最高分。 [![godoc][D]](https://godoc.org/github.com/aerogo/aero)
2023-08-04 07:26:48 +08:00
- [gongular](https://github.com/mustafaakin/gongular) **star:502** 快速 Go web 框架,支持输入映射/验证以及依赖注入。 [![近三年未更新][Y]](https://github.com/mustafaakin/gongular) [![godoc][D]](https://godoc.org/github.com/mustafaakin/gongular)
2023-08-02 07:21:08 +08:00
- [Flamingo Commerce](https://github.com/i-love-flamingo/flamingo-commerce) **star:446** 提供使用干净的体系结构(如DDD和端口和适配器)的电子商务功能,您可以使用这些功能来构建灵活的电子商务应用程序。 [![近一周有更新][G]](https://github.com/i-love-flamingo/flamingo-commerce) [![godoc][D]](https://godoc.org/github.com/i-love-flamingo/flamingo-commerce)
2023-07-20 07:26:36 +08:00
- [Air](https://github.com/aofei/air) **star:431** 一个理想的精细化的Go web框架。 [![godoc][D]](https://godoc.org/github.com/aofei/air)
2023-08-04 07:26:48 +08:00
- [rk-boot](https://github.com/rookie-ninja/rk-boot) **star:423** 一个引导程序库用于快速方便地使用Gin和gRPC构建企业微服务。 [![godoc][D]](https://godoc.org/github.com/rookie-ninja/rk-boot)
2023-05-22 07:23:47 +08:00
- [neo](https://github.com/ivpusic/neo) **star:418** Neo是一个非常简单且快速的Web框架API。 [![godoc][D]](https://godoc.org/github.com/ivpusic/neo)
2023-08-02 07:21:08 +08:00
- [Flamingo](https://github.com/i-love-flamingo/flamingo) **star:392** 可插拔web项目的框架。包括模块的概念和提供DI、Configareas、i18n、模板引擎、graphql、可观察性、安全性、事件、路由和反向路由等功能。 [![近一周有更新][G]](https://github.com/i-love-flamingo/flamingo) [![godoc][D]](https://godoc.org/github.com/i-love-flamingo/flamingo)
2023-04-20 07:25:14 +08:00
- [mango](https://github.com/paulbellamy/mango) **star:372** ManGo 是一个模块化 web 应用框架,受到 Rack 和 PEP333 的启发。 [![近三年未更新][Y]](https://github.com/paulbellamy/mango) [![godoc][D]](https://godoc.org/github.com/paulbellamy/mango)
2022-11-22 07:23:48 +08:00
- [Gondola](https://github.com/rainycape/gondola) **star:310** web框架写的网站越快越好。 [![近三年未更新][Y]](https://github.com/rainycape/gondola) [![godoc][D]](https://godoc.org/github.com/rainycape/gondola)
2023-08-04 07:26:48 +08:00
- [uAdmin](https://github.com/uadmin/uadmin) **star:284** 受到 Sinatra 启发的 Go 语言 web 框架。 [![godoc][D]](https://godoc.org/github.com/uadmin/uadmin)
2023-08-02 07:21:08 +08:00
- [WebGo](https://github.com/bnkamalesh/webgo) **star:283** 构建web应用程序的微框架;处理程序链接、中间件和上下文注入。与标准库兼容的HTTP处理程序(即http.HandlerFunc)。 [![godoc][D]](https://godoc.org/github.com/bnkamalesh/webgo)
2023-08-04 07:26:48 +08:00
- [Ginrpc](https://github.com/xxjwxc/ginrpc) **star:276** Gin参数自动绑定工具Gin rpc工具。 [![godoc][D]](https://godoc.org/github.com/xxjwxc/ginrpc) [![包含中文文档][CN]](https://github.com/xxjwxc/ginrpc)
2023-07-27 07:20:38 +08:00
- [Golf](https://github.com/dinever/golf) **star:266** Golf 是一个快速、简单、轻量级的 Go 语言微型 web 框架。具有强大的功能且没有标准库以外的依赖。 [![godoc][D]](https://godoc.org/github.com/dinever/golf)
2023-05-31 07:26:28 +08:00
- [hiboot](https://github.com/hidevopsio/hiboot) **star:179** hiboot是一个高性能的web应用程序框架支持自动配置和依赖注入。 [![godoc][D]](https://godoc.org/github.com/hidevopsio/hiboot) [![包含中文文档][CN]](https://github.com/hidevopsio/hiboot)
2022-03-22 12:36:07 +08:00
- [Huma](https://github.com/danielgtaylor/huma/) 内置OpenAPI 3的现代REST/GraphQL api框架生成文档和CLI。
2023-07-27 07:20:38 +08:00
- [appy](https://github.com/appist/appy) **star:129** 一个固执己见的高效web框架有助于更容易地扩展业务。 [![godoc][D]](https://godoc.org/github.com/appist/appy)
2023-04-15 10:58:14 +08:00
- [go-rest](https://github.com/ungerik/go-rest) **star:127** 小型的 REST 框架。 [![近三年未更新][Y]](https://github.com/ungerik/go-rest) [![godoc][D]](https://godoc.org/github.com/ungerik/go-rest)
2023-07-27 07:20:38 +08:00
- [patron](https://github.com/beatlabs/patron) **star:124** Patron是一个遵循最佳云实践的微服务框架专注于提升开发效率。 [![godoc][D]](https://godoc.org/github.com/beatlabs/patron)
2023-06-07 07:22:22 +08:00
- [Pnutmux](https://gitlab.com/fruitygo/pnutmux) Pnutmux is a powerful Go web framework that uses regex for matching and handling HTTP requests. It offers features such as CORS handling, structured logging, URL parameters extraction, middlewares, and concurrency limiting.
2023-04-15 10:58:14 +08:00
- [Microservice](https://github.com/claygod/microservice) **star:111** 创建微服务的框架用Golang编写。 [![godoc][D]](https://godoc.org/github.com/claygod/microservice)
2023-08-02 07:21:08 +08:00
- [rux](https://github.com/gookit/rux) **star:94** 简单而快速的web框架可用于构建golang HTTP应用程序 [![近一周有更新][G]](https://github.com/gookit/rux) [![godoc][D]](https://godoc.org/github.com/gookit/rux) [![包含中文文档][CN]](https://github.com/gookit/rux)
2023-02-01 07:29:01 +08:00
- [vox](https://github.com/aisk/vox) **star:80** 一个面向人类的golang web框架深受Koa的启发。 [![godoc][D]](https://godoc.org/github.com/aisk/vox)
2023-01-28 07:26:39 +08:00
- [Golax](https://github.com/fulldump/golax) **star:76** 一个非Sinatra快速HTTP框架支持谷歌自定义方法、深度拦截器、递归等。 [![godoc][D]](https://godoc.org/github.com/fulldump/golax)
2022-03-22 12:36:07 +08:00
- [aah](https://aahframework.org) 可伸缩、高性能、快速开发的Go Web框架。
2023-04-15 10:58:14 +08:00
- [YARF](https://github.com/yarf-framework/yarf) **star:65** 快速微框架旨在以快速和简单的方式构建REST api和web服务。 [![近三年未更新][Y]](https://github.com/yarf-framework/yarf) [![godoc][D]](https://godoc.org/github.com/yarf-framework/yarf)
2022-10-05 07:28:40 +08:00
- [Fireball](https://github.com/zpatrick/fireball) **star:59** 感觉更加自然的 web 框架。 [![近三年未更新][Y]](https://github.com/zpatrick/fireball) [![godoc][D]](https://godoc.org/github.com/zpatrick/fireball)
2023-06-07 07:22:22 +08:00
- [goa](https://github.com/goa-go/goa) **star:49** goa就像golang中的koajs一样是一个灵活、轻量级、高性能和可扩展的基于中间件的web框架。 [![近三年未更新][Y]](https://github.com/goa-go/goa) [![godoc][D]](https://godoc.org/github.com/goa-go/goa)
2023-04-15 10:58:14 +08:00
- [GoTuna](https://github.com/gotuna/gotuna) **star:43** 具有mux路由器、中间件、会话、模板、嵌入式视图和静态文件的Go的极简web框架。 [![godoc][D]](https://godoc.org/github.com/gotuna/gotuna)
2023-07-03 07:26:28 +08:00
- [Pulse](https://github.com/gopulse/pulse) **star:36** Pulse is an HTTP web framework written in Go (Golang) [![godoc][D]](https://godoc.org/github.com/gopulse/pulse)
2023-02-20 07:27:34 +08:00
- [goweb](https://github.com/twharmon/goweb) **star:35** 具有路由、websockets、日志、中间件、静态文件服务器(可选gzip)和自动TLS的Web框架。 [![godoc][D]](https://godoc.org/github.com/twharmon/goweb)
2022-10-05 07:28:40 +08:00
- [Resoursea](https://github.com/resoursea/api) **star:33** 用于快速编写基于资源的服务的REST框架。 [![近三年未更新][Y]](https://github.com/resoursea/api) [![godoc][D]](https://godoc.org/github.com/resoursea/api)
- [rex](https://github.com/goanywhere/rex) **star:33** Rex 是一个用于进行模块化开发的库基于Gorilla/mux 完全兼容大多数的 net/HTTP. [![近三年未更新][Y]](https://github.com/goanywhere/rex) [![godoc][D]](https://godoc.org/github.com/goanywhere/rex)
2023-08-02 07:21:08 +08:00
- [Don](https://github.com/abemedia/go-don) **star:27** A highly performant and simple to use API framework. [![godoc][D]](https://godoc.org/github.com/abemedia/go-don)
2023-04-15 10:58:14 +08:00
- [Banjo](https://github.com/nsheremet/banjo) **star:21** 非常简单和快速的网络框架 Go 。 [![近三年未更新][Y]](https://github.com/nsheremet/banjo) [![godoc][D]](https://godoc.org/github.com/nsheremet/banjo)
2022-10-05 07:28:40 +08:00
- [anoweb](https://github.com/go-the-way/anoweb) **star:5** 轻量级和强大的web框架使用了新的Go方式。另一个走了。 [![godoc][D]](https://godoc.org/github.com/go-the-way/anoweb)
2023-04-23 07:26:25 +08:00
- [golamb](https://github.com/twharmon/golamb) **star:5** Golamb makes it easier to write API endpoints for use with AWS Lambda and API Gateway. [![godoc][D]](https://godoc.org/github.com/twharmon/golamb)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
### 中间件
2019-07-01 18:49:40 +08:00
#### 仿真中间件
2019-06-27 17:22:00 +08:00
2023-08-04 07:26:48 +08:00
- [Tollbooth](https://github.com/didip/tollbooth) **star:2450** 限制速率的 HTTP 请求处理程序。 [![godoc][D]](https://godoc.org/github.com/didip/tollbooth)
- [CORS](https://github.com/rs/cors) **star:2393** 轻松地向API添加CORS功能。 [![近一周有更新][G]](https://github.com/rs/cors) [![godoc][D]](https://godoc.org/github.com/rs/cors)
- [Limiter](https://github.com/ulule/limiter) **star:1809** 简单的速度限制中间件。 [![godoc][D]](https://godoc.org/github.com/ulule/limiter)
2023-07-20 07:26:36 +08:00
- [go-server-timing](https://github.com/mitchellh/go-server-timing) **star:851** 添加/解析Server-Timing头。 [![godoc][D]](https://godoc.org/github.com/mitchellh/go-server-timing)
2023-06-26 07:28:04 +08:00
- [go-fault](https://github.com/github/go-fault) **star:479** Go的故障注入中间件。 [![godoc][D]](https://godoc.org/github.com/github/go-fault)
2023-06-07 07:22:22 +08:00
- [ln-paywall](https://github.com/philippgille/ln-paywall) **star:135** 使用Lightning Network(比特币)实现基于每个请求的api货币化中间件。 [![近三年未更新][Y]](https://github.com/philippgille/ln-paywall) [![godoc][D]](https://godoc.org/github.com/philippgille/ln-paywall)
- [XFF](https://github.com/sebest/xff) **star:97** 处理 X-Forwarded-For 头的中间件。 [![godoc][D]](https://godoc.org/github.com/sebest/xff)
2023-06-19 07:27:31 +08:00
- [rk-grpc](https://github.com/rookie-ninja/rk-grpc) **star:64** 中间件为gRPC与日志指标认证跟踪等。 [![godoc][D]](https://godoc.org/github.com/rookie-ninja/rk-grpc)
2023-07-27 07:20:38 +08:00
- [rk-gin](https://github.com/rookie-ninja/rk-gin) **star:39** 用于Gin框架的中间件具有日志记录、度量、认证、跟踪等功能。 [![godoc][D]](https://godoc.org/github.com/rookie-ninja/rk-gin)
2022-10-05 07:28:40 +08:00
- [formjson](https://github.com/rs/formjson) **star:38** 透明地将JSON输入作为标准表单POST处理。 [![近三年未更新][Y]](https://github.com/rs/formjson) [![godoc][D]](https://godoc.org/github.com/rs/formjson)
2023-06-07 07:22:22 +08:00
- [client-timing](https://github.com/posener/client-timing) **star:24** 用于服务器定时报头的HTTP客户机。 [![近三年未更新][Y]](https://github.com/posener/client-timing) [![godoc][D]](https://godoc.org/github.com/posener/client-timing)
2023-05-09 07:21:25 +08:00
- [echo-middleware](https://github.com/faabiosr/echo-middleware) **star:14** Middleware for Echo framework with logging and metrics. [![godoc][D]](https://godoc.org/github.com/faabiosr/echo-middleware)
2023-06-07 07:22:22 +08:00
- [mid](https://github.com/bobg/mid) **star:7** 其他HTTP中间件特性:从处理程序返回惯用错误;接收/响应JSON数据;请求跟踪;和更多。 [![godoc][D]](https://godoc.org/github.com/bobg/mid)
2019-06-27 17:22:00 +08:00
#### 用于创建HTTP中间件的库
2023-08-04 07:26:48 +08:00
- [negroni](https://github.com/urfave/negroni) **star:7341** 符合语言习惯的 HTTP 中间件库。 [![godoc][D]](https://godoc.org/github.com/urfave/negroni) [![包含中文文档][CN]](https://github.com/urfave/negroni)
- [alice](https://github.com/justinas/alice) **star:2832** 用于连接中间件的库,简单无痛苦。 [![godoc][D]](https://godoc.org/github.com/justinas/alice)
2023-08-02 07:21:08 +08:00
- [render](https://github.com/unrolled/render) **star:1814** Go package用于方便地呈现JSON、XML和HTML模板响应。 [![godoc][D]](https://godoc.org/github.com/unrolled/render)
- [stats](https://github.com/thoas/stats) **star:593** 使用中间件来存储关于web应用程序的各种信息。 [![godoc][D]](https://godoc.org/github.com/thoas/stats)
2023-07-27 07:20:38 +08:00
- [interpose](https://github.com/carbocation/interpose) **star:294** golang的极简网络/http中间件。 [![近三年未更新][Y]](https://github.com/carbocation/interpose) [![godoc][D]](https://godoc.org/github.com/carbocation/interpose)
2023-07-17 07:22:48 +08:00
- [renderer](https://github.com/thedevsaddam/renderer) **star:255** 简单、轻量级和更快的响应(JSON、JSONP、XML、YAML、HTML、文件)。 [![godoc][D]](https://godoc.org/github.com/thedevsaddam/renderer)
2023-05-09 07:21:25 +08:00
- [muxchain](https://github.com/stephens2424/muxchain) **star:208** 用于net/http的轻量级中间件。 [![近三年未更新][Y]](https://github.com/stephens2424/muxchain) [![godoc][D]](https://godoc.org/github.com/stephens2424/muxchain)
2023-08-02 07:21:08 +08:00
- [rye](https://github.com/InVisionApp/rye) **star:102** 支持JWT、CORS、Statsd和Go 1.7上下文的小型Go中间件库(带有罐装中间件)。 [![godoc][D]](https://godoc.org/github.com/InVisionApp/rye)
2023-04-15 10:58:14 +08:00
- [gores](https://github.com/alioygur/gores) **star:100** 处理HTML、JSON、XML等响应的Go包。对于RESTful api非常有用。 [![godoc][D]](https://godoc.org/github.com/alioygur/gores)
2023-06-19 07:27:31 +08:00
- [mediary](https://github.com/HereMobilityDevelopers/mediary) **star:86** 在http中添加拦截器。客户端允许转储/成型/跟踪/…的请求/响应。 [![近三年未更新][Y]](https://github.com/HereMobilityDevelopers/mediary) [![godoc][D]](https://godoc.org/github.com/HereMobilityDevelopers/mediary)
2023-06-29 07:26:27 +08:00
- [chain](https://github.com/codemodus/chain) **star:64** 带有范围数据的处理程序包装器链接(基于网络/上下文的“中间件”)。 [![近三年未更新][Y]](https://github.com/codemodus/chain) [![godoc][D]](https://godoc.org/github.com/codemodus/chain)
2022-10-05 07:28:40 +08:00
- [catena](https://github.com/codemodus/catena) **star:9** HTTP.Handler wrapper catenation (和chain具有相同的 API ).。 [![近三年未更新][Y]](https://github.com/codemodus/catena) [![godoc][D]](https://godoc.org/github.com/codemodus/catena)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
### 路由器
2023-08-04 07:26:48 +08:00
- [mux](https://github.com/gorilla/mux) **star:18829** 强大的URL路由器和调度器为golang。 [![近一周有更新][G]](https://github.com/gorilla/mux) [![godoc][D]](https://godoc.org/github.com/gorilla/mux)
- [httprouter](https://github.com/julienschmidt/httprouter) **star:15594** 高性能路由。使用这个库和标准http处理工具可以构建一个非常高性能大web框架。 [![godoc][D]](https://godoc.org/github.com/julienschmidt/httprouter)
- [chi](https://github.com/go-chi/chi) **star:14889** 小巧、快速、具有丰富表达力的 HTTP 路由基于net/context.。 [![godoc][D]](https://godoc.org/github.com/go-chi/chi)
2023-07-20 07:26:36 +08:00
- [gocraft/web](https://github.com/gocraft/web) **star:1502** Mux和中间件包在Go中。 [![godoc][D]](https://godoc.org/github.com/gocraft/web)
2023-06-29 07:26:27 +08:00
- [Bone](https://github.com/go-zoo/bone) **star:1294** 闪电快速HTTP多路复用器。 [![近三年未更新][Y]](https://github.com/go-zoo/bone) [![godoc][D]](https://godoc.org/github.com/go-zoo/bone)
2023-08-04 07:26:48 +08:00
- [Goji](https://github.com/goji/goji) **star:944** 枸杞是一种简约的和灵活的与支持'net/context` HTTP请求多路复用器。 [![godoc][D]](https://godoc.org/github.com/goji/goji)
2023-08-02 07:21:08 +08:00
- [fasthttprouter](https://github.com/buaazp/fasthttprouter) **star:875** 高性能路由器分叉从`httprouter`。第一个路由器适合`fasthttp`。 [![近三年未更新][Y]](https://github.com/buaazp/fasthttprouter) [![godoc][D]](https://godoc.org/github.com/buaazp/fasthttprouter)
- [httptreemux](https://github.com/dimfeld/httptreemux) **star:602** 高速,灵活,基于树的 HTTP 路由。受到了 httprouter 的启发。 [![godoc][D]](https://godoc.org/github.com/dimfeld/httptreemux)
2023-06-29 07:26:27 +08:00
- [xujiajun/gorouter](https://github.com/xujiajun/gorouter) **star:532** 一个简单和快速的HTTP路由器 Go 。 [![近三年未更新][Y]](https://github.com/xujiajun/gorouter) [![godoc][D]](https://godoc.org/github.com/xujiajun/gorouter)
2023-07-20 07:26:36 +08:00
- [ozzo-routing](https://github.com/go-ozzo/ozzo-routing) **star:447** 一个非常快的Go (golang) HTTP路由器支持正则表达式路由匹配。完全支持构建RESTful api。 [![godoc][D]](https://godoc.org/github.com/go-ozzo/ozzo-routing)
2023-06-19 07:27:31 +08:00
- [lars](https://github.com/go-playground/lars) **star:390** 是一个轻量级、快速、可扩展、零分配的HTTP路由用于创建定制化的框架。 [![近三年未更新][Y]](https://github.com/go-playground/lars) [![godoc][D]](https://godoc.org/github.com/go-playground/lars)
2023-04-15 10:58:14 +08:00
- [Siesta](https://github.com/VividCortex/siesta) **star:351** 编写中间件和处理程序的可组合框架。 [![godoc][D]](https://godoc.org/github.com/VividCortex/siesta)
2023-06-19 07:27:31 +08:00
- [vestigo](https://github.com/husobee/vestigo) **star:269** 高性能独立HTTP兼容的URL路由器的go web应用程序。 [![godoc][D]](https://godoc.org/github.com/husobee/vestigo)
2023-05-16 07:23:55 +08:00
- [gowww/router](https://github.com/gowww/router) **star:166** 超快的HTTP 路由,完全兼容 net/HTTP.Handler 接口.。 [![近三年未更新][Y]](https://github.com/gowww/router) [![godoc][D]](https://godoc.org/github.com/gowww/router)
2023-07-17 07:22:48 +08:00
- [GoRouter](https://github.com/vardius/gorouter) **star:149** GoRouter是一个服务器/API微框架HTTP请求路由器多路复用器mux它为请求路由器提供了支持“net/context”的中间件。 [![godoc][D]](https://godoc.org/github.com/vardius/gorouter)
2023-07-27 07:20:38 +08:00
- [pure](https://github.com/go-playground/pure) **star:140** 是一个轻量级HTTP路由器它坚持net/ HTTP“实现”的std。 [![godoc][D]](https://godoc.org/github.com/go-playground/pure)
2023-02-03 07:29:33 +08:00
- [alien](https://github.com/gernest/alien) **star:127** 轻量级和快速http路由器从外层空间。 [![godoc][D]](https://godoc.org/github.com/gernest/alien)
2022-12-13 07:24:13 +08:00
- [violetear](https://github.com/nbari/violetear) **star:106** HTTP路由器。 [![godoc][D]](https://godoc.org/github.com/nbari/violetear)
2023-06-29 07:26:27 +08:00
- [Bxog](https://github.com/claygod/Bxog) **star:104** 简单和快速的HTTP路由器 Go 。它可以处理不同难度、长度和嵌套的路径。他还知道如何根据接收到的参数创建URL。 [![godoc][D]](https://godoc.org/github.com/claygod/Bxog)
2023-08-02 07:21:08 +08:00
- [xmux](https://github.com/rs/xmux) **star:96** 高性能mux基于httprouter 'net/context`支持。 [![近三年未更新][Y]](https://github.com/rs/xmux) [![godoc][D]](https://godoc.org/github.com/rs/xmux)
2023-08-04 07:26:48 +08:00
- [goblin](https://github.com/bmf-san/goblin) **star:61** 一种基于树的golang http路由器。 [![近一周有更新][G]](https://github.com/bmf-san/goblin) [![godoc][D]](https://godoc.org/github.com/bmf-san/goblin)
2023-06-29 07:26:27 +08:00
- [ngamux](https://github.com/ngamux/ngamux) **star:59** 简单的HTTP路由器为Go。 [![godoc][D]](https://godoc.org/github.com/ngamux/ngamux)
2023-02-23 07:27:01 +08:00
- [bellt](https://github.com/GuilhermeCaruso/bellt) **star:54** 一个简单的Go HTTP路由器。 [![godoc][D]](https://godoc.org/github.com/GuilhermeCaruso/bellt)
2022-10-05 07:28:40 +08:00
- [FastRouter](https://github.com/razonyang/fastrouter) **star:22** 一个快速灵活的HTTP路由器写在Go。 [![近三年未更新][Y]](https://github.com/razonyang/fastrouter) [![godoc][D]](https://godoc.org/github.com/razonyang/fastrouter)
2022-12-13 07:24:13 +08:00
- [GoLobby/Router](https://github.com/golobby/router) **star:21** GoLobby路由器是一款轻量级但功能强大的Go编程语言HTTP路由器。 [![godoc][D]](https://godoc.org/github.com/golobby/router)
2023-07-20 07:26:36 +08:00
- [nchi](https://github.com/muir/nchi) **star:14** Chi-like路由器构建在httprouter上带有基于依赖注入的中间件包装器 [![近一周有更新][G]](https://github.com/muir/nchi) [![godoc][D]](https://godoc.org/github.com/muir/nchi)
2022-12-13 07:24:13 +08:00
- [goroute](https://github.com/goroute/route) **star:8** 简单但功能强大的HTTP请求多路复用器。 [![近三年未更新][Y]](https://github.com/goroute/route) [![godoc][D]](https://godoc.org/github.com/goroute/route)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2020-04-09 07:11:08 +08:00
## WebAssembly
2023-08-04 07:26:48 +08:00
- [tinygo](https://github.com/tinygo-org/tinygo) **star:13250** 去编译小地方。微控制器、网络组装和命令行工具。基于LLVM。 [![近一周有更新][G]](https://github.com/tinygo-org/tinygo) [![godoc][D]](https://godoc.org/github.com/tinygo-org/tinygo)
2023-07-20 07:26:36 +08:00
- [dom](https://github.com/dennwc/dom) **star:479** DOM库。 [![近三年未更新][Y]](https://github.com/dennwc/dom) [![godoc][D]](https://godoc.org/github.com/dennwc/dom)
2023-07-27 07:20:38 +08:00
- [go-canvas](https://github.com/markfarnan/go-canvas) **star:211** 库使用HTML5画布与所有绘画内的go代码。 [![godoc][D]](https://godoc.org/github.com/markfarnan/go-canvas)
2023-08-04 07:26:48 +08:00
- [wasmbrowsertest](https://github.com/agnivade/wasmbrowsertest) **star:149** 在浏览器中运行Go WASM测试。 [![godoc][D]](https://godoc.org/github.com/agnivade/wasmbrowsertest)
2023-07-27 07:20:38 +08:00
- [webapi](https://github.com/gowebapi/webapi) **star:142** 从WebIDL生成的DOM和HTML的绑定。 [![godoc][D]](https://godoc.org/github.com/gowebapi/webapi)
2023-08-02 07:21:08 +08:00
- [vert](https://github.com/norunners/vert) **star:89** Go和JS值之间的互操作。 [![godoc][D]](https://godoc.org/github.com/norunners/vert)
2020-04-09 07:11:08 +08:00
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-30 16:43:25 +08:00
## Windows
2019-06-27 17:22:00 +08:00
2023-08-02 07:21:08 +08:00
- [go-ole](https://github.com/go-ole/go-ole) **star:1006** 为 Go 语言实现的 Win32 OLE。 [![godoc][D]](https://godoc.org/github.com/go-ole/go-ole)
- [d3d9](https://github.com/gonutz/d3d9) **star:146** Direct3D9 的 Go 语言接口。 [![godoc][D]](https://godoc.org/github.com/gonutz/d3d9)
2023-04-24 07:24:18 +08:00
- [gosddl](https://github.com/MonaxGT/gosddl) **star:10** 从SDDL-string到用户友好的JSON的转换器。SDDL由四个部分组成:所有者、主群、DACL、SACL。 [![近三年未更新][Y]](https://github.com/MonaxGT/gosddl) [![godoc][D]](https://godoc.org/github.com/MonaxGT/gosddl)
2019-06-25 18:06:22 +08:00
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-25 18:06:22 +08:00
## XML
2022-03-22 12:36:07 +08:00
_用于操作XML的库和工具。 (翻译出错了? 试试 [英文版](README_EN.md#xml) 吧~)_
2019-06-27 17:22:00 +08:00
2023-08-04 07:26:48 +08:00
- [zek](https://github.com/miku/zek) **star:678** 从XML生成Go结构。 [![近一周有更新][G]](https://github.com/miku/zek) [![godoc][D]](https://godoc.org/github.com/miku/zek)
2023-08-02 07:21:08 +08:00
- [xpath](https://github.com/antchfx/xpath) **star:593** Go的XPath包。 [![godoc][D]](https://godoc.org/github.com/antchfx/xpath)
2023-04-15 10:58:14 +08:00
- [xquery](https://github.com/antchfx/xquery) **star:156** XQuery允许您使用XPath表达式从HTML/XML文档中提取数据。 [![近三年未更新][Y]](https://github.com/antchfx/xquery) [![godoc][D]](https://godoc.org/github.com/antchfx/xquery) [![归档项目][Archived]](https://github.com/antchfx/xquery)
2023-08-04 07:26:48 +08:00
- [xml2map](https://github.com/sbabiv/xml2map) **star:52** XML来映射转换器编写的Golang。 [![godoc][D]](https://godoc.org/github.com/sbabiv/xml2map)
2023-06-02 07:24:06 +08:00
- [xmlwriter](https://github.com/shabbyrobe/xmlwriter) **star:24** 基于libxml2的xmlwriter模块的过程性XML生成API。 [![godoc][D]](https://godoc.org/github.com/shabbyrobe/xmlwriter)
2023-02-13 07:25:43 +08:00
- [XML-Comp](https://github.com/xml-comp/xml-comp) **star:20** 简单的命令行XML比较器生成文件夹、文件和标记的差异。 [![近三年未更新][Y]](https://github.com/xml-comp/xml-comp) [![godoc][D]](https://godoc.org/github.com/xml-comp/xml-comp)
2019-06-27 17:22:00 +08:00
2021-11-05 07:20:51 +08:00
## 零信任
2022-03-22 12:36:07 +08:00
_实现零信任架构的库和工具。 (翻译出错了? 试试 [英文版](README_EN.md#zero-trust) 吧~)_
2021-11-05 07:20:51 +08:00
2023-08-04 07:26:48 +08:00
- [Cosign](https://github.com/sigstore/cosign) **star:3509** 在OCI注册中心中的容器签名、验证和存储。 [![近一周有更新][G]](https://github.com/sigstore/cosign) [![godoc][D]](https://godoc.org/github.com/sigstore/cosign)
- [Spire](https://github.com/spiffe/spire) **star:1472** SPIRE (SPIFFE Runtime Environment)是一个api工具链用于跨各种托管平台在软件系统之间建立信任。 [![近一周有更新][G]](https://github.com/spiffe/spire) [![godoc][D]](https://godoc.org/github.com/spiffe/spire)
2023-08-02 07:21:08 +08:00
- [in-toto](https://github.com/in-toto/in-toto-golang) **star:98** 实现in-toto(提供一个框架来保护软件供应链的完整性)python参考实现。 [![近一周有更新][G]](https://github.com/in-toto/in-toto-golang) [![godoc][D]](https://godoc.org/github.com/in-toto/in-toto-golang)
2023-07-27 07:20:38 +08:00
- [Spiffe-Vault](https://github.com/philips-labs/spiffe-vault) **star:61** 利用Spiffe JWT认证和Hashicorp Vault实现无秘密认证。 [![近一周有更新][G]](https://github.com/philips-labs/spiffe-vault) [![godoc][D]](https://godoc.org/github.com/philips-labs/spiffe-vault)
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 代码分析
2022-03-22 12:36:07 +08:00
_源代码分析工具也称为静态应用程序安全测试(SAST)工具。 (翻译出错了? 试试 [英文版](README_EN.md#code-analysis) 吧~)_
2023-08-04 07:26:48 +08:00
- [GoLint](https://github.com/golang/lint) **star:3974** Go 源码的 linter。 [![godoc][D]](https://godoc.org/github.com/golang/lint) [![归档项目][Archived]](https://github.com/golang/lint)
- [errcheck](https://github.com/kisielk/errcheck) **star:2106** Errcheck是一个用于检查Go程序中未检查错误的程序。 [![godoc][D]](https://godoc.org/github.com/kisielk/errcheck)
- [go-critic](https://github.com/go-critic/go-critic) **star:1652** 源代码检查工具。 [![近一周有更新][G]](https://github.com/go-critic/go-critic) [![godoc][D]](https://godoc.org/github.com/go-critic/go-critic)
- [GoPlantUML](https://github.com/jfeliu007/goplantuml) **star:1477** 生成文本plantump类图的库和CLI其中包含关于结构和接口的信息以及它们之间的关系。 [![godoc][D]](https://godoc.org/github.com/jfeliu007/goplantuml)
2022-03-22 12:36:07 +08:00
- [goreturns](https://sourcegraph.com/github.com/sqs/goreturns) 添加 zero 返回声明,以匹配 func 返回类型。
2023-07-27 07:20:38 +08:00
- [gcvis](https://github.com/davecheney/gcvis) **star:1085** 实时可视化跟踪 GC 数据。 [![近三年未更新][Y]](https://github.com/davecheney/gcvis) [![godoc][D]](https://godoc.org/github.com/davecheney/gcvis) [![归档项目][Archived]](https://github.com/davecheney/gcvis)
2023-08-04 07:26:48 +08:00
- [php-parser](https://github.com/z7zmey/php-parser) **star:928** 用 Go 编写的 PHP 解析器。 [![godoc][D]](https://godoc.org/github.com/z7zmey/php-parser)
2022-04-15 07:22:01 +08:00
- [staticcheck](https://github.com/dominikh/go-tools/tree/master/cmd/staticcheck) 用于大量静态分析检查,您可能已经从 c# 的 ReSharper 等工具中习惯了这些检查。
2023-08-04 07:26:48 +08:00
- [go-cleanarch](https://github.com/roblaszczak/go-cleanarch) **star:751** go-cleanarch 的创建是为了验证 Clean 体系结构规则,比如 Go 项目中的依赖关系。 [![godoc][D]](https://godoc.org/github.com/roblaszczak/go-cleanarch)
2023-08-02 07:21:08 +08:00
- [goast-viewer](https://github.com/yuroyoro/goast-viewer) **star:719** 基于 Web 的 Golang AST 可视化工具。 [![近一周有更新][G]](https://github.com/yuroyoro/goast-viewer)
2022-03-22 12:36:07 +08:00
- [goimports](https://godoc.org/golang.org/x/tools/cmd/goimports) 来修复(添加,删除) Go 中自动导入的工具。
2023-08-04 07:26:48 +08:00
- [golines](https://github.com/segmentio/golines) **star:658** 格式化程序它自动缩短Go代码中的长行。 [![godoc][D]](https://godoc.org/github.com/segmentio/golines)
2023-08-02 07:21:08 +08:00
- [go-mod-outdated](https://github.com/psampaz/go-mod-outdated) **star:640** 找出项目中过期的依赖项。 [![godoc][D]](https://godoc.org/github.com/psampaz/go-mod-outdated)
2023-07-07 07:24:47 +08:00
- [Chronos](https://github.com/amit-davidson/Chronos) **star:405** Detects race conditions statically [![godoc][D]](https://godoc.org/github.com/amit-davidson/Chronos)
2023-06-26 07:28:04 +08:00
- [todocheck](https://github.com/preslavmihaylov/todocheck) **star:398** 静态代码分析器连接TODO注释代码有问题在你的问题跟踪器。 [![godoc][D]](https://godoc.org/github.com/preslavmihaylov/todocheck)
2023-07-27 07:20:38 +08:00
- [unconvert](https://github.com/mdempsky/unconvert) **star:359** 在源码中删除不必要的类型转换。 [![godoc][D]](https://godoc.org/github.com/mdempsky/unconvert)
2023-08-02 07:21:08 +08:00
- [dupl](https://github.com/mibk/dupl) **star:316** 用于代码克隆检测的工具。 [![godoc][D]](https://godoc.org/github.com/mibk/dupl)
2023-07-07 07:24:47 +08:00
- [tickgit](https://github.com/augmentable-dev/tickgit) **star:307** CLI和go包用于显示代码注释TODOs(以任何语言)并应用“git blame”来识别作者。 [![godoc][D]](https://godoc.org/github.com/augmentable-dev/tickgit)
2023-08-02 07:21:08 +08:00
- [gostatus](https://github.com/shurcooL/gostatus) **star:243** 用于显示包含 Go 包的存储库的状态的命令行工具,。 [![godoc][D]](https://godoc.org/github.com/shurcooL/gostatus)
- [vaccum](https://github.com/daveshanley/vacuum) **star:238** An ultra-super-fast, lightweight OpenAPI linter and quality checking tool. [![近一周有更新][G]](https://github.com/daveshanley/vacuum) [![godoc][D]](https://godoc.org/github.com/daveshanley/vacuum)
2023-06-19 07:27:31 +08:00
- [apicompat](https://github.com/bradleyfalzon/apicompat) **star:178** 检查 Go 项目最近的向下不兼容修改。 [![近三年未更新][Y]](https://github.com/bradleyfalzon/apicompat) [![godoc][D]](https://godoc.org/github.com/bradleyfalzon/apicompat)
2023-05-16 07:23:55 +08:00
- [go-checkstyle](https://github.com/qiniu/checkstyle) **star:128** checkstyle是一个类似于java checkstyle的检查工具。 [![godoc][D]](https://godoc.org/github.com/qiniu/checkstyle)
2022-10-05 07:28:40 +08:00
- [lint](https://github.com/surullabs/lint) **star:67** 将 linters 作为测试的一部分。 [![近三年未更新][Y]](https://github.com/surullabs/lint) [![godoc][D]](https://godoc.org/github.com/surullabs/lint)
2023-08-04 07:26:48 +08:00
- [validate](https://github.com/mccoyst/validate) **star:61** 使用 tags 自动验证结构体字段。 [![godoc][D]](https://godoc.org/github.com/mccoyst/validate)
2023-08-02 07:21:08 +08:00
- [asty](https://github.com/asty-org/asty) **star:59** Converts golang AST to JSON and JSON to AST. [![godoc][D]](https://godoc.org/github.com/asty-org/asty)
2023-04-17 07:20:12 +08:00
- [blanket](https://gitlab.com/verygoodsoftwarenotvirus/blanket) blanket is a tool that helps you catch functions which don't have direct unit tests in your Go packages.
2023-06-19 07:27:31 +08:00
- [go-outdated](https://github.com/firstrow/go-outdated) **star:45** 显示过期包的终端应用。 [![近三年未更新][Y]](https://github.com/firstrow/go-outdated) [![godoc][D]](https://godoc.org/github.com/firstrow/go-outdated) [![归档项目][Archived]](https://github.com/firstrow/go-outdated)
2023-07-07 07:24:47 +08:00
- [ChainJacking](https://github.com/Checkmarx/chainjacking) **star:43** 找到你的Go lang直接的GitHub依赖中哪个容易受到链劫持攻击。
2023-08-04 07:26:48 +08:00
- [usestdlibvars](https://github.com/sashamelentyev/usestdlibvars) **star:40** A linter that detect the possibility to use variables/constants from the Go standard library. [![godoc][D]](https://godoc.org/github.com/sashamelentyev/usestdlibvars)
2022-10-05 07:28:40 +08:00
- [golang-ifood-sdk](https://github.com/arxdsilva/golang-ifood-sdk) **star:10** 好 [![godoc][D]](https://godoc.org/github.com/arxdsilva/golang-ifood-sdk)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 编辑器插件
2022-03-22 12:36:07 +08:00
_文本编辑器和ide插件。 (翻译出错了? 试试 [英文版](README_EN.md#editor-plugins) 吧~)_
2023-08-04 07:26:48 +08:00
- [vim-go](https://github.com/fatih/vim-go) **star:15521** Go 开发会用到的 Vim 插件。 [![近一周有更新][G]](https://github.com/fatih/vim-go)
2023-07-27 07:20:38 +08:00
- [gocode](https://github.com/nsf/gocode) **star:5004** Autocompletion daemon for the Go programming language. [![godoc][D]](https://godoc.org/github.com/nsf/gocode)
2023-08-04 07:26:48 +08:00
- [vscode-go](https://github.com/golang/vscode-go) **star:3490** Visual Studio代码的扩展(VS代码)它提供了对Go语言的支持。 [![近一周有更新][G]](https://github.com/golang/vscode-go)
2023-08-02 07:21:08 +08:00
- [GoSublime](https://github.com/DisposaBoy/GoSublime) **star:3423** 包含了可为文本编辑器 SublimeText 3 提供代码自动填充和其他类似IDE的功能的 Golang IDE 插件集合。 [![近三年未更新][Y]](https://github.com/DisposaBoy/GoSublime) [![godoc][D]](https://godoc.org/github.com/DisposaBoy/GoSublime)
2023-07-17 07:22:48 +08:00
- [go-plus](https://github.com/joefitzgerald/go-plus) **star:1509** 在 Atom 中添加自动完成,格式化,语法检查,高亮和审查。 [![归档项目][Archived]](https://github.com/joefitzgerald/go-plus)
2023-08-04 07:26:48 +08:00
- [go-mode](https://github.com/dominikh/go-mode.el) **star:1331** 在 GNU/Emacs 支持 GO。
2023-07-27 07:20:38 +08:00
- [coc-go language server extension for Vim/Neovim](https://github.com/josa42/coc-go) **star:544** 这个插件添加[gopls](https://github.com/golang/tools/blob/master/gopls/README.md)功能到Vim/Neovim。 [![近一周有更新][G]](https://github.com/josa42/coc-go)
2023-08-04 07:26:48 +08:00
- [goimports-reviser](https://github.com/incu6us/goimports-reviser) **star:385** 用于导入的格式化工具。 [![godoc][D]](https://godoc.org/github.com/incu6us/goimports-reviser)
2022-03-22 12:36:07 +08:00
- [goprofiling](https://marketplace.visualstudio.com/items?itemName=MaxMedia.go-prof) 在 VS Code 中支持 Go 的基准分析。
2023-06-19 07:27:31 +08:00
- [Watch](https://github.com/eaburns/Watch) **star:200** Runs a command in an acme win on file changes. [![godoc][D]](https://godoc.org/github.com/eaburns/Watch)
2023-06-07 07:22:22 +08:00
- [vim-compiler-go](https://github.com/rjohnsondev/vim-compiler-go) **star:87** 在保存时突出显示语法错误的 Vim 插件。 [![近三年未更新][Y]](https://github.com/rjohnsondev/vim-compiler-go)
2023-02-23 07:27:01 +08:00
- [go-language-server](https://github.com/theia-ide/go-language-server) **star:31** A wrapper to turn the VSCode go extension into a language server supporting the language-server-protocol. [![近三年未更新][Y]](https://github.com/theia-ide/go-language-server) [![归档项目][Archived]](https://github.com/theia-ide/go-language-server)
2023-05-31 07:26:28 +08:00
- [gounit-vim](https://github.com/hexdigest/gounit-vim) **star:23** 基于函数或方法的签名生成Go测试的Vim插件。 [![近三年未更新][Y]](https://github.com/hexdigest/gounit-vim)
2023-02-23 07:27:01 +08:00
- [theia-go-extension](https://github.com/theia-ide/theia-go-extension) **star:15** 在 Theia IDE中支持 Go。 [![近三年未更新][Y]](https://github.com/theia-ide/theia-go-extension) [![归档项目][Archived]](https://github.com/theia-ide/theia-go-extension)
2023-01-09 07:25:06 +08:00
- [Go Doc](https://github.com/msyrus/vscode-go-doc) **star:6** 一个Visual Studio Code扩展用于在输出中显示定义和生成go doc。
2022-03-22 12:36:07 +08:00
- [Go plugin for JetBrains IDEs](https://plugins.jetbrains.com/plugin/9568-go) JetBrains IDEs 的 Go 插件。
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## Go 生成工具
2023-08-04 07:26:48 +08:00
- [gotests](https://github.com/cweill/gotests) **star:4645** 从源代码生成测试用例。 [![近一周有更新][G]](https://github.com/cweill/gotests) [![godoc][D]](https://godoc.org/github.com/cweill/gotests)
2023-08-02 07:21:08 +08:00
- [genny](https://github.com/cheekybits/genny) **star:1679** 优雅的 Go 泛型。 [![godoc][D]](https://godoc.org/github.com/cheekybits/genny)
- [xgen](https://github.com/xuri/xgen) **star:260** XSD (XML模式定义)解析器和Go/C/Java/Rust/TypeScript代码生成器。 [![godoc][D]](https://godoc.org/github.com/xuri/xgen)
2023-05-31 07:26:28 +08:00
- [re2dfa](https://github.com/opennota/re2dfa) **star:193** 将正则表达式转换为有限状态机,并输出 Go 源代码。 [![近三年未更新][Y]](https://github.com/opennota/re2dfa) [![godoc][D]](https://godoc.org/github.com/opennota/re2dfa) [![归档项目][Archived]](https://github.com/opennota/re2dfa)
2023-08-02 07:21:08 +08:00
- [hasgo](https://github.com/DylanMeeus/hasgo) **star:129** 可生成用于切片的 Haskell。 [![godoc][D]](https://godoc.org/github.com/DylanMeeus/hasgo)
2023-04-15 10:58:14 +08:00
- [gonerics](https://github.com/bouk/gonerics) **star:114** Go中的易用的泛型。 [![近三年未更新][Y]](https://github.com/bouk/gonerics) [![godoc][D]](https://godoc.org/github.com/bouk/gonerics)
2023-05-17 07:27:03 +08:00
- [gocontracts](https://github.com/Parquery/gocontracts) **star:98** 通过同步代码和文档来实现 design-by-contract 设计。 [![近三年未更新][Y]](https://github.com/Parquery/gocontracts) [![godoc][D]](https://godoc.org/github.com/Parquery/gocontracts)
2023-07-07 07:24:47 +08:00
- [gounit](https://github.com/hexdigest/gounit) **star:72** 使用您自己的模板生成Go测试用例。 [![近三年未更新][Y]](https://github.com/hexdigest/gounit) [![godoc][D]](https://godoc.org/github.com/hexdigest/gounit)
2023-08-04 07:26:48 +08:00
- [sqlgen](https://github.com/anqiansong/sqlgen) **star:66** Generate gorm, xorm, sqlx, bun, sql code from SQL file or DSN. [![godoc][D]](https://godoc.org/github.com/anqiansong/sqlgen) [![包含中文文档][CN]](https://github.com/anqiansong/sqlgen)
2023-05-04 07:21:08 +08:00
- [TOML-to-Go](https://xuri.me/toml-to-go) 在浏览器中将 TOML 转换为 Go 类型。
2023-07-27 07:20:38 +08:00
- [generic](https://github.com/usk81/generic) **star:48** 灵活的 Go 数据类型。 [![godoc][D]](https://godoc.org/github.com/usk81/generic)
- [options-gen](https://github.com/kazhuravlev/options-gen) **star:43** Functional options described by Dave Cheney's post "Functional options for friendly APIs". [![godoc][D]](https://godoc.org/github.com/kazhuravlev/options-gen)
2023-04-15 10:58:14 +08:00
- [godal](https://github.com/mafulong/godal) **star:17** 通过指定可被gorm使用的sql ddl文件生成golang对应的orm模型。 [![godoc][D]](https://godoc.org/github.com/mafulong/godal)
2019-06-27 17:22:00 +08:00
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## Go 工具
2023-08-04 07:26:48 +08:00
- [go-swagger](https://github.com/go-swagger/go-swagger) **star:8781** 基于 Go 的Swagger 2.0实现。 [![godoc][D]](https://godoc.org/github.com/go-swagger/go-swagger)
- [go-callvis](https://github.com/TrueFurby/go-callvis) **star:5331** 使用 dot format 可视化 Go 程序的调用图。 [![godoc][D]](https://godoc.org/github.com/TrueFurby/go-callvis)
- [OctoLinker](https://github.com/OctoLinker/browser-extension) **star:5161** 借助的 OctoLinker 浏览器扩展,可以高效的地浏览 GitHub go文件。
- [depth](https://github.com/KyleBanks/depth) **star:843** 通过分析导入,将包依赖关系树可视化输出。 [![godoc][D]](https://godoc.org/github.com/KyleBanks/depth)
2023-08-02 07:21:08 +08:00
- [richgo](https://github.com/kyoh86/richgo) **star:802** 用文本装饰丰富 go test 的输出。 [![godoc][D]](https://godoc.org/github.com/kyoh86/richgo)
2023-07-27 07:20:38 +08:00
- [rts](https://github.com/galeone/rts) **star:245** 从服务器响应生成Go结构。 [![godoc][D]](https://godoc.org/github.com/galeone/rts)
2023-06-09 07:21:48 +08:00
- [godbg](https://github.com/tylerwince/godbg) **star:196** 实现了 Rusts 的 dbg! 宏,可以方便的在开发过程中快速、容易地调试。 [![近三年未更新][Y]](https://github.com/tylerwince/godbg) [![godoc][D]](https://godoc.org/github.com/tylerwince/godbg)
2022-03-22 12:36:07 +08:00
- [gomodrun](https://github.com/dustinblackman/gomodrun/) 执行并缓存Go中包含的二进制文件的Go工具。国防部文件。
2022-06-17 07:22:13 +08:00
- [gotemplate.io](https://gotemplate.io/) Online tool to preview `text/template` templates live.
2023-07-27 07:20:38 +08:00
- [typex](https://github.com/dtgorski/typex) **star:180** 检查Go类型及其传递依赖关系或者将结果导出为TypeScript值对象(或类型)声明。 [![godoc][D]](https://godoc.org/github.com/dtgorski/typex)
2023-08-02 07:21:08 +08:00
- [roumon](https://github.com/becheran/roumon) **star:146** 通过命令行接口监控所有激活goroutines的当前状态。 [![godoc][D]](https://godoc.org/github.com/becheran/roumon)
2023-04-15 10:58:14 +08:00
- [gothanks](https://github.com/psampaz/gothanks) **star:118** GoThanks自动帮你开始。mod github依赖以这种方式发送一些爱给他们的维护者。 [![godoc][D]](https://godoc.org/github.com/psampaz/gothanks)
2023-07-07 07:24:47 +08:00
- [colorgo](https://github.com/songgao/colorgo) **star:112** 将 go 命令包装成彩色的 go build 输出。 [![近三年未更新][Y]](https://github.com/songgao/colorgo) [![godoc][D]](https://godoc.org/github.com/songgao/colorgo)
2023-05-16 07:23:55 +08:00
- [go-james](https://github.com/pieterclaerhout/go-james) **star:59** 去项目骨架创造者,建立和测试您的项目没有手动设置。 [![godoc][D]](https://godoc.org/github.com/pieterclaerhout/go-james) [![归档项目][Archived]](https://github.com/pieterclaerhout/go-james)
2023-07-10 07:28:10 +08:00
- [igo](https://github.com/rocketlaunchr/igo) **star:59** 一个igo to go transpiler (go语言的新语言功能!) [![近三年未更新][Y]](https://github.com/rocketlaunchr/igo) [![godoc][D]](https://godoc.org/github.com/rocketlaunchr/igo)
2023-08-02 07:21:08 +08:00
- [gotestdox](https://github.com/bitfield/gotestdox) **star:52** Go测试结果显示为可读的句子。 [![godoc][D]](https://godoc.org/github.com/bitfield/gotestdox)
2022-12-13 07:24:13 +08:00
- [go-pkg-complete](https://github.com/skelterjohn/go-pkg-complete) **star:42** Bash completion for go and wgo。 [![近三年未更新][Y]](https://github.com/skelterjohn/go-pkg-complete)
2023-06-19 07:27:31 +08:00
- [docs](https://github.com/go-oas/docs) **star:23** 自动为GO项目生成RESTful API文档-与开放API规范标准一致。 [![godoc][D]](https://godoc.org/github.com/go-oas/docs)
2023-07-10 07:28:10 +08:00
- [modver](https://github.com/bobg/modver) **star:8** 根据[semver](https://semver.org/)规则比较Go模块的两个版本以检查所需的版本号更改(主要、次要或patchlevel)。 [![godoc][D]](https://godoc.org/github.com/bobg/modver)
2023-05-09 07:21:25 +08:00
- [textra](https://github.com/ravsii/textra) **star:4** Extract Go struct field names, types and tags for filtering and exporting. [![godoc][D]](https://godoc.org/github.com/ravsii/textra)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 软件包
2022-03-22 12:36:07 +08:00
_用Go编写的软件。 (翻译出错了? 试试 [英文版](README_EN.md#software-packages) 吧~)_
2019-06-27 17:22:00 +08:00
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-07-01 18:49:40 +08:00
### DevOps 工具
2019-06-27 17:22:00 +08:00
2023-08-04 07:26:48 +08:00
- [kubernetes](https://github.com/kubernetes/kubernetes) **star:100575** 来自谷歌的容器集群管理器。 [![近一周有更新][G]](https://github.com/kubernetes/kubernetes) [![godoc][D]](https://godoc.org/github.com/kubernetes/kubernetes)
- [Moby](https://github.com/moby/moby) **star:66375** Collaborative project for the container ecosystem to assemble container-based systems. [![近一周有更新][G]](https://github.com/moby/moby) [![godoc][D]](https://godoc.org/github.com/moby/moby)
- [traefik](https://github.com/containous/traefik) **star:44054** 反向代理和负载均衡器,支持多个后端。 [![近一周有更新][G]](https://github.com/containous/traefik) [![godoc][D]](https://godoc.org/github.com/containous/traefik)
- [Gitea](https://github.com/go-gitea/gitea) **star:37775** 从 Gogs fork完全由社区驱动。 [![近一周有更新][G]](https://github.com/go-gitea/gitea) [![godoc][D]](https://godoc.org/github.com/go-gitea/gitea) [![包含中文文档][CN]](https://github.com/go-gitea/gitea)
2022-03-22 12:36:07 +08:00
- [gitea-github-migrator](https://git.jonasfranz.software/JonasFranzDEV/gitea-github-migrator) 将所有GitHub repositories、issues、milestones 和 labels 都迁移到 Gitea。
2023-08-04 07:26:48 +08:00
- [Vegeta](https://github.com/tsenart/vegeta) **star:21627** HTTP负载测试工具和库。超过9000 ! [![godoc][D]](https://godoc.org/github.com/tsenart/vegeta)
- [Hey](https://github.com/rakyll/hey) **star:16024** 压力测试工具,可用来代替 ApacheBench (ab)。 [![godoc][D]](https://godoc.org/github.com/rakyll/hey)
- [Packer](https://github.com/mitchellh/packer) **star:14557** 用于从一个源配置为多个平台创建相同的机器图像。 [![近一周有更新][G]](https://github.com/mitchellh/packer) [![godoc][D]](https://godoc.org/github.com/mitchellh/packer)
- [Mizu](https://github.com/up9inc/mizu) **star:9368** Kubernetes的API流量查看器可以查看微服务之间的所有API通信多协议支持:HTTP1.1, HTTP/2, AMQP, Kafka, Redis。 [![近一周有更新][G]](https://github.com/up9inc/mizu) [![godoc][D]](https://godoc.org/github.com/up9inc/mizu)
- [webhook](https://github.com/adnanh/webhook) **star:9155** 允许用户创建在服务器上执行命令的 HTTP hooks。 [![近一周有更新][G]](https://github.com/adnanh/webhook) [![godoc][D]](https://godoc.org/github.com/adnanh/webhook)
2022-03-22 12:36:07 +08:00
- [Wide](https://wide.b3log.org/login) 为使用 Golang 的团队提供基于 web 的 IDE。
2023-08-04 07:26:48 +08:00
- [GVM](https://github.com/moovweb/gvm) **star:8663** GVM 提供了一个接口来管理 Go 版本。 [![近一周有更新][G]](https://github.com/moovweb/gvm)
- [Ddosify](https://github.com/ddosify/ddosify) **star:7645** 高性能负载测试工具用Golang编写。 [![近一周有更新][G]](https://github.com/ddosify/ddosify) [![godoc][D]](https://godoc.org/github.com/ddosify/ddosify)
- [ko](https://github.com/google/ko) **star:6236** 命令行工具用于在Kubernetes上构建和部署Go应用程序 [![近一周有更新][G]](https://github.com/google/ko) [![godoc][D]](https://godoc.org/github.com/google/ko)
- [KubeVela](https://github.com/kubevela/kubevela) **star:5486** Cloud native application delivery. [![近一周有更新][G]](https://github.com/kubevela/kubevela) [![godoc][D]](https://godoc.org/github.com/kubevela/kubevela)
- [gaia](https://github.com/gaia-pipeline/gaia) **star:5093** 可用于任何编程语言来构建强大的管道。 [![godoc][D]](https://godoc.org/github.com/gaia-pipeline/gaia)
- [gox](https://github.com/mitchellh/gox) **star:4554** 非常简单,没有多余的跨平台编译工具。 [![godoc][D]](https://godoc.org/github.com/mitchellh/gox)
- [bombardier](https://github.com/codesenberg/bombardier) **star:4466** 快速跨平台 HTTP 基准测试工具。 [![godoc][D]](https://godoc.org/github.com/codesenberg/bombardier)
- [script](https://github.com/bitfield/script) **star:4242** 让DevOps编写类shell和系统管理任务变得更加容易。 [![godoc][D]](https://godoc.org/github.com/bitfield/script)
2023-08-02 07:21:08 +08:00
- [Pomerium](https://github.com/pomerium/pomerium) **star:3620** Pomerium是一个可识别身份的访问代理。 [![近一周有更新][G]](https://github.com/pomerium/pomerium) [![godoc][D]](https://godoc.org/github.com/pomerium/pomerium)
- [bosun](https://github.com/bosun-monitor/bosun) **star:3362** 按照时间轴发出告警的框架。 [![godoc][D]](https://godoc.org/github.com/bosun-monitor/bosun)
2023-08-04 07:26:48 +08:00
- [kala](https://github.com/ajvb/kala) **star:2015** 简单、现代和高性能的作业调度程序。 [![godoc][D]](https://godoc.org/github.com/ajvb/kala)
- [s5cmd](https://github.com/peak/s5cmd) **star:1811** 非常快的S3和本地文件系统执行工具。 [![近一周有更新][G]](https://github.com/peak/s5cmd) [![godoc][D]](https://godoc.org/github.com/peak/s5cmd)
2023-08-02 07:21:08 +08:00
- [fac](https://github.com/mkchoi212/fac) **star:1810** 修复 git 合并冲突。 [![godoc][D]](https://godoc.org/github.com/mkchoi212/fac)
- [goxc](https://github.com/laher/goxc) **star:1681** 专注于跨平台编译和打包的 Go 构建工具。 [![近三年未更新][Y]](https://github.com/laher/goxc) [![godoc][D]](https://godoc.org/github.com/laher/goxc) [![归档项目][Archived]](https://github.com/laher/goxc)
2023-07-07 07:24:47 +08:00
- [StatusOK](https://github.com/sanathp/statusok) **star:1584** 监视您的网站和REST api。当服务器宕机或响应时间超过预期时通过Slack、电子邮件获得通知。 [![godoc][D]](https://godoc.org/github.com/sanathp/statusok)
2023-08-04 07:26:48 +08:00
- [Fleet device management](https://github.com/fleetdm/fleet) **star:1458** Lightweight, programmable telemetry for servers and workstations. [![近一周有更新][G]](https://github.com/fleetdm/fleet) [![godoc][D]](https://godoc.org/github.com/fleetdm/fleet)
2023-08-02 07:21:08 +08:00
- [ghorg](https://github.com/gabrie30/ghorg) **star:1314** 支持GitHub, GitLab, Gitea和Bitbucket。 [![近一周有更新][G]](https://github.com/gabrie30/ghorg) [![godoc][D]](https://godoc.org/github.com/gabrie30/ghorg)
2023-08-04 07:26:48 +08:00
- [go-selfupdate](https://github.com/sanbornm/go-selfupdate) **star:1244** 允许你的 Go应用程序 进行自我更新。 [![godoc][D]](https://godoc.org/github.com/sanbornm/go-selfupdate)
2023-08-02 07:21:08 +08:00
- [s3gof3r](https://github.com/rlmcpherson/s3gof3r) **star:1139** 小型实用程序/库针对大型对象在Amazon S3中的高速传输进行了优化。 [![godoc][D]](https://godoc.org/github.com/rlmcpherson/s3gof3r)
2023-08-04 07:26:48 +08:00
- [uTask](https://github.com/ovh/utask) **star:943** 对yaml中声明的业务流程进行建模和执行的自动化引擎。 [![近一周有更新][G]](https://github.com/ovh/utask) [![godoc][D]](https://godoc.org/github.com/ovh/utask)
2023-08-02 07:21:08 +08:00
- [skm](https://github.com/TimothyYe/skm) **star:883** SKM是一个简单而强大的SSH密钥管理器它可以帮助您轻松地管理多个SSH密钥! [![godoc][D]](https://godoc.org/github.com/TimothyYe/skm)
- [Scaleway-cli](https://github.com/scaleway/scaleway-cli) **star:832** 从命令行管理 BareMetal 服务器(与使用Docker一样容易)。 [![近一周有更新][G]](https://github.com/scaleway/scaleway-cli) [![godoc][D]](https://godoc.org/github.com/scaleway/scaleway-cli)
- [kwatch](https://github.com/abahmed/kwatch) **star:776** 立即监视和检测Kubernetes(k8)集群中的崩溃。 [![近一周有更新][G]](https://github.com/abahmed/kwatch) [![godoc][D]](https://godoc.org/github.com/abahmed/kwatch)
2023-08-04 07:26:48 +08:00
- [cassowary](https://github.com/rogerwelin/cassowary) **star:676** 用Go编写的跨平台HTTP负载测试工具。 [![godoc][D]](https://godoc.org/github.com/rogerwelin/cassowary) [![包含中文文档][CN]](https://github.com/rogerwelin/cassowary)
- [kool](https://github.com/kool-dev/kool) **star:629** 命令行工具管理Docker环境作为一种简单的方式。 [![近一周有更新][G]](https://github.com/kool-dev/kool) [![godoc][D]](https://godoc.org/github.com/kool-dev/kool)
2023-07-17 07:22:48 +08:00
- [aurora](https://github.com/xuri/aurora) **star:580** 基于web的跨平台 Beanstalkd 队列服务器控制台。
2023-08-02 07:21:08 +08:00
- [govvv](https://github.com/ahmetalpbalkan/govvv) **star:533** 可轻松地添加版本信息到 Go 二进制文件。 [![godoc][D]](https://godoc.org/github.com/ahmetalpbalkan/govvv)
2023-08-04 07:26:48 +08:00
- [Pewpew](https://github.com/bengadbois/pewpew) **star:384** 灵活的 HTTP 命令行压测工具。 [![godoc][D]](https://godoc.org/github.com/bengadbois/pewpew)
2023-08-02 07:21:08 +08:00
- [jcli](https://github.com/jenkins-zh/jenkins-cli) **star:365** 詹金斯CLI允许你管理你的詹金斯作为一个简单的方法。 [![godoc][D]](https://godoc.org/github.com/jenkins-zh/jenkins-cli) [![包含中文文档][CN]](https://github.com/jenkins-zh/jenkins-cli)
2023-04-15 10:58:14 +08:00
- [gonative](https://github.com/inconshreveable/gonative) **star:334** 用原生 Go 创建一个跨平台的 Go 工具链。 [![近三年未更新][Y]](https://github.com/inconshreveable/gonative) [![godoc][D]](https://godoc.org/github.com/inconshreveable/gonative)
- [trubka](https://github.com/xitonix/trubka) **star:330** 一个CLI工具用于管理和故障排除Apache Kafka集群具有通用发布/使用协议缓冲区和与Kafka之间的纯文本事件的能力。 [![godoc][D]](https://godoc.org/github.com/xitonix/trubka)
2023-08-02 07:21:08 +08:00
- [Mora](https://github.com/emicklei/mora) **star:312** 用于访问 MongoDB 文档和元数据的 REST 服务器。 [![godoc][D]](https://godoc.org/github.com/emicklei/mora)
2023-07-17 07:22:48 +08:00
- [lstags](https://github.com/ivanilves/lstags) **star:307** 提供了工具和API可用来同步不同注册中心的Docker图像。 [![godoc][D]](https://godoc.org/github.com/ivanilves/lstags)
2023-07-27 07:20:38 +08:00
- [Balerter](https://github.com/balerter/balerter) **star:288** 一个自托管的基于脚本的警报管理器。 [![godoc][D]](https://godoc.org/github.com/balerter/balerter)
2023-08-04 07:26:48 +08:00
- [easyssh-proxy](https://github.com/appleboy/easyssh-proxy) **star:285** Golang package for easy remote execution through SSH and SCP downloading via `ProxyCommand`. [![godoc][D]](https://godoc.org/github.com/appleboy/easyssh-proxy)
2023-08-02 07:21:08 +08:00
- [manssh](https://github.com/xwjdsh/manssh) **star:285** manssh是一个命令行工具可以方便地管理ssh别名配置。 [![godoc][D]](https://godoc.org/github.com/xwjdsh/manssh)
- [gobrew](https://github.com/kevincobain2000/gobrew) **star:264** Go version manager. Super simple tool to install and manage Go versions. Install go without root. Gobrew doesn't require shell rehash. [![近一周有更新][G]](https://github.com/kevincobain2000/gobrew) [![godoc][D]](https://godoc.org/github.com/kevincobain2000/gobrew)
2023-05-10 07:20:51 +08:00
- [dogo](https://github.com/liudng/dogo) **star:257** 监视源文件中的更改并自动编译和运行(restart)。 [![近三年未更新][Y]](https://github.com/liudng/dogo) [![godoc][D]](https://godoc.org/github.com/liudng/dogo) [![包含中文文档][CN]](https://github.com/liudng/dogo)
2023-08-02 07:21:08 +08:00
- [terraform-provider-openapi](https://github.com/dikhan/terraform-provider-openapi) **star:252** Terraform provider plugin它根据OpenAPI文档(以前称为swagger文件)在运行时动态配置自身该文档包含了公开的api的定义。 [![godoc][D]](https://godoc.org/github.com/dikhan/terraform-provider-openapi)
- [godbg](https://github.com/sirnewton01/godbg) **star:227** 基于 web 的 gdb 前端应用程序。 [![近三年未更新][Y]](https://github.com/sirnewton01/godbg)
2022-03-22 12:36:07 +08:00
- [Gogs](https://gogs.io/) 自托管的Git服务。
2023-07-27 07:20:38 +08:00
- [Blast](https://github.com/dave/blast) **star:211** 一个用于API负载测试和批处理作业的简单工具。 [![近三年未更新][Y]](https://github.com/dave/blast) [![godoc][D]](https://godoc.org/github.com/dave/blast)
2023-08-04 07:26:48 +08:00
- [s3-proxy](https://github.com/oxyno-zeta/s3-proxy) **star:204** 具有GET、PUT和DELETE方法和身份验证(OpenID连接和基本身份验证)的S3代理。 [![近一周有更新][G]](https://github.com/oxyno-zeta/s3-proxy) [![godoc][D]](https://godoc.org/github.com/oxyno-zeta/s3-proxy)
2023-06-29 07:26:27 +08:00
- [abbreviate](https://github.com/dnnrly/abbreviate) **star:203** abbreviate is a tool turning long strings in to shorter ones with configurable separators, for example to embed branch names in to deployment stack IDs. [![godoc][D]](https://godoc.org/github.com/dnnrly/abbreviate)
2023-07-07 07:24:47 +08:00
- [kcli](https://github.com/cswank/kcli) **star:196** 用于检查kafka主题/分区/消息的命令行工具。 [![近三年未更新][Y]](https://github.com/cswank/kcli) [![godoc][D]](https://godoc.org/github.com/cswank/kcli)
2023-08-02 07:21:08 +08:00
- [gobrew](https://github.com/cryptojuice/gobrew) **star:194** gobrew 允许您轻松地在 go 的多个版本之间切换。 [![近三年未更新][Y]](https://github.com/cryptojuice/gobrew)
2023-07-10 07:28:10 +08:00
- [ostent](https://github.com/ostrost/ostent) **star:177** 收集和显示系统指标,并可选 Graphite and/or fluxdb作为依赖。 [![godoc][D]](https://godoc.org/github.com/ostrost/ostent)
2023-07-27 07:20:38 +08:00
- [grapes](https://github.com/yaronsumel/grapes) **star:163** 旨在轻松地通过ssh分发命令的轻量级工具。 [![godoc][D]](https://godoc.org/github.com/yaronsumel/grapes)
- [Dockerfile-Generator](https://github.com/ozankasikci/dockerfile-generator) **star:154** 一个go库和一个可执行文件它使用各种输入通道生成有效的Dockerfiles。 [![godoc][D]](https://godoc.org/github.com/ozankasikci/dockerfile-generator)
2023-04-27 07:22:09 +08:00
- [winrm-cli](https://github.com/masterzen/winrm-cli) **star:154** 在Windows机器上远程执行命令的Cli工具。 [![godoc][D]](https://godoc.org/github.com/masterzen/winrm-cli)
2023-07-20 07:26:36 +08:00
- [drone-scp](https://github.com/appleboy/drone-scp) **star:123** 通过 SSH 进行文件拷贝。其中 SSH 通过二进制文件、docker 或 Drone CI触发。 [![godoc][D]](https://godoc.org/github.com/appleboy/drone-scp)
2023-08-04 07:26:48 +08:00
- [tf-profile](https://github.com/datarootsio/tf-profile) **star:117** Profiler for Terraform runs. Generate global stats, resource-level stats or visualizations. [![godoc][D]](https://godoc.org/github.com/datarootsio/tf-profile)
2023-07-12 07:22:59 +08:00
- [Mantil](https://github.com/mantil-io/mantil) **star:104** 使用特定的框架在AWS上构建无服务器应用程序使您能够专注于纯Go代码而Mantil负责基础设施。 [![godoc][D]](https://godoc.org/github.com/mantil-io/mantil)
2023-04-17 07:20:12 +08:00
- [go-furnace](https://github.com/go-furnace/go-furnace) **star:97** 用Go编写的托管解决方案可轻松地在AWS、GCP或DigitalOcean上部署应用程序。 [![godoc][D]](https://godoc.org/github.com/go-furnace/go-furnace)
2023-07-17 07:22:48 +08:00
- [go-rocket-update](https://github.com/mouuff/go-rocket-update) **star:83** A simple way to make self updating Go applications - Supports Github and Gitlab. [![godoc][D]](https://godoc.org/github.com/mouuff/go-rocket-update)
2023-07-12 07:22:59 +08:00
- [Dropship](https://github.com/chrismckenzie/dropship) **star:64** 通过 cdn 部署代码的工具。 [![近三年未更新][Y]](https://github.com/chrismckenzie/dropship) [![godoc][D]](https://godoc.org/github.com/chrismckenzie/dropship)
2023-08-02 07:21:08 +08:00
- [docker-go-mingw](https://github.com/x1unix/docker-go-mingw) **star:37** 使用MinGW工具链在Windows上构建Go二进制文件的Docker图像。
2023-05-16 07:23:55 +08:00
- [drone-jenkins](https://github.com/appleboy/drone-jenkins) **star:37** 使用二进制文件、docker或 Drone CI 来触发下游Jenkins作业。 [![godoc][D]](https://godoc.org/github.com/appleboy/drone-jenkins)
2022-12-30 07:23:10 +08:00
- [Rodent](https://github.com/alouche/rodent) **star:34** 管理Go版本、项目和跟踪依赖项。 [![近三年未更新][Y]](https://github.com/alouche/rodent)
2023-04-15 10:58:14 +08:00
- [awsenv](https://github.com/soniah/awsenv) **star:33** 可以为 profile 加载Amazon (AWS)环境变量的轻量二进制文件。 [![近三年未更新][Y]](https://github.com/soniah/awsenv) [![godoc][D]](https://godoc.org/github.com/soniah/awsenv)
2023-08-02 07:21:08 +08:00
- [httpref](https://github.com/dnnrly/httpref) **star:31** httpref是一个方便的CLI参考用于HTTP方法、状态码、头以及TCP和UDP端口。 [![godoc][D]](https://godoc.org/github.com/dnnrly/httpref)
2023-06-19 07:27:31 +08:00
- [lwc](https://github.com/timdp/lwc) **star:29** UNIX wc命令的实时更新版本。 [![godoc][D]](https://godoc.org/github.com/timdp/lwc)
2022-10-05 07:28:40 +08:00
- [DepCharge](https://github.com/centerorbit/depcharge) **star:23** Helps orchestrating the execution of commands across the many dependencies in larger projects. [![godoc][D]](https://godoc.org/github.com/centerorbit/depcharge)
2023-05-31 07:26:28 +08:00
- [wait-for](https://github.com/dnnrly/wait-for) **star:14** Wait for something to happen (from the command line) before continuing. Easy orchestration of Docker services and other things. [![godoc][D]](https://godoc.org/github.com/dnnrly/wait-for)
2022-11-07 07:27:33 +08:00
- [aptly](https://github.com/smira/aptly) **star:9** Debian存储库管理工具。 [![近三年未更新][Y]](https://github.com/smira/aptly) [![godoc][D]](https://godoc.org/github.com/smira/aptly)
2022-10-05 07:28:40 +08:00
- [sg](https://github.com/ChristopherRabotin/sg) **star:8** 可测试一组HTTP极限(如ab),可以在每个调用之间使用响应代码和数据,根据之前的响应来确定特定的服务器压力。 [![近三年未更新][Y]](https://github.com/ChristopherRabotin/sg) [![godoc][D]](https://godoc.org/github.com/ChristopherRabotin/sg)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
### 其他软件
2019-07-02 15:35:15 +08:00
2023-08-04 07:26:48 +08:00
- [croc](https://github.com/schollz/croc) **star:23237** 轻松、安全地将文件或文件夹从一台计算机发送到另一台计算机。 [![godoc][D]](https://godoc.org/github.com/schollz/croc)
2022-03-22 12:36:07 +08:00
- [Docker](https://www.docker.com/) 面向开发人员和系统管理员的分布式应用程序的开放平台。
2023-08-04 07:26:48 +08:00
- [restic](https://github.com/restic/restic) **star:20840** 消除重复项备份程序。 [![近一周有更新][G]](https://github.com/restic/restic) [![godoc][D]](https://godoc.org/github.com/restic/restic)
- [Seaweed File System](https://github.com/chrislusf/seaweedfs) **star:17969** 快速、简单、可伸缩的分布式文件系统采用了O(1)磁盘查找。 [![近一周有更新][G]](https://github.com/chrislusf/seaweedfs) [![godoc][D]](https://godoc.org/github.com/chrislusf/seaweedfs)
- [Gor](https://github.com/buger/gor) **star:17656** Http 流量复制工具,用于实时回放从生产环境到阶段/开发环境的流量。 [![近一周有更新][G]](https://github.com/buger/gor) [![godoc][D]](https://godoc.org/github.com/buger/gor)
- [Comcast](https://github.com/tylertreat/Comcast) **star:10000** 模拟坏的网络连接。 [![godoc][D]](https://godoc.org/github.com/tylertreat/Comcast)
- [toxiproxy](https://github.com/shopify/toxiproxy) **star:9254** 为自动化测试模拟网络和系统条件的代理。 [![近一周有更新][G]](https://github.com/shopify/toxiproxy) [![godoc][D]](https://godoc.org/github.com/shopify/toxiproxy)
2022-03-22 12:36:07 +08:00
- [tsuru](https://tsuru.io/) Extensible and open source Platform as a Service software.
2023-08-02 07:21:08 +08:00
- [confd](https://github.com/kelseyhightower/confd) **star:8139** 使用 etcd 或 consul 的模板和数据管理本地应用程序配置文件。 [![godoc][D]](https://godoc.org/github.com/kelseyhightower/confd)
- [LiteIDE](https://github.com/visualfc/liteide) **star:7260** 简单的、开源的、跨平台的Go IDE。 [![包含中文文档][CN]](https://github.com/visualfc/liteide)
2023-08-04 07:26:48 +08:00
- [drive](https://github.com/odeke-em/drive) **star:6558** 基于命令行的谷歌驱动器客户端。 [![godoc][D]](https://godoc.org/github.com/odeke-em/drive)
- [nes](https://github.com/fogleman/nes) **star:5264** 任天堂娱乐系统(NES)模拟器。 [![近一周有更新][G]](https://github.com/fogleman/nes) [![godoc][D]](https://godoc.org/github.com/fogleman/nes)
- [scc](https://github.com/boyter/scc) **star:4913** 一个非常快速准确的代码计数器,采用了复杂的计算和 COCOMO 预估。 [![近一周有更新][G]](https://github.com/boyter/scc) [![godoc][D]](https://godoc.org/github.com/boyter/scc)
- [Duplicacy](https://github.com/gilbertchen/duplicacy) **star:4715** 跨平台网络和云备份工具。 [![godoc][D]](https://godoc.org/github.com/gilbertchen/duplicacy)
- [blocky](https://github.com/0xERR0R/blocky) **star:2769** 快速和轻量级的DNS代理作为广告拦截器为本地网络具有许多功能。 [![近一周有更新][G]](https://github.com/0xERR0R/blocky) [![godoc][D]](https://godoc.org/github.com/0xERR0R/blocky)
- [myLG](https://github.com/mehrdadrad/mylg) **star:2660** 命令行网络诊断工具。 [![近三年未更新][Y]](https://github.com/mehrdadrad/mylg) [![godoc][D]](https://godoc.org/github.com/mehrdadrad/mylg)
2023-07-27 07:20:38 +08:00
- [GoBoy](https://github.com/Humpheh/goboy) **star:2525** 用 Go 编写的任天堂Game Boy彩色模拟器。 [![godoc][D]](https://godoc.org/github.com/Humpheh/goboy)
2023-08-04 07:26:48 +08:00
- [Stack Up](https://github.com/pressly/sup) **star:2431** Stack Up 是一个超级简单的部署工具 — 只面向Unix。 [![godoc][D]](https://godoc.org/github.com/pressly/sup)
2023-08-02 07:21:08 +08:00
- [lgo](https://github.com/yunabe/lgo) **star:2317** 与 Jupyter 可进行交互 Go 程序。它支持代码完成、代码检查以及与Go 100% 兼容性。 [![godoc][D]](https://godoc.org/github.com/yunabe/lgo)
2022-03-22 12:36:07 +08:00
- [limetext](https://limetext.github.io) 一个强大而优雅的文本编辑器。
2023-08-04 07:26:48 +08:00
- [Circuit](https://github.com/gocircuit/circuit) **star:1969** Circuit 是一个可编程平台即服务(PaaS)和/或基础设施即服务(IaaS),用于管理、发现、同步和编排包含云应用程序的服务和主机。 [![近三年未更新][Y]](https://github.com/gocircuit/circuit) [![godoc][D]](https://godoc.org/github.com/gocircuit/circuit)
- [Documize](https://github.com/documize/community) **star:1904** 集成了SaaS工具数据的现代wiki软件。
2023-07-20 07:26:36 +08:00
- [snap](https://github.com/intelsdi-x/snap) **star:1797** 强大的遥测框架。 [![godoc][D]](https://godoc.org/github.com/intelsdi-x/snap) [![归档项目][Archived]](https://github.com/intelsdi-x/snap)
2023-07-10 07:28:10 +08:00
- [borg](https://github.com/crufter/borg) **star:1580** 基于终端的bash代码段搜索引擎。 [![近三年未更新][Y]](https://github.com/crufter/borg) [![godoc][D]](https://godoc.org/github.com/crufter/borg)
2023-08-04 07:26:48 +08:00
- [Plik](https://github.com/root-gg/plik) **star:1267** Plik是Go中的临时文件上传系统(类似于Wetransfer)。 [![近一周有更新][G]](https://github.com/root-gg/plik) [![godoc][D]](https://godoc.org/github.com/root-gg/plik)
- [shell2http](https://github.com/msoap/shell2http) **star:1142** 通过http服务器执行shell命令(用于原型或远程控制)。 [![godoc][D]](https://godoc.org/github.com/msoap/shell2http)
2023-07-27 07:20:38 +08:00
- [vFlow](https://github.com/VerizonDigital/vflow) **star:1001** 高性能、可伸缩和可靠的 IPFIX、sFlow和 Netflow 收集器。 [![godoc][D]](https://godoc.org/github.com/VerizonDigital/vflow)
2023-08-02 07:21:08 +08:00
- [peg](https://github.com/pointlander/peg) **star:920** 解析表达式语法是Packrat解析器生成器的实现。 [![godoc][D]](https://godoc.org/github.com/pointlander/peg)
2023-08-04 07:26:48 +08:00
- [portal](https://github.com/SpatiumPortae/portal) **star:919** Portal is a quick and easy command-line file transfer utility from any computer to another. [![godoc][D]](https://godoc.org/github.com/SpatiumPortae/portal)
2023-07-20 07:26:36 +08:00
- [Go Package Store](https://github.com/shurcooL/Go-Package-Store) **star:895** App that displays updates for the Go packages in your GOPATH. [![godoc][D]](https://godoc.org/github.com/shurcooL/Go-Package-Store)
2023-08-04 07:26:48 +08:00
- [Gokapi](https://github.com/Forceu/gokapi) **star:754** Lightweight server to share files, which expire after a set amount of downloads or days. Similar to Firefox Send, but without public upload. [![godoc][D]](https://godoc.org/github.com/Forceu/gokapi)
2022-11-22 07:23:48 +08:00
- [GoLand](https://jetbrains.com/go) 功能齐全的跨平台 Go IDE。
2023-08-02 07:21:08 +08:00
- [Leaps](https://github.com/jeffail/leaps) **star:737** 使用操作转换的成对编程服务。 [![godoc][D]](https://godoc.org/github.com/jeffail/leaps)
2023-07-27 07:20:38 +08:00
- [gfile](https://github.com/Antonito/gfile) **star:705** 通过WebRTC在两台计算机之间安全地传输文件不需要任何第三方依赖。 [![godoc][D]](https://godoc.org/github.com/Antonito/gfile)
- [Guora](https://github.com/meloalright/guora) **star:652** 一个用Go编写的类似Quora的自托管web应用程序。 [![godoc][D]](https://godoc.org/github.com/meloalright/guora) [![包含中文文档][CN]](https://github.com/meloalright/guora)
2023-08-02 07:21:08 +08:00
- [Gebug](https://github.com/moshebe/gebug) **star:621** 一个工具通过启用调试器和热重新加载特性使docker化的Go应用程序的调试非常容易无缝。 [![近一周有更新][G]](https://github.com/moshebe/gebug) [![godoc][D]](https://godoc.org/github.com/moshebe/gebug)
2023-07-27 07:20:38 +08:00
- [sake](https://github.com/alajmo/sake) **star:608** sake is a command runner for local and remote hosts. [![godoc][D]](https://godoc.org/github.com/alajmo/sake)
2023-08-04 07:26:48 +08:00
- [gocc](https://github.com/goccmack/gocc) **star:579** Gocc是一个用Go编写的编译器工具包。 [![godoc][D]](https://godoc.org/github.com/goccmack/gocc)
2023-08-02 07:21:08 +08:00
- [mockingjay](https://github.com/quii/mockingjay-server) **star:543** 一份配置文件中便可伪造HTTP服务器与用户之间的行为。您还可以使服务器随机宕机以帮助进行更实际的性能测试。 [![godoc][D]](https://godoc.org/github.com/quii/mockingjay-server)
2023-07-03 07:26:28 +08:00
- [go-peerflix](https://github.com/Sioro-Neoku/go-peerflix) **star:455** 视频流 torrent 客户端。 [![godoc][D]](https://godoc.org/github.com/Sioro-Neoku/go-peerflix)
2022-03-22 12:36:07 +08:00
- [goblin](https://goblin.reaper.im) 戈朗双星在一个卷曲,由地精建造。
2023-08-02 07:21:08 +08:00
- [woke](https://github.com/get-woke/woke) **star:387** 检测源代码中不包含的语言。 [![godoc][D]](https://godoc.org/github.com/get-woke/woke)
2023-04-24 07:24:18 +08:00
- [zs](https://git.mills.io/prologic/zs) an extremely minimal static site generator.
2023-06-19 07:27:31 +08:00
- [ipe](https://github.com/dimiro1/ipe) **star:367** Open source Pusher server implementation compatible with Pusher client libraries written in GO. [![godoc][D]](https://godoc.org/github.com/dimiro1/ipe) [![归档项目][Archived]](https://github.com/dimiro1/ipe)
2023-07-27 07:20:38 +08:00
- [ide](https://github.com/thestrukture/ide) **star:353** 基于浏览器的IDE [![godoc][D]](https://godoc.org/github.com/thestrukture/ide)
- [tcpprobe](https://github.com/mehrdadrad/tcpprobe) **star:338** 用于网络性能和路径监控的TCP工具包括套接字统计信息。 [![godoc][D]](https://godoc.org/github.com/mehrdadrad/tcpprobe)
2023-06-29 07:26:27 +08:00
- [wellington](https://github.com/wellington/wellington) **star:303** Sass 项目管理工具使用sprite函数(如Compass)扩展语言。 [![godoc][D]](https://godoc.org/github.com/wellington/wellington)
2023-07-17 07:22:48 +08:00
- [Cherry](https://github.com/rafael-santiago/cherry) **star:289** 微型网络聊天服务器。 [![近三年未更新][Y]](https://github.com/rafael-santiago/cherry) [![godoc][D]](https://godoc.org/github.com/rafael-santiago/cherry)
2023-08-04 07:26:48 +08:00
- [GoNB](https://github.com/janpfeifer/gonb) **star:265** Interactive Go programming with Jupyter Notebooks (also works in VSCode, Binder and Google's Colab). [![近一周有更新][G]](https://github.com/janpfeifer/gonb) [![godoc][D]](https://godoc.org/github.com/janpfeifer/gonb)
- [Neo-cowsay](https://github.com/Code-Hex/Neo-cowsay) **star:257** 🐮cowsay重生。一个新时代。 [![godoc][D]](https://godoc.org/github.com/Code-Hex/Neo-cowsay)
2023-08-02 07:21:08 +08:00
- [hotswap](https://github.com/edwingeng/hotswap) **star:241** A complete solution to reload your go code without restarting your server, interrupting or blocking any ongoing procedure. [![godoc][D]](https://godoc.org/github.com/edwingeng/hotswap) [![包含中文文档][CN]](https://github.com/edwingeng/hotswap)
2023-02-20 07:27:34 +08:00
- [hugo](https://gohugo.io/) 快速、现代的静态网站引擎。
2023-08-02 07:21:08 +08:00
- [tcpdog](https://github.com/mehrdadrad/tcpdog) **star:235** 基于eBPF的TCP可观测性。 [![godoc][D]](https://godoc.org/github.com/mehrdadrad/tcpdog)
2023-07-20 07:26:36 +08:00
- [joincap](https://github.com/assafmo/joincap) **star:192** 用于合并多个pcap文件的命令行实用程序。 [![godoc][D]](https://godoc.org/github.com/assafmo/joincap)
2022-03-22 12:36:07 +08:00
- [Juju](https://jujucharms.com/) Cloud-agnostic的服务部署和编制 —— 支持EC2、Azure、Openstack、MAAS等。
2023-07-03 07:26:28 +08:00
- [Orbit](https://github.com/gulien/orbit) **star:177** 一个根据模板来运行命令和生成文件的简单小工具。 [![godoc][D]](https://godoc.org/github.com/gulien/orbit)
2022-03-22 12:36:07 +08:00
- [Better Go Playground](https://goplay.tools) 使用语法高亮显示、代码完成和其他功能。
2023-08-04 07:26:48 +08:00
- [crawley](https://github.com/s0rg/crawley) **star:153** 网刮板/爬虫为cli。 [![近一周有更新][G]](https://github.com/s0rg/crawley) [![godoc][D]](https://godoc.org/github.com/s0rg/crawley)
2023-07-20 07:26:36 +08:00
- [vaku](https://github.com/lingrino/vaku) **star:150** 用于库中基于文件夹的函数(如复制、移动和搜索)的CLI和API。 [![近一周有更新][G]](https://github.com/lingrino/vaku) [![godoc][D]](https://godoc.org/github.com/lingrino/vaku)
2023-08-02 07:21:08 +08:00
- [stew](https://github.com/marwanhawari/stew) **star:115** 一个独立的编译二进制文件的包管理器。 [![godoc][D]](https://godoc.org/github.com/marwanhawari/stew)
2022-03-22 12:36:07 +08:00
- [syncthing](https://syncthing.net/) 开放,分散的文件同步工具和协议。
2023-04-15 10:58:14 +08:00
- [dp](https://github.com/scryinfo/dp) **star:84** 通过SDK与区块链进行数据交换开发人员可以轻松访问DAPP开发。 [![godoc][D]](https://godoc.org/github.com/scryinfo/dp)
2023-07-20 07:26:36 +08:00
- [boxed](https://github.com/tejo/boxed) **star:78** 基于Dropbox的博客引擎。 [![近三年未更新][Y]](https://github.com/tejo/boxed) [![godoc][D]](https://godoc.org/github.com/tejo/boxed)
2023-05-16 07:23:55 +08:00
- [term-quiz](https://github.com/crazcalm/term-quiz) **star:24** 测试你的终端。 [![近三年未更新][Y]](https://github.com/crazcalm/term-quiz) [![godoc][D]](https://godoc.org/github.com/crazcalm/term-quiz)
2022-10-05 07:28:40 +08:00
- [naclpipe](https://github.com/unix4fun/naclpipe) **star:23** 基于加密管的简单的NaCL EC25519工具。 [![近三年未更新][Y]](https://github.com/unix4fun/naclpipe) [![godoc][D]](https://godoc.org/github.com/unix4fun/naclpipe)
- [Snitch](https://github.com/lucasgomide/snitch) **star:16** 当有人通过 Tsuru 部署任何应用程序时,会通知您的团队以及其他工具。 [![近三年未更新][Y]](https://github.com/lucasgomide/snitch) [![godoc][D]](https://godoc.org/github.com/lucasgomide/snitch)
2022-12-13 07:24:13 +08:00
- [GoDocTooltip](https://github.com/diankong/GoDocTooltip) **star:13** 包含了 Go 使用手册文档的 Chrome 扩展。
2023-04-15 10:58:14 +08:00
- [hoofli](https://github.com/dnnrly/hoofli) **star:6** 从Chrome或Firefox网络检查生成PlantUML图表。 [![godoc][D]](https://godoc.org/github.com/dnnrly/hoofli)
2022-10-05 07:28:40 +08:00
- [protoncheck](https://github.com/servusdei2018/protoncheck) **star:4** ProtonMail模块的waybar/polybar/yabar/i3blocks。 [![godoc][D]](https://godoc.org/github.com/servusdei2018/protoncheck) [![归档项目][Archived]](https://github.com/servusdei2018/protoncheck)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
# 资源
2022-03-22 12:36:07 +08:00
_在哪里可以找到新的Go库。 (翻译出错了? 试试 [英文版](README_EN.md#resources) 吧~)_
2019-06-27 17:22:00 +08:00
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 基准
2023-08-04 07:26:48 +08:00
- [go-web-framework-benchmark](https://github.com/smallnest/go-web-framework-benchmark) **star:1899** web框架基准测试。 [![godoc][D]](https://godoc.org/github.com/smallnest/go-web-framework-benchmark)
2023-08-02 07:21:08 +08:00
- [go-http-routing-benchmark](https://github.com/julienschmidt/go-http-routing-benchmark) **star:1615** HTTP请求路由器基准测试和比较。 [![godoc][D]](https://godoc.org/github.com/julienschmidt/go-http-routing-benchmark)
- [go_serialization_benchmarks](https://github.com/alecthomas/go_serialization_benchmarks) **star:1467** Go序列化方法的基准测试。 [![godoc][D]](https://godoc.org/github.com/alecthomas/go_serialization_benchmarks)
2023-07-12 07:22:59 +08:00
- [skynet](https://github.com/atemerev/skynet) **star:1026** 天网 1M 线程微基准测试。
2023-08-02 07:21:08 +08:00
- [speedtest-resize](https://github.com/fawick/speedtest-resize) **star:236** 对比各种图像大小调整算法性能。 [![godoc][D]](https://godoc.org/github.com/fawick/speedtest-resize)
2023-07-20 07:26:36 +08:00
- [go-benchmarks](https://github.com/tylertreat/go-benchmarks) **star:146** Few miscellaneous Go microbenchmarks. Compare some language features to alternative approaches [![近三年未更新][Y]](https://github.com/tylertreat/go-benchmarks) [![godoc][D]](https://godoc.org/github.com/tylertreat/go-benchmarks)
2023-01-09 07:25:06 +08:00
- [gospeed](https://github.com/feyeleanor/GoSpeed) **star:111** 计算语言结构的速度的微观基准测试。 [![godoc][D]](https://godoc.org/github.com/feyeleanor/GoSpeed)
2023-04-15 10:58:14 +08:00
- [autobench](https://github.com/davecheney/autobench) **star:96** 用来来比较不同Go版本之间的性能的框架。 [![近三年未更新][Y]](https://github.com/davecheney/autobench) [![godoc][D]](https://godoc.org/github.com/davecheney/autobench)
2023-07-07 07:24:47 +08:00
- [golang-sql-benchmark](https://github.com/tyler-smith/golang-sql-benchmark) **star:65** 为流行的 Go 数据库/SQL实用程序收集基准测试。 [![godoc][D]](https://godoc.org/github.com/tyler-smith/golang-sql-benchmark)
2022-12-30 07:23:10 +08:00
- [gocostmodel](https://github.com/PuerkitoBio/gocostmodel) **star:60** Go语言常用基本操作的基准测试。 [![godoc][D]](https://godoc.org/github.com/PuerkitoBio/gocostmodel)
2023-07-17 07:22:48 +08:00
- [go-ml-benchmarks](https://github.com/nikolaydubina/go-ml-benchmarks) **star:28** 机器学习推理基准。 [![godoc][D]](https://godoc.org/github.com/nikolaydubina/go-ml-benchmarks)
2022-12-30 07:23:10 +08:00
- [go-benchmark-app](https://github.com/mrLSD/go-benchmark-app) **star:26** 强大的HTTP基准测试工具包含了АbWrkSiege工具。收集统计和各种参数指标并比较相关结果。 [![近三年未更新][Y]](https://github.com/mrLSD/go-benchmark-app) [![godoc][D]](https://godoc.org/github.com/mrLSD/go-benchmark-app)
2022-10-05 07:28:40 +08:00
- [kvbench](https://github.com/jimrobinson/kvbench) **star:25** K / V 类型数据库基准测试。 [![近三年未更新][Y]](https://github.com/jimrobinson/kvbench) [![godoc][D]](https://godoc.org/github.com/jimrobinson/kvbench)
2022-11-07 07:27:33 +08:00
- [go-json-benchmark](https://github.com/zerosnake0/go-json-benchmark) **star:8** JSON的基准。 [![godoc][D]](https://godoc.org/github.com/zerosnake0/go-json-benchmark)
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 会议
2022-03-22 12:36:07 +08:00
- [GoCon](https://gocon.connpass.com/) 东京,日本。
- [GoDays](https://www.godays.io/) 德国柏林。
- [GoLab](https://golab.io/) 佛罗伦萨,意大利。
- [GopherChina](https://gopherchina.org) 上海,中国。
- [GopherCon](https://www.gophercon.com/) 美国丹佛。
- [GopherCon Australia](https://gophercon.com.au/) 澳大利亚悉尼。
- [GopherCon Brazil](https://gopherconbr.org) 弗洛,巴西。
2022-06-13 07:31:56 +08:00
- [GopherCon Europe](https://gophercon.eu/) 德国柏林。
2022-03-22 12:36:07 +08:00
- [GopherCon India](https://www.gophercon.in/) 印度浦那。
- [GopherCon Israel](https://www.gophercon.org.il/) 特拉维夫,以色列。
- [GopherCon Russia](https://www.gophercon-russia.ru) 莫斯科,俄罗斯。
- [GopherCon Singapore](https://gophercon.sg) 新加坡枫树商贸城。
- [GopherCon UK](https://www.gophercon.co.uk/) 伦敦,英国。
- [GopherCon Vietnam](https://gophercon.vn/) 越南胡志明市。
- [GoWest Conference](https://www.gowestconf.com/) 利希、美国。
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-30 02:45:52 +08:00
## E-Books
2019-06-25 18:06:22 +08:00
2022-01-25 07:20:15 +08:00
### 电子书购买
2022-03-22 12:36:07 +08:00
- [100 Go Mistakes: How to Avoid Them](https://www.manning.com/books/100-go-mistakes-how-to-avoid-them)
2022-11-07 07:27:33 +08:00
- [Black Hat Go](https://nostarch.com/blackhatgo) Go programming for hackers and pentesters.
2022-03-22 12:36:07 +08:00
- [Build an Orchestrator in Go](https://www.manning.com/books/build-an-orchestrator-in-go)
- [Continuous Delivery in Go](https://www.manning.com/books/continuous-delivery-in-go) 这篇关于持续交付的实用指南向您展示了如何快速建立一个自动化管道,以改进您的测试、代码质量和最终产品。
2022-11-07 07:27:33 +08:00
- [Creative DIY Microcontroller Project With TinyGo and WebAssembly](https://www.packtpub.com/product/creative-diy-microcontroller-projects-with-tinygo-and-webassembly/9781800560208) An introduction into the TinyGo compiler with projects involving Arduino and WebAssembly.
- [Effective Go: Elegant, efficient, and testable code](https://www.manning.com/books/effective-go) Unlock Gos unique perspective on program design, and start writing simple, maintainable, and testable Go code.
2022-03-22 12:36:07 +08:00
- [For the Love of Go](https://bitfieldconsulting.com/books/love) 为golang初学者准备的入门书。
2023-02-06 07:25:49 +08:00
- [Go Faster](https://leanpub.com/gofaster) This book seeks to shorten your learning curve and help you become a proficient Go programmer, faster.
2022-03-22 12:36:07 +08:00
- [Know Go: Generics](https://bitfieldconsulting.com/books/generics) 在Go中理解和使用泛型的指南。
2023-02-13 07:25:43 +08:00
- [Lets-Go](https://lets-go.alexedwards.net) A step-by-step guide to creating fast, secure and maintanable web applications with Go.
2023-02-23 07:27:01 +08:00
- [Lets-Go-Further](https://lets-go-further.alexedwards.net) Advanced patterns for building APIs and web applications in Go.
2022-09-19 07:29:11 +08:00
- [The Power of Go: Tests](https://bitfieldconsulting.com/books/tests) A guide to testing in Go.
2022-03-22 12:36:07 +08:00
- [The Power of Go: Tools](https://bitfieldconsulting.com/books/tools) 在Go中编写命令行工具的指南。
- [Writing A Compiler In Go](https://compilerbook.com)
- [Writing An Interpreter In Go](https://interpreterbook.com) 这本书介绍了编写习惯的表达的高效的Go代码的技巧避免了常见的陷阱。
2022-01-25 07:20:15 +08:00
### 免费电子书
2022-03-22 12:36:07 +08:00
- [A Go Developer's Notebook](https://leanpub.com/GoNotebook/read)
- [An Introduction to Programming in Go](http://www.golang-book.com/)
- [Build Web Application with Golang](https://astaxie.gitbooks.io/build-web-application-with-golang/content/en/)
- [Building Web Apps With Go](https://codegangsta.gitbooks.io/building-web-apps-with-go/content/)
2023-08-04 07:26:48 +08:00
- [GoBooks](https://github.com/dariubs/GoBooks) **star:14526** 一份精选的 Go 书籍清单。
2022-03-22 12:36:07 +08:00
- [How To Code in Go eBook](https://www.digitalocean.com/community/books/how-to-code-in-go-ebook) 600页的Go介绍针对的是第一次开发人员。
2023-08-04 07:26:48 +08:00
- [Go AST Book (Chinese)](https://github.com/chai2010/go-ast-book) **star:5070** A book focusing on Go `go/*` packages. [![godoc][D]](https://godoc.org/github.com/chai2010/go-ast-book)
2023-04-15 10:58:14 +08:00
- [Go 101](https://go101.org) 一本关注 Go 语法/语义和各种细节的书。
2023-02-07 07:28:35 +08:00
- [Go Succinctly](https://github.com/thedevsir/gosuccinctly) **star:23** in Persian. [![近三年未更新][Y]](https://github.com/thedevsir/gosuccinctly) [![godoc][D]](https://godoc.org/github.com/thedevsir/gosuccinctly)
2022-03-22 12:36:07 +08:00
- [Learning Go](https://www.miek.nl/downloads/Go/Learning-Go-latest.pdf)
2022-06-13 07:31:56 +08:00
- [Network Programming With Go](https://jan.newmarch.name/golang/)
2022-03-22 12:36:07 +08:00
- [Practical Go Lessons](https://www.practical-go-lessons.com/)
- [Spaceship Go A Journey to the Standard Library](https://blasrodri.github.io/spaceship-go-gh-pages/)
- [The Go Programming Language](https://www.gopl.io/)
- [The Golang Standard Library by Example (Chinese)](https://github.com/polaris1119/The-Golang-Standard-Library-by-Example)
- [Web Application with Go the Anti-Textbook](https://github.com/thewhitetulip/web-dev-golang-anti-textbook/)
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-25 18:06:22 +08:00
## Gophers
2023-08-04 07:26:48 +08:00
- [Free Gophers Pack](https://github.com/MariaLetta/free-gophers-pack) **star:3021** 由 Maria Letta 提供的与 Gopher 有关的图片包,其中包含了插图,表情文字。 [![godoc][D]](https://godoc.org/github.com/MariaLetta/free-gophers-pack)
2023-06-29 07:26:27 +08:00
- [gopher-logos](https://github.com/GolangUA/gopher-logos) **star:114** 可爱的 gopher 标识。
2023-08-02 07:21:08 +08:00
- [Go-gopher-Vector](https://github.com/keygx/Go-gopher-Vector) **star:65** 与 Go gopher 相关的媒介数据[。ai . svg)。 [![近三年未更新][Y]](https://github.com/keygx/Go-gopher-Vector)
2022-03-22 12:36:07 +08:00
- [gopher-stickers](https://github.com/tenntenn/gopher-stickers)
- [gophericons](https://github.com/shalakhin/gophericons)
2023-08-02 07:21:08 +08:00
- [gophers](https://github.com/egonelbre/gophers) **star:3199** Free gophers. [![godoc][D]](https://godoc.org/github.com/egonelbre/gophers)
2023-08-04 07:26:48 +08:00
- [gophers](https://github.com/ashleymcnamara/gophers) **star:2833** 阿什莉·麦克纳马拉的歌斐艺术品。 [![近三年未更新][Y]](https://github.com/ashleymcnamara/gophers) [![godoc][D]](https://godoc.org/github.com/ashleymcnamara/gophers)
2023-07-17 07:22:48 +08:00
- [gopherize.me](https://github.com/matryer/gopherize.me) **star:649** Gopherize自己。
2023-07-27 07:20:38 +08:00
- [gophers](https://github.com/sillecelik/go-gopher) **star:120** Gopher amigurumi玩具图案。
- [gophers](https://github.com/rogeralsing/gophers) **star:58** 随机gopher图形。 [![近三年未更新][Y]](https://github.com/rogeralsing/gophers)
- [gophers](https://github.com/scraly/gophers) **star:24** Gophers by Aurélie Vache.
2019-06-25 18:06:22 +08:00
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 聚会
2019-06-25 18:06:22 +08:00
2022-03-22 12:36:07 +08:00
- [Basel Go Meetup](https://www.meetup.com/Basel-Go-Meetup/)
- [Belfast Gophers](https://www.meetup.com/Belfast-Gophers/)
- [Belgrade Golang Meetup](https://www.meetup.com/golang-serbia/)
- [Berlin Golang](https://www.meetup.com/golang-users-berlin/)
- [Brisbane Gophers](https://www.meetup.com/Brisbane-Golang-Meetup/)
- [Canberra Gophers](https://www.meetup.com/Canberra-Gophers/)
- [Go Language NYC](https://www.meetup.com/golanguagenewyork/)
- [Go London User Group](https://www.meetup.com/Go-London-User-Group/)
- [Go Remote Meetup](https://www.meetup.com/Go-Remote-Meetup/)
- [Go Toronto](https://www.meetup.com/go-toronto/)
- [Go User Group Atlanta](https://www.meetup.com/Go-Users-Group-Atlanta/)
- [GoBandung](https://www.meetup.com/GoBandung/)
- [GoBridge, San Francisco, CA](https://www.meetup.com/gobridge/)
- [GoCracow - Krakow, Poland](https://www.meetup.com/GoCracow/)
- [GoJakarta](https://www.meetup.com/GoJakarta/)
- [Golang Amsterdam](https://www.meetup.com/golang-amsterdam/)
- [Golang Argentina](https://www.meetup.com/Golang-Argentina/)
- [Golang Athens](https://www.meetup.com/Athens-Gophers/)
- [Golang Baltimore, MD](https://www.meetup.com/BaltimoreGolang/)
- [Golang Bangalore](https://www.meetup.com/Golang-Bangalore/)
- [Golang Belo Horizonte - Brazil](https://www.meetup.com/go-belo-horizonte/)
- [Golang Boston](https://www.meetup.com/bostongo/)
- [Golang Bulgaria](https://www.meetup.com/Golang-Bulgaria/)
- [Golang Cardiff, UK](https://www.meetup.com/Cardiff-Go-Meetup/)
- [Golang Copenhagen](https://www.meetup.com/Go-Cph/)
- [Golang Curitiba - Brazil](https://www.meetup.com/GolangCWB/)
- [Golang DC, Arlington, VA](https://www.meetup.com/Golang-DC/)
- [Golang Dorset, UK](https://www.meetup.com/golang-dorset/)
- [Golang Estonia](https://www.meetup.com/Golang-Estonia/)
- [Golang Gurgaon, India](https://www.meetup.com/Gurgaon-Go-Meetup/)
- [Golang Hamburg - Germany](https://www.meetup.com/Go-User-Group-Hamburg/)
- [Golang Israel](https://www.meetup.com/Go-Israel/)
- [Golang Kathmandu](https://www.meetup.com/Golang-Kathmandu/)
- [Golang Korea](https://www.meetup.com/GDG-Golang-Korea/)
- [Golang Lima - Peru](https://www.meetup.com/Golang-Peru/)
- [Golang Lyon](https://www.meetup.com/Golang-Lyon/)
- [Golang Marseille](https://www.meetup.com/fr-FR/Golang-Marseille/)
- [Golang Melbourne](https://www.meetup.com/golang-mel/)
- [Golang Mountain View](https://www.meetup.com/Golang-Mountain-View/)
- [Golang North East](https://www.meetup.com/en-AU/Golang-North-East/)
- [Golang Paris](https://www.meetup.com/Golang-Paris/)
- [Golang Poland](https://www.meetup.com/Golang-Poland/)
- [Golang Pune](https://www.meetup.com/Golang-Pune/)
2022-11-29 07:22:02 +08:00
- [Golang Rotterdam](https://www.meetup.com/golang-rotterdam/)
2022-03-22 12:36:07 +08:00
- [Golang Singapore](https://www.meetup.com/golangsg/)
- [Golang Stockholm](https://www.meetup.com/Go-Stockholm/)
- [Golang Sydney, AU](https://www.meetup.com/golang-syd/)
- [Golang São Paulo - Brazil](https://www.meetup.com/golangbr/)
- [Golang Taipei](https://www.meetup.com/golang-taipei-meetup/)
- [Golang Thessaloniki](https://www.meetup.com/thessaloniki-golang-meetup/)
- [Golang Turkey](https://kommunity.com/goturkiye)
- [Golang Vancouver, BC](https://www.meetup.com/golangvan/)
- [Golang Vienna, Austria](https://www.meetup.com/viennago/)
- [Golang Москва](https://www.meetup.com/Golang-Moscow/)
- [GoSF - San Francisco, CA](https://www.meetup.com/golangsf)
- [Istanbul Golang](https://www.meetup.com/Istanbul-Golang/)
- [Seattle Go Programmers](https://www.meetup.com/golang/)
- [Ukrainian Golang User Groups](https://www.meetup.com/uagolang/)
- [Utah Go User Group](https://www.meetup.com/utahgophers/)
- [Women Who Go - San Francisco, CA](https://www.meetup.com/Women-Who-Go/)
2022-12-30 07:23:10 +08:00
_在这里添加您所在城市/国家的群组(发送**PR**) (翻译出错了? 试试 [英文版](README_EN.md#meetups) 吧~)_
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2020-07-24 07:16:22 +08:00
## 风格指南
2022-03-22 12:36:07 +08:00
- [bahlo/go-styleguide](https://github.com/bahlo/go-styleguide)
- [CockroachDB](https://github.com/cockroachdb/cockroach/blob/master/docs/style.md)
- [GitLab](https://docs.gitlab.com/ee/development/go_guide/)
2022-11-29 07:22:02 +08:00
- [Google](https://google.github.io/styleguide/go/)
2022-03-22 12:36:07 +08:00
- [Hyperledger](https://github.com/hyperledger/fabric/blob/release-1.4/docs/source/style-guides/go-style.rst)
- [Magnetico](https://github.com/boramalper/magnetico/wiki/magnetico-Design-Specification)
2023-05-22 07:23:47 +08:00
- [Sourcegraph](https://docs.sourcegraph.com/dev/background-information/languages/go)
2022-03-22 12:36:07 +08:00
- [Thanos](https://thanos.io/tip/contributing/coding-style-guide.md/)
- [Trybe](https://github.com/betrybe/playbook-go/blob/main/README_EN.md)
- [Uber](https://github.com/uber-go/guide/blob/master/style.md)
2020-07-24 07:16:22 +08:00
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2020-02-10 15:15:38 +08:00
## 社交媒体
2022-03-22 12:36:07 +08:00
2020-02-10 15:15:38 +08:00
### Twitter
2019-06-25 18:06:22 +08:00
2023-04-15 10:58:14 +08:00
- [@GoDiscussions](https://twitter.com/GoDiscussions)
2022-03-22 12:36:07 +08:00
- [@golang](https://twitter.com/golang)
- [@golang_news](https://twitter.com/golang_news)
- [@golangch](https://twitter.com/golangch)
- [@golangflow](https://twitter.com/golangflow)
- [@golangweekly](https://twitter.com/golangweekly)
2019-06-25 18:06:22 +08:00
2022-03-22 12:36:07 +08:00
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2020-02-10 15:15:38 +08:00
### Reddit
2022-03-22 12:36:07 +08:00
- [r/golang](https://www.reddit.com/r/golang/)
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
## 网站
2023-08-02 07:21:08 +08:00
- [awesome-awesomeness](https://github.com/bayandin/awesome-awesomeness) **star:30444** 其他 awesome 系列的列表。
2023-08-04 07:26:48 +08:00
- [Awesome Remote Job](https://github.com/lukasz-madon/awesome-remote-job) **star:26136** Curated list of awesome remote jobs. A lot of them are looking for Go hackers. [![近一周有更新][G]](https://github.com/lukasz-madon/awesome-remote-job)
2023-06-29 07:26:27 +08:00
- [Awesome Golang Workshops](https://github.com/amit-davidson/awesome-golang-workshops) **star:486** 一个令人敬畏的戈朗工作室的策划列表。
2023-08-02 07:21:08 +08:00
- [golang-graphics](https://github.com/mholt/golang-graphics) **star:138** 收藏的 Go 图像,图形和艺术作品。 [![近三年未更新][Y]](https://github.com/mholt/golang-graphics) [![归档项目][Archived]](https://github.com/mholt/golang-graphics)
2022-03-22 12:36:07 +08:00
- [golang-nuts](https://groups.google.com/forum/#!forum/golang-nuts) Go 邮件列表。
- [Google Plus Community](https://plus.google.com/communities/114112804251407510571) Google+社区 golang爱好者聚集地。
- [Gopher Community Chat](https://invite.slack.golangbridge.org) 加入我们为Gophers设立的全新Slack社区([了解它是如何产生的](https://blog.gopheracademy.com/gophers-slack-community/))。
- [Gophercises](https://gophercises.com/) 为 Go 初学者提供免费的代码训练。
- [gowalker.org](https://gowalker.org) Go API 文档。
- [json2go](https://m-zajac.github.io/json2go) 高级JSON去结构转换-在线工具。
2022-12-30 07:23:10 +08:00
- [justforfunc](https://www.youtube.com/c/justforfunc) Youtube channel dedicated to Go programming language tips and tricks, hosted by Francesc Campoy [@francesc](https://twitter.com/francesc).
2022-03-22 12:36:07 +08:00
- [Learn Go Programming](https://blog.learngoprogramming.com) 学习Go概念与插图。
2023-06-19 07:27:31 +08:00
- [gocryforhelp](https://github.com/ninedraft/gocryforhelp) **star:41** 专门收集需要帮助的Go项目这是你开启开源之路的好去处。 [![近三年未更新][Y]](https://github.com/ninedraft/gocryforhelp)
2022-03-22 12:36:07 +08:00
- [godoc.org](https://godoc.org/) 开源 Go 包的文档。
2022-07-12 07:21:49 +08:00
- [Golang Developer Jobs](https://golangjob.xyz) Developer Jobs exclusively for Golang related Roles.
2022-03-22 12:36:07 +08:00
- [Golang Flow](https://golangflow.io) 发布更新、新闻、包等等。
- [Golang News](https://golangnews.com) 关于 Go 编程的链接和新闻。
- [Golang Resources](https://golangresources.com) 一个最佳示范,包含文章,练习,讨论和视频学习。
2023-04-15 10:58:14 +08:00
- [Golang Weekly](https://discu.eu/weekly/golang/) Each monday projects, tutorials and articles about Go.
2022-11-07 07:27:33 +08:00
- [Awesome Go @LibHunt](https://go.libhunt.com) 属于你的 Go 工具箱。
2023-05-04 07:21:08 +08:00
- [awesome-go-extra](https://github.com/xwjdsh/awesome-go-extra) **star:21** 解析awesome-go README文件并生成一个新的README文件与repo信息。 [![godoc][D]](https://godoc.org/github.com/xwjdsh/awesome-go-extra) [![包含中文文档][CN]](https://github.com/xwjdsh/awesome-go-extra)
2022-06-02 07:26:37 +08:00
- [Code with Mukesh](https://codewithmukesh.com/blog/category/golang) Software Engineer and Blogs @ codewithmukesh.com.
2022-03-22 12:36:07 +08:00
- [Coding Mystery](https://codingmystery.com) 使用golang解决令人兴奋的逃脱室启发的编程挑战。
- [CodinGame](https://www.codingame.com/) 以小游戏互动完成任务的形式来学习 Go。
2022-11-07 07:27:33 +08:00
- [Explore Go Libraries & Projects](https://kandi.openweaver.com/explore/go) Discover & find a curated list of popular & new Go libraries, top authors, trending project kits, discussions, tutorials & learning resources on kandi.
2022-03-22 12:36:07 +08:00
- [Go Blog](https://blog.golang.org) 官方 Go 博客。
- [Go Code Club](https://www.youtube.com/watch?v=nvoIPQYdx9g&list=PLEcwzBXTPUE_YQR7R0BRtHBYJ0LN3Y0i3) 一群地鼠每周阅读和讨论一个不同的Go项目。
- [Go Community on Hashnode](https://hashnode.com/n/go) Hashnode上的Go社区。
- [Go Forum](https://forum.golangbridge.org) 讨论 Go 的论坛。
- [Go Projects](https://github.com/golang/go/wiki/Projects) wiki上的 Go 社区项目列表。
- [Go Proverbs](https://go-proverbs.github.io/) 罗伯·派克的箴言。
- [Go Report Card](https://goreportcard.com) 为你的 Go 包生成一份报告单。
- [go.dev](https://go.dev/) 一个 go 开发者的中心。
- [Made with Golang](https://madewithgolang.com/?ref=awesome-go)
- [r/Golang](https://www.reddit.com/r/golang) 与 Go 有关的新闻。
- [studygolang](https://studygolang.com) Go语言中文网
- [Trending Go repositories on GitHub today](https://github.com/trending?l=go) 寻找最新的 Go库 的好地方。
- [TutorialEdge - Golang](https://tutorialedge.net/course/golang/)
**[⬆ back to top](#contents)**
2021-09-15 07:19:07 +08:00
2019-06-27 17:22:00 +08:00
### 教程
2023-08-04 07:26:48 +08:00
- [Build web application with Golang](https://github.com/astaxie/build-web-application-with-golang) **star:42209** Golang电子书主要讲述如何用 Golang 建立一个web应用程序。 [![godoc][D]](https://godoc.org/github.com/astaxie/build-web-application-with-golang) [![包含中文文档][CN]](https://github.com/astaxie/build-web-application-with-golang)
2022-03-22 12:36:07 +08:00
- [Building and Testing a REST API in Go with Gorilla Mux and PostgreSQL](https://semaphoreci.com/community/tutorials/building-and-testing-a-rest-api-in-go-with-gorilla-mux-and-postgresql) 我们会写一个API的帮助下强大的大猩猩Mux。
- [Building Go Web Applications and Microservices Using Gin](https://semaphoreci.com/community/tutorials/building-go-web-applications-and-microservices-using-gin) Get familiar with Gin and find out how it can help you reduce boilerplate code and build a request handling pipeline.
- [Caching Slow Database Queries](https://medium.com/@rocketlaunchr.cloud/caching-slow-database-queries-1085d308a0c9) 如何缓存数据库的慢查询。
- [Canceling MySQL](https://medium.com/@rocketlaunchr.cloud/canceling-mysql-in-go-827ed8f83b30) 如何取消MySQL查询。
2022-11-07 07:27:33 +08:00
- [CodeCrafters Golang Track](https://app.codecrafters.io/tracks/go) Achieve mastery in advanced Go by building your own Redis, Docker, Git, and SQLite. Featuring goroutines, systems programming, file I/O, and more.
2023-08-04 07:26:48 +08:00
- [Go Cheat Sheet](https://github.com/a8m/go-lang-cheat-sheet) **star:7696** Go's reference card。
2022-03-22 12:36:07 +08:00
- [Go database/sql tutorial](http://go-database-sql.org/) 数据库概论/ sql。
2023-08-02 07:21:08 +08:00
- [Ethereum Development with Go](https://github.com/miguelmota/ethereum-development-with-go-book) **star:1612** 一本讲述如何用 Go 进行以太开发的小册。 [![godoc][D]](https://godoc.org/github.com/miguelmota/ethereum-development-with-go-book) [![包含中文文档][CN]](https://github.com/miguelmota/ethereum-development-with-go-book) [![归档项目][Archived]](https://github.com/miguelmota/ethereum-development-with-go-book)
2022-09-19 07:29:11 +08:00
- [Games With Go](https://www.youtube.com/watch?v=9D4yH7e_ea8&list=PLDZujg-VgQlZUy1iCqBbe5faZLMkA3g2x) 关于编程和游戏开发系列教学视频。
2022-03-22 12:36:07 +08:00
- [Go By Example](https://gobyexample.com/) 手把手教你 如何在 Go 应用程序中使用注释。
2022-11-07 07:27:33 +08:00
- [50 Shades of Go](https://devs.cloudimmunity.com/gotchas-and-common-mistakes-in-go-golang/) Go 初学者经常遇到的陷阱、误区、错误
2023-05-16 07:23:55 +08:00
- [A Comprehensive Guide to Structured Logging in Go](https://betterstack.com/community/guides/logging/logging-in-go/) Delve deep into the world of structured logging in Go with a specific focus on recently accepted slog proposal which aims to bring high performance structured logging with levels to the standard library.
2022-11-07 07:27:33 +08:00
- [A Guide to Golang E-Commerce](https://snipcart.com/blog/golang-ecommerce-ponzu-cms-demo?utm_term=golang-ecommerce-ponzu-cms-demo) 教你如何用 Go 搭建一个电商平台 (包括demo)。
- [A Tour of Go](https://tour.golang.org/) 互动的 Go 之旅。
2023-05-22 07:23:47 +08:00
- [Build a Database in 1000 lines of code]( https://link.medium.com/O9YQlx89Htb) Build a NoSQL Database From Zero in 1000 Lines of Code.
2023-08-04 07:26:48 +08:00
- [Go in 7 days](https://github.com/harrytran103/7_days_of_go) **star:124** Learn everything about Go in 7 days (from a Nodejs developer). [![godoc][D]](https://godoc.org/github.com/harrytran103/7_days_of_go)
2022-10-17 07:41:41 +08:00
- [Go Language Tutorial](https://www.javatpoint.com/go-tutorial) 学习Go语言教程。
- [Go Tutorial](https://www.tutorialspoint.com/go/index.htm) 学习编程。
2023-08-02 07:21:08 +08:00
- [Design Patterns in Go](https://github.com/shubhamzanwar/design-patterns) **star:103** 在Go中实现的编程设计模式的集合。 [![godoc][D]](https://godoc.org/github.com/shubhamzanwar/design-patterns)
- [Debugged.it Go patterns](https://github.com/haveyoudebuggedit/go-patterns) **star:11** 高级的Go模式和准备运行的示例。 [![godoc][D]](https://godoc.org/github.com/haveyoudebuggedit/go-patterns) [![归档项目][Archived]](https://github.com/haveyoudebuggedit/go-patterns)
2022-03-22 12:36:07 +08:00
- [Go WebAssembly Tutorial - Building a Simple Calculator](https://tutorialedge.net/golang/go-webassembly-tutorial/)
2023-08-04 07:26:48 +08:00
- [go-patterns](https://github.com/tmrts/go-patterns) **star:22574** 策划的清单去设计模式,食谱和习惯用法。 [![godoc][D]](https://godoc.org/github.com/tmrts/go-patterns)
- [Learn Go with TDD](https://github.com/quii/learn-go-with-tests) **star:19882** 学习使用测试驱动开发。 [![近一周有更新][G]](https://github.com/quii/learn-go-with-tests) [![godoc][D]](https://godoc.org/github.com/quii/learn-go-with-tests) [![包含中文文档][CN]](https://github.com/quii/learn-go-with-tests)
2023-04-15 10:58:14 +08:00
- [Learning Go by examples](https://dev.to/aurelievache/learning-go-by-examples-introduction-448n) Series of articles in order to learn Golang language by concrete applications as example.
2022-11-07 07:27:33 +08:00
- [Microservices with Go](https://www.youtube.com/playlist?list=PLmD8u-IFdreyh6EUfevBcbiuCKzFk0EW_) Dive deep into building microservices using Go, including gRPC.
2022-03-22 12:36:07 +08:00
- [package main](https://www.youtube.com/packagemain) 关于 Go 编程的YouTube频道。
- [Programming with Google Go](https://www.coursera.org/specializations/google-golang) Coursera的专业学习可以从零开始。
- [Saving a Third of Our Memory by Re-ordering Go Struct Fields](https://qvault.io/golang/struct-field-ordering-memory/) Go结构中的字段排序是多么低效。
2023-05-16 07:23:55 +08:00
- [Scaling Go Applications](https://betterstack.com/community/guides/scaling-go/) Everything about building, deploying and scaling Go applications in production.
2023-08-04 07:26:48 +08:00
- [Learn Go with 1000+ Exercises](https://github.com/inancgumus/learngo) **star:17546** 通过成千上万的例子、练习和测验来学习Go。 [![godoc][D]](https://godoc.org/github.com/inancgumus/learngo)
- [go-clean-template](https://github.com/evrone/go-clean-template) **star:5319** Golang服务的Clean Architecture模板。 [![godoc][D]](https://godoc.org/github.com/evrone/go-clean-template)
- [Golang for Node.js Developers](https://github.com/miguelmota/golang-for-nodejs-developers) **star:3963** 引入示例讲述 Golang 与Node.js在学习上的差异。 [![godoc][D]](https://godoc.org/github.com/miguelmota/golang-for-nodejs-developers)
2022-03-22 12:36:07 +08:00
- [Golang Tutorial Guide](https://www.freecodecamp.org/news/golang-tutorial-list-free-courses-learn-go-programming-language/) 学习Go编程语言的免费课程列表。
- [Golangbot](https://golangbot.com/learn-golang-series/) Go 编程教程。
2022-09-19 07:29:11 +08:00
- [GopherCoding](https://gophercoding.com/) 收集代码片段和教程,以帮助处理日常问题。
2022-03-22 12:36:07 +08:00
- [GopherSnippets](https://gophersnippets.com/) 带有测试和可测试示例的代码片段用于Go编程语言。
- [Gosamples](https://gosamples.dev/) 让您解决日常代码问题的代码片段集合。
- [Hackr.io](https://hackr.io/tutorials/learn-golang) Go社区投票选举出来的最好的在线 Go 教程。
2023-08-02 07:21:08 +08:00
- [goapp](https://github.com/bnkamalesh/goapp) **star:639** 关于构建和开发Go web应用/服务的指南。 [![godoc][D]](https://godoc.org/github.com/bnkamalesh/goapp)
2023-08-04 07:26:48 +08:00
- [Hex Monscape](https://github.com/Haraj-backend/hex-monscape) **star:42** Getting started guidelines in writing maintainable code using Hexagonal Architecture. [![godoc][D]](https://godoc.org/github.com/Haraj-backend/hex-monscape)
2022-03-22 12:36:07 +08:00
- [How to Benchmark: dbq vs sqlx vs GORM](https://medium.com/@rocketlaunchr.cloud/how-to-benchmark-dbq-vs-sqlx-vs-gorm-e814caacecb5) 学习如何在Golang中进行基准测试。作为案例研究我们将对dbq、sqlx和GORM进行基准测试。
- [How To Deploy a Go Web Application with Docker](https://semaphoreci.com/community/tutorials/how-to-deploy-a-go-web-application-with-docker) 学习如何使用Docker进行Go开发以及如何构建Docker生产镜像。
- [How to Use Godog for Behavior-driven Development in Go](https://semaphoreci.com/community/tutorials/how-to-use-godog-for-behavior-driven-development-in-go) 快速使用Godog —— 一个行为驱动开发的构建和测试应用程序框架。
- [The worlds easiest introduction to WebAssembly with Golang](https://medium.com/@martinolsansky/webassembly-with-golang-is-fun-b243c0e34f02)
2022-10-17 07:41:41 +08:00
- [W3basic Go Tutorials](https://www.w3basic.com/golang/) W3Basic provides an in-depth tutorial and well-organized content to learn Golang programming.
2023-07-27 07:20:38 +08:00
- [Working with Go](https://github.com/mkaz/working-with-go) **star:1158** 由一个经验丰富的Go程序员群体编写的一系列Go学习范例。 [![近三年未更新][Y]](https://github.com/mkaz/working-with-go) [![归档项目][Archived]](https://github.com/mkaz/working-with-go)
2022-03-22 12:36:07 +08:00
- [Your basic Go](https://yourbasic.org/golang) 如何收集大量的教程。
**[⬆ back to top](#contents)**
2021-09-20 07:19:17 +08:00
2023-05-22 07:23:47 +08:00
### Guided Learning
2023-05-16 07:23:55 +08:00
- [The Go Developer Roadmap](https://roadmap.sh/golang) A visual roadmap that new Go developers can follow through to help them learn Go.
- [The Go Learning Path](https://tutorialedge.net/paths/golang/) A guided learning path containing a mix of free and premium resources.
**[⬆ back to top](#contents)**