Documentation ¶
Index ¶
- func Base64Decode(value string) (string, bool)
- func Base64Encode(value string) string
- func CopyFile(from string, to string) (int64, error)
- func CreateBaseDir(path string) error
- func CreateDir(dir string) error
- func DeleteDir(path string) error
- func DeleteFile(path string) error
- func EncodeJson(data interface{}) (string, error)
- func EncodeJsonIndent(data interface{}) (string, error)
- func EncodeYaml(data interface{}) (string, error)
- func Expand(raw string, inputs map[string]string) (string, error)
- func FindOpenPort(port string) (string, error)
- func InterruptHandler(callback func())
- func IotaToValues[T comparable](kv map[T]string) []string
- func OpenFile(filePath string) (io.WriteCloser, error)
- func PathNotExist(path string) bool
- func RandomAlphanumeric(size int) string
- func ReadFile(path string) (string, error)
- func Sleep(seconds int)
- func SplitKeyValue(kv string) (string, string, error)
- func ToLowerKebabCase(value string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Base64Decode ¶ added in v0.12.0
func Base64Encode ¶ added in v0.12.0
func CreateBaseDir ¶ added in v0.5.0
func DeleteFile ¶ added in v0.8.0
func EncodeJson ¶ added in v0.5.0
func EncodeJsonIndent ¶ added in v0.5.0
func EncodeYaml ¶ added in v0.5.0
func FindOpenPort ¶ added in v0.6.0
func InterruptHandler ¶ added in v0.12.1
func InterruptHandler(callback func())
func IotaToValues ¶ added in v0.8.0
func IotaToValues[T comparable](kv map[T]string) []string
func PathNotExist ¶ added in v0.12.0
func RandomAlphanumeric ¶ added in v0.9.0
func ToLowerKebabCase ¶ added in v0.10.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.