Documentation ¶
Index ¶
- func Blue(value string) string
- func CliError(msg string, args ...interface{})
- func CliInfo(msg string, args ...interface{})
- func CliWarning(msg string, args ...interface{})
- func CreatePaginationParams(page, pageSize int) string
- func Green(value string) string
- func PrintHeader(header string)
- func PrintJson(body []byte)
- func PrintTable(slice interface{})
- func PromptForInput(promptText string) string
- func ReadFileFromPath(filePath string) ([]byte, error)
- func Red(value string) string
- func RemovePrefixBeforeAPI(url string) string
- func SplitAndParseInts(input string) []int
- func TimeAgo(t time.Time) string
- func TruncateString(str string, num int) string
- func Yellow(value string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CliError ¶
func CliError(msg string, args ...interface{})
CliError handles all error messages in the CLI.
func CliInfo ¶
func CliInfo(msg string, args ...interface{})
CliInfo handles all informational messages in the CLI.
func CliWarning ¶
func CliWarning(msg string, args ...interface{})
CliWarning handles all warning messages in the CLI.
func CreatePaginationParams ¶
func PrintHeader ¶
func PrintHeader(header string)
func PrintTable ¶
func PrintTable(slice interface{})
func PromptForInput ¶
func ReadFileFromPath ¶
func RemovePrefixBeforeAPI ¶ added in v0.0.2
func SplitAndParseInts ¶
func TruncateString ¶ added in v0.0.2
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.