2024-02-24 04:47:26 +00:00
|
|
|
TinD is highly configurable, and defaults to an extremely simple set of values:
|
|
|
|
- Default size of 4 bytes, or 32bits
|
2024-02-24 05:05:10 +00:00
|
|
|
- Default character set of upper and lower case alphabet characters `abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ`
|
|
|
|
|
|
|
|
# Usage Examples
|
|
|
|
```go
|
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"git.staur.ca/stobbsm/tind"
|
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
|
|
|
id := tind.Gen()
|
|
|
|
fmt.Println(id.String())
|
|
|
|
}
|
|
|
|
```
|
|
|
|
Output:
|
|
|
|
```sh
|
|
|
|
CvHG
|
|
|
|
```
|