internal

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Coalesce

func Coalesce(elem ...string) string

Coalesce returns the first non-empty string.

func CopyArray

func CopyArray(src []string) []string

func CopyBool

func CopyBool(src *bool) *bool

Types

type Set

type Set map[string]struct{}

func NewSet

func NewSet(values ...string) Set

func (Set) All

func (s Set) All(criteria func(element string) bool) bool

func (Set) Any

func (s Set) Any(criteria func(element string) bool) bool

func (Set) Contains

func (s Set) Contains(value string) bool

func (Set) ContainsAll

func (s Set) ContainsAll(t Set) bool

func (Set) ContainsAny

func (s Set) ContainsAny(t Set) bool

Jump to

Keyboard shortcuts

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