Generate Human Readable UUID in GO.
UUID: Generate human readable UUID in GO.
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()
}