Documentation
¶
Index ¶
- func Bool(isTrue bool, trueValue, falseValue bool) bool
- func BoolByOrder(booleans ...bool) bool
- func BoolFunc(isTrue bool, trueValueFunc, falseValueFunc func() bool) bool
- func BoolFunctionsByOrder(boolFunctions ...func() bool) bool
- func Booleans(isTrue bool, trueValue, falseValue []bool) []bool
- func BooleansPtr(isTrue bool, trueValue, falseValue *[]bool) *[]bool
- func Byte(isTrue bool, trueValue, falseValue byte) byte
- func Bytes(isTrue bool, trueValue, falseValue []byte) []byte
- func BytesPtr(isTrue bool, trueValue, falseValue *[]byte) *[]byte
- func Func(isTrue bool, trueValueFunc, falseValueFunc func() interface{}) func() interface{}
- func Int(isTrue bool, trueValue, falseValue int) int
- func Integers(isTrue bool, trueValue, falseValue []int) []int
- func IntegersPtr(isTrue bool, trueValue, falseValue *[]int) *[]int
- func IntegersPtrFunc(isTrue bool, trueValueFunc, falseValueFunc func() *[]int) *[]int
- func Interface(isTrue bool, trueValue, falseValue interface{}) interface{}
- func InterfaceFunc(isTrue bool, trueValueFunc, falseValueFunc func() interface{}) interface{}
- func Interfaces(isTrue bool, trueValue, falseValue []interface{}) []interface{}
- func InterfacesPtr(isTrue bool, trueValue, falseValue *[]interface{}) *[]interface{}
- func Setter(isTrue bool, trueValue, falseValue issetter.Value) interface{}
- func String(isTrue bool, trueValue, falseValue string) string
- func StringFunc(isTrue bool, trueValueFunc, falseValueFunc func() string) string
- func StringPtr(isTrue bool, trueValue, falseValue *string) *string
- func Strings(isTrue bool, trueValue, falseValue []string) []string
- func StringsIndexVal(isTrue bool, slice []string, trueValue, falseValue int) string
- func StringsPtr(isTrue bool, trueValue, falseValue *[]string) *[]string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoolByOrder ¶ added in v0.4.1
BoolByOrder returns the first boolean which is true
func BoolFunctionsByOrder ¶ added in v0.4.1
BoolFunctionsByOrder returns the first func which is true and don't execute others.
func BooleansPtr ¶ added in v0.3.8
func Func ¶ added in v0.3.8
func Func( isTrue bool, trueValueFunc, falseValueFunc func() interface{}, ) func() interface{}
func IntegersPtr ¶ added in v0.3.8
func IntegersPtrFunc ¶ added in v0.3.8
func InterfaceFunc ¶ added in v0.3.8
func InterfaceFunc( isTrue bool, trueValueFunc, falseValueFunc func() interface{}, ) interface{}
func Interfaces ¶ added in v0.0.8
func Interfaces( isTrue bool, trueValue, falseValue []interface{}, ) []interface{}
func InterfacesPtr ¶ added in v0.0.8
func InterfacesPtr( isTrue bool, trueValue, falseValue *[]interface{}, ) *[]interface{}
func StringFunc ¶ added in v0.3.8
func StringsIndexVal ¶ added in v0.5.1
func StringsPtr ¶ added in v0.0.8
Types ¶
This section is empty.
Source Files
¶
- Bool.go
- BoolByOrder.go
- BoolFunc.go
- BoolFunctionsByOrder.go
- Booleans.go
- BooleansPtr.go
- Byte.go
- Bytes.go
- BytesPtr.go
- Func.go
- Int.go
- Integers.go
- IntegersPtr.go
- IntegersPtrFunc.go
- Interface.go
- InterfaceFunc.go
- Interfaces.go
- InterfacesPtr.go
- Setter.go
- String.go
- StringFunc.go
- StringPtr.go
- Strings.go
- StringsIndexVal.go
- StringsPtr.go
Click to show internal directories.
Click to hide internal directories.