package
1.1.0
Repository: https://github.com/xiaobinqt/libcompose.git
Documentation: pkg.go.dev

# Functions

Contains checks if the specified string (key) is present in the specified collection.
Convert converts a struct (src) to another one (target) using yaml marshalling/unmarshalling.
ConvertByJSON converts a struct (src) to another one (target) using json marshalling/unmarshalling.
ConvertKeysToStrings converts map[interface{}] to map[string] recursively.
CopyMap creates an exact copy of the provided string-to-string map.
CopySlice creates an exact copy of the provided string slice.
DurationStrToSecondsInt converts duration string to *int in seconds.
FilterString returns a json representation of the specified map that is used as filter for docker.
FilterStringSet accepts a string set `s` (in the form of `map[string]bool`) and a filtering function `f` and returns a string set containing only the strings `x` for which `f(x) == true`.
Merge performs a union of two string slices: the result is an unordered slice that includes every item from either argument exactly once.

# Structs

InParallel holds a pool and a waitgroup to execute tasks in parallel and to be able to wait for completion of all tasks.