Go package for UUIDs based on RFC 4122 and DCE 1.1: Authentication and Security Services.
BSD 3-Clause "New" or "Revised" License
5.26k
stars
362
forks
source link
Allow to use something different than `time.Now` when generating uuids that have a time component #165
Open
satazor opened 1 month ago
Allow to use something different than
time.Now
when generating uuids that have a time component.This is useful for:
The package at https://github.com/gofrs/uuid seems to have this functionality, see https://pkg.go.dev/github.com/gofrs/uuid/v5#WithEpochFunc. I would love to have something similar.