go第三方库go.uber.org介绍

Uber 是一家美国硅谷的科技公司,也是 Go 语言的早期 adopter。其开源了很多 golang 项目,诸如被 Gopher 圈熟知的 zapjaeger 等。2018 年年末 Uber 将内部的 Go 风格规范 开源到 GitHub,经过一年的积累和更新,该规范已经初具规模,并受到广大 Gopher 的关注。本文是该规范的中文版本。本版本会根据原版实时更新。

go.uber.org/atomic

github.com/uber-go/atomic

用于同步/原子强制执行原子访问的包装器类型。


go.uber.org/automaxprocs

github.com/uber-go/automaxprocs

用于自动设置 GOMAXPROCS 以匹配 Linux 容器 CPU 配额的库。


go.uber.org/cadence

github.com/uber-go/cadence-client

Cadence 工作流编排引擎的 Go 客户端。


go.uber.org/cff

github.com/uber-go/cff

Go 的并发工具包。


go.uber.org/config

github.com/uber-go/config

Go 应用程序的配置库。


go.uber.org/dig

github.com/uber-go/dig

一个基于反射的 Go 依赖注入库。


go.uber.org/fx

github.com/uber-go/fx

基于依赖注入的 Go 应用程序框架。


go.uber.org/goleak

github.com/uber-go/goleak

goroutine 泄漏检测库。


go.uber.org/mock

github.com/uber/mock

围棋的嘲讽框架。维护 golang/mock 的分支。


go.uber.org/multierr

github.com/uber-go/multierr

用于将一个或多个 Go 错误组合在一起的库。


go.uber.org/net/metrics

github.com/yarpc/metrics

与 Prometheus、StatsD 和 M3 兼容的快速指标。


go.uber.org/nilaway

github.com/uber-go/nilaway

一种静态分析工具,用于检测 Go 中潜在的零恐慌。


go.uber.org/protoidl

github.com/uber-go/protoidl

Package in Go for parsing Google Protocol Buffer.

This repository also includes 3 commands. The protofmt tool is for formatting .proto files. The proto2xsd tool is for generating XSD files from .proto version 3 files. The proto2gql tool is for generating the GraphQL Schema.


go.uber.org/ratelimit

github.com/uber-go/ratelimit

Go 阻止泄漏桶速率限制实现。


go.uber.org/sally

github.com/uber-go/sally

一个小型 HTTP 服务器,用于支持自定义 Golang 导入路径。


go.uber.org/thriftrw

github.com/thriftrw/thriftrw-go

Go 的 Thrift 编码代码生成器和库。


go.uber.org/tools

github.com/uber-go/tools


go.uber.org/torch

github.com/uber/go-torch


go.uber.org/yarpc

github.com/yarpc/yarpc-go

Go 的消息传递平台。


go.uber.org/zap

github.com/uber-go/zap

在 Go 中快速、结构化、分级的日志记录。

相关推荐
清云随笔1 小时前
Golang基础
golang
牛奔4 小时前
Go 如何避免频繁抢占?
开发语言·后端·golang
不老刘8 小时前
LiveKit 本地部署全流程指南(含 HTTPS/WSS)
golang·实时音视频·livekit
Tony Bai15 小时前
再见,丑陋的 container/heap!Go 泛型堆 heap/v2 提案解析
开发语言·后端·golang
念何架构之路17 小时前
Go进阶之panic
开发语言·后端·golang
先跑起来再说17 小时前
Git 入门到实战:一篇搞懂安装、命令、远程仓库与 IDEA 集成
ide·git·后端·elasticsearch·golang·intellij-idea
Tony Bai1 天前
“Go 2,请不要发生!”:如果 Go 变成了“缝合怪”,你还会爱它吗?
开发语言·后端·golang
灰子学技术1 天前
go response.Body.close()导致连接异常处理
开发语言·后端·golang
源代码•宸2 天前
大厂技术岗面试之谈薪资
经验分享·后端·面试·职场和发展·golang·大厂·职级水平的薪资
有代理ip3 天前
Python 与 Golang 爬虫的隐藏优势
爬虫·python·golang