Documentation ¶
Index ¶
- func AddNewLines(text string, charLimit int) string
- func CenterText(text string) *tview.TextView
- func ChunkSlice(slice []string, chunkSize int) [][]string
- func GetNextItem(s []string, current string) (string, error)
- func GetPrevItem(s []string, current string) (string, error)
- func GetRandomItem(options []string, valueToIgnore string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddNewLines ¶
func CenterText ¶
func ChunkSlice ¶
func GetNextItem ¶
GetNextItem to get next item from slice
func GetPrevItem ¶
get previous item from slice
func GetRandomItem ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.