# Functions
BoolPtr returns a pointer to a bool.
CallerFileLine returns file name and line of invoker Similar to CallerName(1), but with file and line returned.
CallerName retrieves the name of the function prior to the location it is called If using CallerName(0), the current function's name will be returned If using CallerName(1), the current function's parent name will be returned If using CallerName(2), the current function's parent's parent name will be returned.
CallerPath checks the goroutine's stack of function invocation and returns the following: For up=0, return full caller path for caller function For up=1, returns full caller path for caller of caller.
FindString searches a []string for a specific value.
GetExecutableName returns name of executable without file extension.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
return a dictionary of variables which will need to be type asserted by the caller.
Int64Ptr returns a pointer to an int64.
JSON marshals a struct into JSON with indentation.
RandomString generates a pseudo-random number of characters of length n.
ReformatError prefixes the error string ready for logging and/or output.
ReplaceBytesMultipleValues replaces multiple substring with a new value for a given string in bytes.
ReplaceBytesValue replaces a substring with a new value for a given string in bytes.
StringPtr returns a pointer to the passed string.
WriteAllowed determines whether a given filepath can be written to.