Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AppGitState = "" AppGitCommit = "" AppVersion = "canary" )
Functions ¶
func ContextWithStopCh ¶
func EqualUnsorted ¶
func OnlyOneNotNil ¶
func RandStringRunes ¶
Types ¶
type FilterFn ¶ added in v0.1.0
FilterFn is a function used to filter a list of string. If the function returns false or a non-nil error, it will not be filtered.
type StringFilterT ¶ added in v0.1.0
StringFilterT is a tuple for a value that has not been filtered out
type StringFilterWrapper ¶ added in v0.1.0
type StringFilterWrapper []StringFilterT
func StringFilter ¶ added in v0.1.0
func StringFilter(fn FilterFn, in ...string) StringFilterWrapper
StringFilter will run fn with each element of in, filtering out elements. it will return a slice of results where fn returned ok, or a non-nil error. it will also call each instance of fn in it's own goroutine.
func (StringFilterWrapper) Error ¶ added in v0.1.0
func (f StringFilterWrapper) Error() error
Click to show internal directories.
Click to hide internal directories.