Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChooseCommand ¶
ChooseCommand runs interactive menu with selection of available commands.
func GetPercentage ¶
GetPercentage calculates what percentage 'currentValue' is of 'total'.
func Map ¶
func Map[T, V any](ts []T, fn func(T) V) []V
Map maps slice of elements with type T to slice with type V using function fn.
func ValidateEmptyString ¶
ValidateEmptyString returns an error if the string is empty.
func ValidateFileFormat ¶
ValidateFileFormat returns an error if the file format is not supported.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.