utils

package
v0.0.0-...-e2887c0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2015 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(collection []string, key string) bool

func Convert

func Convert(src, target interface{}) error

func ConvertByJson

func ConvertByJson(src, target interface{}) error

func ConvertToInterfaceMap

func ConvertToInterfaceMap(input map[string]string) map[string]interface{}

func FilterString

func FilterString(data map[string][]string) string

func LabelFilter

func LabelFilter(key, value string) string

Types

type InParallel

type InParallel struct {
	// contains filtered or unexported fields
}

func (*InParallel) Add

func (i *InParallel) Add(task func() error)

func (*InParallel) Wait

func (i *InParallel) Wait() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL