# Functions
ArrayDeleteEmpties removes empty elements from a string array and returns a new array with the cleaned result.
CreateTmpDir conveniently creates a temporary directory and returns the path to the temporary directory along with a function reference rmDir for directory removal.
Deref gives back the value of a provided pointer, even if in is nil.
FlatMergeMapStringInterface logically takes the base and merge changes onto it.
GetAndUnsetEnv is following the security pattern DeleteOnFirstUse when it comes to reading environment variables.
LookupEnvVar returns the value of an environment variable if it exists, without caring about if the variable itself was defined or not.
OpenFileWrite opens a file determined by path for writing.
ReadFile reads a file by name and returns its content as string.
Ref obtains a pointer to the provided value.
RegisterValidators helps to register [Validator]s with provided translations and validations.
RegisterValidatorsDefault allows registering validators and are held within this library.
StringJoinWithoutEmpties joins elements of an array after deleting empty elements.
StructToMapStringInterface turns a given struct to a map[string]interface{}.
UnmarshalTestValue takes a jsonInput and a proper struct type as value and tries to unmarshal the JSON to the struct.
UpcaseFirstStrict takes a string and only sets first letter to upcase.
# Variables
StructValidator provides a [validator.Validate] instance.
Translator provides a [ut.Translator] instance.
# Interfaces
CanBeValidated describes a type that can be validated.
# Type aliases
DeferFunc conveniently describes a type for a function that is intended to be used with a defer statement.
ValidatorsCreatorFunc describes a signature for functions that should be able to create [Validator]s.