uuid
uuid copied to clipboard
A UUID package originally forked from github.com/satori/go.uuid
Currently, UUIDv6 and UUIDv7 implementations follow RFC draft rev 02 [1]. However, it has already been updated by RFC draft rev 03 [2] in March 2022. Rev3 updates v6 and...
This commit improves the performance and reduces the number of allocs of most UUID methods and adds a new UUID.Parse() method for parsing string encoded UUIDs. Parsing string encoded UUIDs...
Hi, I had to generate UUIDv6 with custom timestamps, so I added generator options to be able to change the epoch function. I'm creating this PR in case this is...
I floated this idea very roughly in the [\#gofrs](https://gophers.slack.com/archives/CBP4N9BEU) Slack channel, and it's to effectively rename this repository to avoid the Semantic Import Versioning (SIV) component of Go Modules ##...
This updates `defaultHWAddrFunc` to use a package-level variable for calling `net.Interfaces()`, so that we can mock it in unit tests. Doing so, and writing the related test, allows us to...
Hi I was wondering if you had any interest in support for go1.13 error wrapping? For example: ``` go const ( ErrIncorrectLength Error = iota + 1 // Other sentinel...
Hi, I have a need to encode a specific timestamp (instead of time.Now()) into a V1 UUID. There doesn't seem to be a way to do that. Before I start...
This is an issue to gather input about doing an engagement of some larger projects who use `github.com/satori/go.uuid` to get them moved over to our repo. Should we wait until...
I've found myself encoding the UUID to Base64 and Base32 string in multiple projects I worked on. Do you think it's a good idea if we add this encoding and...
The change is to add a New() method to just return a v4 UUID without error. It wraps the Must() method. Similar to this [New()](https://pkg.go.dev/github.com/google/uuid#New) API.