/go-human-uuid

Generate human readable UUID in GO

Primary LanguageGoMIT LicenseMIT

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