Versions in this module Expand all Collapse all v0 v0.1.1 Apr 24, 2026 Changes in this version + func ApplyTemplate(str string, object interface{}) string + func CloseMany(closers []io.Closer) error + func ColoredString(str string, colorAttribute color.Attribute) string + func ColoredStringDirect(str string, colour *color.Color) string + func ColoredYamlString(str string) string + func Decolorise(str string) string + func FormatBinaryBytes(b int) string + func FormatDecimalBytes(b int) string + func FormatMap(padding int, m map[string]string) string + func FormatMapItem(padding int, k string, v interface{}) string + func GetColorAttribute(key string) color.Attribute + func GetGocuiAttribute(key string) gocui.Attribute + func IsValidHexValue(v string) bool + func Loader() string + func MarshalIntoYaml(data interface{}) ([]byte, error) + func Max(x, y int) int + func MultiColoredString(str string, colorAttribute ...color.Attribute) string + func NormalizeLinefeeds(str string) string + func OpensMenuStyle(str string) string + func RenderTable(rows [][]string) (string, error) + func ResolvePlaceholderString(str string, arguments map[string]string) string + func SafeTruncate(str string, limit int) string + func SplitLines(multilineString string) []string + func WithPadding(str string, padding int) string + func WithShortSha(str string) string