Skip to content
/ go-uuid Public

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

License

Notifications You must be signed in to change notification settings

DaanV2/go-uuid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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)

Install

go get github.com/DaanV2/go-uuid

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