Documentation ¶ Index ¶ func Clamp(value, fallback, min, max int) int func Notice(text, message string, shouldAdd bool) string func PrettyJSON(value any, maxBytes int) (string, bool, error) func TruncateString(text string, max int) (string, bool) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Clamp ¶ func Clamp(value, fallback, min, max int) int func Notice ¶ func Notice(text, message string, shouldAdd bool) string func PrettyJSON ¶ func PrettyJSON(value any, maxBytes int) (string, bool, error) func TruncateString ¶ func TruncateString(text string, max int) (string, bool) Types ¶ This section is empty. Source Files ¶ View all Source files output.go Click to show internal directories. Click to hide internal directories.