Documentation ¶
Overview ¶
Package utils contains a bunch of small functions used by task/ subpackages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KVList ¶
type KVList []KV
KVList if list of KV pairs.
func KVListFromMap ¶
KVListFromMap converts a map to KVList.
func UnpackKVList ¶
UnpackKVList takes validated list of k-v pair strings and returns list of structs.
Silently skips malformed strings. Use ValidateKVList to detect them before calling this function.
Click to show internal directories.
Click to hide internal directories.