Documentation
¶
Overview ¶
Package spinner implements text spinner. Useful for generating semirandom text.
Features:
- Supported brackets: curly `{}` and square `[]`
- Supported text separators: `|` and `~`
- Unlimited nesting
Example:
text := "{Hello|Big} {world|people}!" fmt.Println(spinner.Spin(text)) // Possible outputs: // Hello world! // Big world! // Hello people! // Big people!
Requests or bugs?
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.