utils

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleError

func HandleError(err error)

HandleError standardize error messages and exit the program

func PrintTable

func PrintTable(headers []string, rows [][]string)

PrintTable formats and prints a table to the console

func ValidateArgs

func ValidateArgs(args []string, expected int)

ValidateArgs checks if the right number of arguments are passed

Types

This section is empty.

Jump to

Keyboard shortcuts

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