Versions in this module Expand all Collapse all v5 v5.0.0 Jun 28, 2021 Changes in this version + func CreateDirectory(directoryPath string) error + func DecryptString(encryptedRaw string, keyBase string) (plainTextString string, err error) + func EncryptAES(key, data []byte) ([]byte, error) + func EncryptString(plain string, keyBase string) (string, error) + func Fetch(fromFile, prefix string) ([]string, error) + func FindFiles(dir string) []os.FileInfo + func GetEnvVars(prefix string) []string + func PrettyPrint(b []byte) ([]byte, error) + func PrintLogLines(logs []api.LogLine) error + func ReadLines(path string) ([]string, error) + func RichLog(level string, log string) + func StringInSlice(str string, list []string) bool + func ToHash(plain string) []byte + func ToYaml(o interface{}) ([]byte, error) + func WalkPropertyValueFromArgs(args []string, actionFunc func(property, value string) error) error + func WriteByteFile(fileName string, data []byte) error + func WriteBytesFile(landscapeDir, basePath, fileName string, data []byte) error + func WriteFile(landscapeDir, basePath, fileName, format string, resource interface{}) error + func WriteJSON(landscapeDir, basePath, fileName string, resource interface{}) error + func WriteStringFile(fileName string, data []string) error + func WriteYAML(landscapeDir, basePath, fileName string, resource interface{}) error Other modules containing this package github.com/rollulus/lenses-go/v4