cuuid

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package cuuid provides a generator for condensed UUIDs. These are the base32 encoded version of the UUIDs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator struct {
	// contains filtered or unexported fields
}

Generator implements an ID generator based on condensed UUIDs.

func NewGenerator

func NewGenerator() *Generator

NewGenerator returns a new Generator instance.

func (*Generator) GenerateID

func (g *Generator) GenerateID() string

GenerateID generates a new ID.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL