UUID包即将加入Go标准库
UUID package coming to Go standard library

原始链接: https://github.com/golang/go/issues/62026

我建议向标准库添加一个生成和解析UUID标识符的包,特别是3、4和5版本。我认为包含它的主要原因是,最流行的第三方包(github.com/google/uuid)是每个基于服务器/数据库的Go程序的常用导入,通过快速的Github代码搜索可以证实。 此外: 补充说明一下,Go在标准库中包含UUID支持方面,是特例而非常态。

Hacker News 新闻 | 过去 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 UUID 包即将加入 Go 标准库 (github.com/golang) 28 分,by soypat 1 小时前 | 隐藏 | 过去 | 收藏 | 1 条评论 帮助 kayson 4 分钟前 [–] 让我觉得奇怪的是,关注点似乎集中在 Google 的包的停滞不前,而 https://github.com/gofrs/uuid 不仅符合较新的标准,而且还在积极维护。回复 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文

I would like to suggest the addition to the standard library of a package to generate and parse UUID identifiers, specifically versions 3, 4 and 5.

The main reason I see to include it is that the most popular 3rd-party package (github.com/google/uuid) is a staple import in every server/db based Go program, as confirmed by a quick Github code search.

Additionally:

Addendum

Would like to point out how Go is rather the exception than the norm with regards to including UUID support in its standard library.

联系我们 contact @ memedata.com