Go 实现的 TypeIDs: 类型安全、可 K 排序且全局唯一的标识符,灵感来自 Stripe ID
TypeIDs are a modern, type-safe, globally unique identifier based on the upcoming UUIDv7 standard. They provide a ton of nice properties that make them a great choice as the primary identifiers for your data in a database, APIs, and distributed systems. Read more about TypeIDs in their spec.
This particular implementation provides a go library for generating and parsing TypeIDs.
To add this library as a dependency in your go module, run:
go get go.jetify.com/typeid/v2This library provides a go implementation of TypeID:
…For the full documentation, see this package's godoc.
暂无开放 Issues,或尚未同步最近议题。