shared

package
v0.0.5-0...-3bd4ab3 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2020 License: CC0-1.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(data string)

Debugf writes the value of data to the debugWriter (default: os.Stdout)

func Debugf

func Debugf(format string, args ...interface{})

Debugf writes the formatted value of args into the debugWriter (default: os.Stdout)

func Dump

func Dump(v ...interface{})

Dump writes the pretty-printed values of v to the debugWriter (default: os.Stdout)

func GenericFilter

func GenericFilter(filters []Filter, items []interface{}) (result []interface{})

GenericFilter executes all filters provided against each item provided returning the remaining items

func Spew

func Spew(w io.Writer, v ...interface{})

Spew writes the pretty-printed values of v to the provided io.Writer

func StringSliceEqual

func StringSliceEqual(a []string, b []string) bool

StringSliceEqual ... validates that two slice of strings are equal where 'a' is the authoritative slice

Types

type Filter

type Filter func(interface{}) bool

Filter is an interface for filtering interface{} objects

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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