Skip to content

kevincobain2000/go-human-uuid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generate Human Readable UUID in GO.


UUID: Generate human readable UUID in GO.

go-build-time go-test-runtime coverage go-binary-size go-mod-dependencies

go-build-time go-test-runtime coverage go-binary-size go-mod-dependencies

Usage

import (
    g github.com/kevincobain2000/go-human-uuid
)

func main() {
    g.GenerateString(5)
}
DARAW
XAHAJ
LAXOQ
LUPUV
VECIQ

Generate with Options

import (
    g github.com/kevincobain2000/go-human-uuid/lib
)

func main() {
	options := []g.Option{
		func(opt *g.Options) error {
			opt.Length = 10
			return nil
		},
	}
    gen, err := g.NewGenerator(options...)
    gen.Generate()
}

Disclaimer

Releases

No releases published

Packages

No packages published

Languages