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 中快速、结构化、分级的日志记录。

  • 5
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值