Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BackupOsArgs ¶
func BackupOsArgs() func()
BackupOsArgs backs up os.Args and returns a function that restores os.Args that can be used with defer.
func BuildOsArgs ¶
func BuildOsArgs(cliArgs map[string]interface{})
BuildOsArgs builds os.Args from a map of key-value pairs containing arguments.
func CreateCompressedFile ¶
func CreateCompressedFile() string
CreateCompressedFile creates a valid compressed file in memory
func SetBoolP ¶
SetBoolP sets a value for a boolean pointer and returns a function that restores the pointer to initial state that can be used with defer
func SetIntP ¶
SetIntP sets a value for an int pointer and returns a function that restores the pointer to initial state that can be used with defer
func SetStringP ¶
SetStringP sets a value for a string pointer and returns a function that restores the pointer to initial state that can be used with defer
Types ¶
This section is empty.