### Install HaikunatorGO Source: https://github.com/atrox/haikunatorgo/blob/master/README.md Command to install the haikunatorgo library using Go modules. This is the first step to integrate the library into your Go project. ```go go get github.com/atrox/haikunatorgo/v2 ``` -------------------------------- ### HaikunatorGO Configuration Options Source: https://github.com/atrox/haikunatorgo/blob/master/README.md Illustrates the structure of the Haikunator generator and its configurable options. This includes setting custom adjectives, nouns, delimiters, token length, token type (hexadecimal), and custom characters for tokens. ```go Haikunator{ Adjectives: []string{"custom", "adjectives"}, Nouns: []string{"custom", "nouns"}, Delimiter: "-", TokenLength: 4, TokenHex: false, TokenChars: "0123456789", Random: rand.New(rand.NewSource(time.Now().UnixNano())), } ``` -------------------------------- ### Generate Random Names with HaikunatorGO Source: https://github.com/atrox/haikunatorgo/blob/master/README.md Demonstrates various ways to generate random names using the HaikunatorGO library. It covers default usage, custom token lengths, using hexadecimal tokens, custom characters, omitting tokens, changing delimiters, and using custom adjective/noun lists. ```go package main import ( haikunator "github.com/atrox/haikunatorgo/v2" ) func main() { haikunator := haikunator.New() // default usage haikunator.Haikunate() // => "wispy-dust-1337" // custom length (default=4) haikunator.TokenLength = 9 haikunator.Haikunate() // => "patient-king-887265" // use hex instead of numbers haikunator.TokenHex = true haikunator.Haikunate() // => "purple-breeze-98e1" // use custom chars instead of numbers/hex haikunator.TokenChars = "HAIKUNATE" haikunator.Haikunate() // => "summer-atom-IHEA" // don't include a token haikunator.TokenLength = 0 haikunator.Haikunate() // => "cold-wildflower" // use a different delimiter haikunator.Delimiter = "." haikunator.Haikunate() // => "restless.sea.7976" // no token, space delimiter haikunator.TokenLength = 0 haikunator.Delimiter = " " haikunator.Haikunate() // => "delicate haze" // no token, empty delimiter haikunator.TokenLength = 0 haikunator.Delimiter = "" haikunator.Haikunate() // => "billowingleaf" // custom nouns and/or adjectives haikunator.Adjectives = []string{"red", "green", "blue"} haikunator.Nouns = []string{"reindeer"} haikunator.Haikunate() // => "blue-reindeer-4252" } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.