package nomino_test import ( "fmt" "codeberg.org/danjones000/nomino" ) func ExampleUUID() { gen := nomino.UUID(nil) str, _ := gen.Make() fmt.Println(str) str, _ = gen.Make() fmt.Println(str) } func ExampleUUID_v7() { gen := nomino.UUID(nomino.UUIDv7) str, _ := gen.Make() fmt.Println(str) str, _ = gen.Make() fmt.Println(str) str, _ = gen.Make() fmt.Println(str) } func ExampleRandom() { str, _ := nomino.Random().Make() fmt.Println(str) } func ExampleRandomLength() { str, _ := nomino.Random(nomino.RandomLength(32)).Make() fmt.Println(str) }