support

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dump added in v0.4.0

func Dump(expression ...interface{})

func Env added in v0.3.0

func Env(search string) string

func EnvOr added in v0.3.0

func EnvOr(search string, def string) string

func EnvOrBool added in v0.3.0

func EnvOrBool(search string, def bool) bool

func Name

func Name(element interface{}) string

func Package added in v0.4.0

func Package(element interface{}) string

func Type

func Type(element interface{}) interface{}

Types

type Item added in v0.3.0

type Item []interface{}

type Items added in v0.3.0

type Items []Item

type Slice added in v0.4.0

type Slice struct {
	Items Items
}

func NewSlice added in v0.4.0

func NewSlice(items Items) Slice

func (Slice) Path added in v0.4.0

func (c Slice) Path() string

func (Slice) Push added in v0.4.0

func (c Slice) Push(item Item) Slice

func (Slice) Reverse added in v0.4.0

func (c Slice) Reverse() Slice

func (Slice) ToSlice added in v0.4.0

func (c Slice) ToSlice() Items

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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