Repository navigation
Releases
Releases · pikaid/pikaid-go
v1.0.0
First stable release of the official Go implementation of pikaid, specification revision 1.0.4.
- Exactly 26 lowercase Base36 characters: 7-character UTC whole-second timestamp plus 19-character (96-bit) randomness suffix, with a 17-byte binary form (5-byte big-endian timestamp + 12 original bytes).
- Generation reads exactly 12 bytes from crypto/rand and fails closed on entropy failure.
- Strict parsing: no trimming, normalization, coercion or truncation; randomness suffixes above 2^96-1 are rejected.
- ID implements the encoding.Text/Binary marshaler interfaces, including canonical JSON encoding.
- Sentinel errors usable with errors.Is/errors.As.
- No dependencies outside the Go standard library; minimum Go 1.21.
This repository is private, so the module is not served by the public Go module proxy or pkg.go.dev. See CHANGELOG.md and README.md.