Categorygithub.com/DaanV2/go-uuid
repositorypackage
0.0.0-20240617175452-803b261de549
Repository: https://github.com/daanv2/go-uuid.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

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