2024-02-24 23:53:14 +00:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
|
|
|
|
"git.staur.ca/stobbsm/tind"
|
|
|
|
)
|
|
|
|
|
2024-03-03 15:44:42 +00:00
|
|
|
// GenWithDefaults demonstrates how to generate a TinD using the default configuration
|
2024-02-24 23:53:14 +00:00
|
|
|
func GenWithDefaults() {
|
|
|
|
fmt.Println("Generate 16 different TinD ID's, and print them in both string and byte representations using the default config")
|
|
|
|
|
|
|
|
for i := 0; i < 16; i++ {
|
|
|
|
t := tind.Gen()
|
|
|
|
fmt.Printf("String: `%s` Bytes: %v\n", t.String(), t.Bytes())
|
|
|
|
}
|
|
|
|
}
|