# Functions
FindFiles returns the list of the files matching the array of patterns.
FindFilesMaxDepth returns the list of the files matching the array of patterns.
FormatList returns an array of string where format as been applied on every element of the supplied array.
GetCommandFromFile returns an exec.Cmd structure to run the supplied script file.
GetCommandFromString returns an exec.Cmd structure to run the supplied command.
GetEnv returns the environment variable value or defaultValue if it does not exist.
GetLoremKind converts a name to LoremKind.
GlobFunc returns an array of string representing the expansion of the supplied arguments using filepath.Glob function.
GlobFuncTrim returns an array of string representing the expansion of the supplied arguments using filepath.Glob function, it removes the unmatched arguments.
InitReplacers configures the list of substitution that should be applied on each document.
IsCommand ensures that the supplied command does not contain any shell specific characters.
IsShebangScript determines if the supplied code has a Shebang definition #! program subprogram.
IsTerraformFile check if the file extension matches on of the terraform file extension.
Lorem generates random string using lorem ipsum generator.
MergeDictionaries merges multiple dictionaries into a single one prioritizing the first ones.
MergeLists return a single list from all supplied lists.
MustFindFiles returns the list of the files matching the array of patterns with panic on error.
MustFindFilesMaxDepth returns the list of the files matching the array of patterns with panic on error.
Pwd returns the current folder.
Relative returns the relative path of file from folder.
ScriptParts splits up the supplied content into program, subprogram and source if the content matches Shebang definition.
Substitute actually applies the configured substituter.
TerraformFormat applies terraform fmt on.
# Constants
Constant used to describe the different kind of lorem generator.
Constant used to describe the different kind of lorem generator.
Constant used to describe the different kind of lorem generator.
Constant used to describe the different kind of lorem generator.
Constant used to describe the different kind of lorem generator.
Constant used to describe the different kind of lorem generator.
# Structs
RegexReplacer defines struct composed of one regular expression and its replacement string.