Skip to content

DaanV2/go-uuid

Repository files navigation

Go UUID

Pipeline

A library that provides a way to handle, and generate UUIDs. Complies with the RFC 4122 standard. based the code on what I wrote for .dotnet - DaanV2.UUID.Net

import "github.com/DaanV2/go-uuid"

u := uuid.New()
u := uuid.NewString()

//Specific version
u := uuid.V4.New()
u := uuid.V4.NewString()

u := uuid.V5.New([]byte("Some data"))
u := uuid.V3.New([]byte("Some data"))

// Batch generation
u := uuid.V4.NewBatch(10)

About

A library that provides a way to handle, and generate UUIDs. Complies with the RFC 4122 standard.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published