# Functions
CastStringBoolTo01 casts string-bool into string "0/1".
CastStringBoolToStringTrueFalse casts string-bool into string "true/false".
CastToSliceOfStrings makes slice of strings from map.
ContextError is a one-word syntactic sugar to check what error is reported by the context.
CopyMap creates a copy of the given map by copying over key by key.
CopyMapExclude creates a copy of the given map but will exclude the given set of keys.
CopyMapFilter copies maps with keys filtering.
CopyMapInclude creates a copy of the given map but will include the given set of keys only.
CreateStringID creates HEX hash ID out of string.
Dump dumps object into string with repeatable order.
ErrIsNotCanceled checks whether specified error is either not an error is is not a context.Canceled.
ExtToLower fetches and lower-cases file extension.
Fingerprint creates object's fingerprint.
Fprintf suppresses warning for unused returns of fmt.Fprintf().
HashIntoInt hashes bytes and returns int version of the hash.
HashIntoIntTopped hashes bytes and return int version of the ash topped with top.
HashIntoString hashes bytes and returns string version of the hash.
Iline writes indented line with \n into provided io.Writer.
InArray checks whether the needle is in the haystack.
InArrayWithRegexp checks whether the needle can be matched by haystack.
IncludeNonEmpty inserts (and overwrites) data into map object using specified key, if not empty value provided.
IsAnnotationToBeSkipped checks whether an annotation should be skipped.
IsContextDone is a non-blocking one-word syntactic sugar to check whether context is done.
IsDirOk returns whether the given path exists and is a dir.
IsStringBool checks whether str is a string as bool value.
IsStringBoolFalse checks whether str is a string as bool "false" value.
IsStringBoolTrue checks whether str is a string as bool "true" value.
ListSkippedAnnotations provides list of annotations that should be skipped.
Map2String returns named map[string]string mas as a string.
MapDeleteKeys deletes multiple keys from the map.
MapHasKeys checks whether map has all keys from specified list.
MergeStringArrays appends into dst items from src that are not present in src.
MergeStringMapsOverwrite inserts (and overwrites) data into dst map object from src.
MergeStringMapsPreserve inserts (and preserved existing) data into dst map object from src.
MessageDiffItemString stringifies one map[*messagediff.Path]interface{} item.
MessageDiffString stringifies message diff.
NamespaceName returns namespace and anme from the meta.
NamespaceNameString returns namespace and name as one string.
NewMapReplacer creates new MapReplacer.
PreparePath - prepares path absolute/relative with default relative value.
ReadFilesIntoMap reads config files from specified path into "file name->file content" map path - folder where to look for files isOurFile - accepts path to file return bool whether this file should be read.
ReasonableDuration finds first duration > 0 or returns 0 in case no durations provided.
RelativeToBasePath returns absolute path relative to base.
RemoveFromArray removes removed the needle from the haystack.
Slice2String returns named slice as a string.
StringHead returns beginning of the string of requested length.
SubtractStringMaps subtracts "delta" from "base" by keys.
Unzip makes two 1-value columns (slices) out of one 2-value column (slice).
WaitContextDoneOrTimeout waits either for ctx to be done or specified timeout returns true in case ctx is Done or false in case timeout reached.
WaitContextDoneUntil waits either for ctx to be done or specified moment in time reached returns true in case ctx is Done or false in case specified time reached.
# Constants
Set of string boolean constants.
Set of string boolean constants.
Set of string boolean constants.
Set of string boolean constants.
Set of string boolean constants.
Set of string boolean constants.
Set of string boolean constants.
Set of string boolean constants.
Set of string boolean constants.
Set of string boolean constants.
Set of string boolean constants.
Set of string boolean constants.
Set of string boolean constants.
Set of string boolean constants.
Set of string boolean constants.
Set of string boolean constants.
Set of string boolean constants.
Set of string boolean constants.
Set of string boolean constants.
Set of string boolean constants.
Set of string boolean constants.
Set of string boolean constants.
# Structs
MapReplacer replaces a list of strings with replacements on a map.