Uniqueid
The Uniqueid registry offers functions to generate unique identifiers, such as UUIDs, which are essential for creating distinct and traceable entities in your applications.
Last updated
The Uniqueid registry offers functions to generate unique identifiers, such as UUIDs, which are essential for creating distinct and traceable entities in your applications.
You can easily import all the functions from the uniqueid registry by including the following import statement in your code
import "github.com/go-sprout/sprout/registry/uniqueid"Uuidv4 generates a new random UUID (Universally Unique Identifier) version 4.
Signature
Uuidv4() string{{ uuidv4 }} // Output(will be different): 3f0c463e-53f5-4f05-a2ec-3c083aa8f937Last updated