util

package
v0.87.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogError

func LogError(msg string, args ...[]pterm.LoggerArgument)

func LogInfo

func LogInfo(msg string, args ...[]pterm.LoggerArgument)

func LogTrace

func LogTrace(msg string, args ...[]pterm.LoggerArgument)

func LogWarning

func LogWarning(msg string, args ...[]pterm.LoggerArgument)

func PrintErrorAndExit

func PrintErrorAndExit(err error)

func Sort

func Sort(input []string) []string

SortStringsAlphabetically returns a new slice with the input strings sorted alphabetically.

func SortByField

func SortByField(slice any, fieldName string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL