Documentation ¶
Index ¶
- func ReturnBool(boolExpression bool, trueReturnValue, falseReturnValue bool) bool
- func ReturnBoolPointer(boolExpression bool, trueReturnValue, falseReturnValue *bool) *bool
- func ReturnBoolPointerSlice(boolExpression bool, trueReturnValue, falseReturnValue []*bool) []*bool
- func ReturnBoolSlice(boolExpression bool, trueReturnValue, falseReturnValue []bool) []bool
- func ReturnByte(boolExpression bool, trueReturnValue, falseReturnValue byte) byte
- func ReturnBytePointer(boolExpression bool, trueReturnValue, falseReturnValue *byte) *byte
- func ReturnBytePointerSlice(boolExpression bool, trueReturnValue, falseReturnValue []*byte) []*byte
- func ReturnByteSlice(boolExpression bool, trueReturnValue, falseReturnValue []byte) []byte
- func ReturnComplex128(boolExpression bool, trueReturnValue, falseReturnValue complex128) complex128
- func ReturnComplex128Pointer(boolExpression bool, trueReturnValue, falseReturnValue *complex128) *complex128
- func ReturnComplex128PointerSlice(boolExpression bool, trueReturnValue, falseReturnValue []*complex128) []*complex128
- func ReturnComplex128Slice(boolExpression bool, trueReturnValue, falseReturnValue []complex128) []complex128
- func ReturnComplex64(boolExpression bool, trueReturnValue, falseReturnValue complex64) complex64
- func ReturnComplex64Pointer(boolExpression bool, trueReturnValue, falseReturnValue *complex64) *complex64
- func ReturnComplex64PointerSlice(boolExpression bool, trueReturnValue, falseReturnValue []*complex64) []*complex64
- func ReturnComplex64Slice(boolExpression bool, trueReturnValue, falseReturnValue []complex64) []complex64
- func ReturnDuration(boolExpression bool, trueReturnValue, falseReturnValue time.Duration) time.Duration
- func ReturnDurationPointer(boolExpression bool, trueReturnValue, falseReturnValue *time.Duration) *time.Duration
- func ReturnDurationPointerSlice(boolExpression bool, trueReturnValue, falseReturnValue []*time.Duration) []*time.Duration
- func ReturnDurationSlice(boolExpression bool, trueReturnValue, falseReturnValue []time.Duration) []time.Duration
- func ReturnFloat32(boolExpression bool, trueReturnValue, falseReturnValue float32) float32
- func ReturnFloat32Pointer(boolExpression bool, trueReturnValue, falseReturnValue *float32) *float32
- func ReturnFloat32PointerSlice(boolExpression bool, trueReturnValue, falseReturnValue []*float32) []*float32
- func ReturnFloat32Slice(boolExpression bool, trueReturnValue, falseReturnValue []float32) []float32
- func ReturnFloat64(boolExpression bool, trueReturnValue, falseReturnValue float64) float64
- func ReturnFloat64Pointer(boolExpression bool, trueReturnValue, falseReturnValue *float64) *float64
- func ReturnFloat64PointerSlice(boolExpression bool, trueReturnValue, falseReturnValue []*float64) []*float64
- func ReturnFloat64Slice(boolExpression bool, trueReturnValue, falseReturnValue []float64) []float64
- func ReturnInt(boolExpression bool, trueReturnValue, falseReturnValue int) int
- func ReturnInt16(boolExpression bool, trueReturnValue, falseReturnValue int16) int16
- func ReturnInt16Pointer(boolExpression bool, trueReturnValue, falseReturnValue *int16) *int16
- func ReturnInt16PointerSlice(boolExpression bool, trueReturnValue, falseReturnValue []*int16) []*int16
- func ReturnInt16Slice(boolExpression bool, trueReturnValue, falseReturnValue []int16) []int16
- func ReturnInt32(boolExpression bool, trueReturnValue, falseReturnValue int32) int32
- func ReturnInt32Pointer(boolExpression bool, trueReturnValue, falseReturnValue *int32) *int32
- func ReturnInt32PointerSlice(boolExpression bool, trueReturnValue, falseReturnValue []*int32) []*int32
- func ReturnInt32Slice(boolExpression bool, trueReturnValue, falseReturnValue []int32) []int32
- func ReturnInt64(boolExpression bool, trueReturnValue, falseReturnValue int64) int64
- func ReturnInt64Pointer(boolExpression bool, trueReturnValue, falseReturnValue *int64) *int64
- func ReturnInt64PointerSlice(boolExpression bool, trueReturnValue, falseReturnValue []*int64) []*int64
- func ReturnInt64Slice(boolExpression bool, trueReturnValue, falseReturnValue []int64) []int64
- func ReturnInt8(boolExpression bool, trueReturnValue, falseReturnValue int8) int8
- func ReturnInt8Pointer(boolExpression bool, trueReturnValue, falseReturnValue *int8) *int8
- func ReturnInt8PointerSlice(boolExpression bool, trueReturnValue, falseReturnValue []*int8) []*int8
- func ReturnInt8Slice(boolExpression bool, trueReturnValue, falseReturnValue []int8) []int8
- func ReturnIntPointer(boolExpression bool, trueReturnValue, falseReturnValue *int) *int
- func ReturnIntPointerSlice(boolExpression bool, trueReturnValue, falseReturnValue []*int) []*int
- func ReturnIntSlice(boolExpression bool, trueReturnValue, falseReturnValue []int) []int
- func ReturnInterface(boolExpression bool, trueReturnValue, falseReturnValue interface{}) interface{}
- func ReturnInterfacePointer(boolExpression bool, trueReturnValue, falseReturnValue *interface{}) *interface{}
- func ReturnInterfacePointerSlice(boolExpression bool, trueReturnValue, falseReturnValue []*interface{}) []*interface{}
- func ReturnInterfaceSlice(boolExpression bool, trueReturnValue, falseReturnValue []interface{}) []interface{}
- func ReturnRune(boolExpression bool, trueReturnValue, falseReturnValue rune) rune
- func ReturnRunePointer(boolExpression bool, trueReturnValue, falseReturnValue *rune) *rune
- func ReturnRunePointerSlice(boolExpression bool, trueReturnValue, falseReturnValue []*rune) []*rune
- func ReturnRuneSlice(boolExpression bool, trueReturnValue, falseReturnValue []rune) []rune
- func ReturnString(boolExpression bool, trueReturnValue, falseReturnValue string) string
- func ReturnStringPointer(boolExpression bool, trueReturnValue, falseReturnValue *string) *string
- func ReturnStringPointerSlice(boolExpression bool, trueReturnValue, falseReturnValue []*string) []*string
- func ReturnStringSlice(boolExpression bool, trueReturnValue, falseReturnValue []string) []string
- func ReturnTime(boolExpression bool, trueReturnValue, falseReturnValue time.Time) time.Time
- func ReturnTimePointer(boolExpression bool, trueReturnValue, falseReturnValue *time.Time) *time.Time
- func ReturnTimePointerSlice(boolExpression bool, trueReturnValue, falseReturnValue []*time.Time) []*time.Time
- func ReturnTimeSlice(boolExpression bool, trueReturnValue, falseReturnValue []time.Time) []time.Time
- func ReturnUint(boolExpression bool, trueReturnValue, falseReturnValue uint) uint
- func ReturnUint16(boolExpression bool, trueReturnValue, falseReturnValue uint16) uint16
- func ReturnUint16Pointer(boolExpression bool, trueReturnValue, falseReturnValue *uint16) *uint16
- func ReturnUint16PointerSlice(boolExpression bool, trueReturnValue, falseReturnValue []*uint16) []*uint16
- func ReturnUint16Slice(boolExpression bool, trueReturnValue, falseReturnValue []uint16) []uint16
- func ReturnUint32(boolExpression bool, trueReturnValue, falseReturnValue uint32) uint32
- func ReturnUint32Pointer(boolExpression bool, trueReturnValue, falseReturnValue *uint32) *uint32
- func ReturnUint32PointerSlice(boolExpression bool, trueReturnValue, falseReturnValue []*uint32) []*uint32
- func ReturnUint32Slice(boolExpression bool, trueReturnValue, falseReturnValue []uint32) []uint32
- func ReturnUint64(boolExpression bool, trueReturnValue, falseReturnValue uint64) uint64
- func ReturnUint64Pointer(boolExpression bool, trueReturnValue, falseReturnValue *uint64) *uint64
- func ReturnUint64PointerSlice(boolExpression bool, trueReturnValue, falseReturnValue []*uint64) []*uint64
- func ReturnUint64Slice(boolExpression bool, trueReturnValue, falseReturnValue []uint64) []uint64
- func ReturnUint8(boolExpression bool, trueReturnValue, falseReturnValue uint8) uint8
- func ReturnUint8Pointer(boolExpression bool, trueReturnValue, falseReturnValue *uint8) *uint8
- func ReturnUint8PointerSlice(boolExpression bool, trueReturnValue, falseReturnValue []*uint8) []*uint8
- func ReturnUint8Slice(boolExpression bool, trueReturnValue, falseReturnValue []uint8) []uint8
- func ReturnUintPointer(boolExpression bool, trueReturnValue, falseReturnValue *uint) *uint
- func ReturnUintPointerSlice(boolExpression bool, trueReturnValue, falseReturnValue []*uint) []*uint
- func ReturnUintSlice(boolExpression bool, trueReturnValue, falseReturnValue []uint) []uint
- func ReturnUintptr(boolExpression bool, trueReturnValue, falseReturnValue uintptr) uintptr
- func ReturnUintptrPointer(boolExpression bool, trueReturnValue, falseReturnValue *uintptr) *uintptr
- func ReturnUintptrPointerSlice(boolExpression bool, trueReturnValue, falseReturnValue []*uintptr) []*uintptr
- func ReturnUintptrSlice(boolExpression bool, trueReturnValue, falseReturnValue []uintptr) []uintptr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReturnBool ¶
ReturnBool
@Description: if实现的三元表达式,返回结果是bool @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的bool @param falseReturnValue: 当boolExpression返回值为false的时候返回的bool @return bool: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnBoolPointer ¶
ReturnBoolPointer
@Description: if实现的三元表达式,返回结果是*bool @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的*bool @param falseReturnValue: 当boolExpression返回值为false的时候返回的*bool @return *bool: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnBoolPointerSlice ¶
ReturnBoolPointerSlice
@Description: if实现的三元表达式,返回结果是[]*bool @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]*bool @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]*bool @return []*bool: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnBoolSlice ¶
ReturnBoolSlice
@Description: if实现的三元表达式,返回结果是[]bool @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]bool @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]bool @return []bool: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnByte ¶
ReturnByte
@Description: if实现的三元表达式,返回结果是byte @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的byte @param falseReturnValue: 当boolExpression返回值为false的时候返回的byte @return byte: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnBytePointer ¶
ReturnBytePointer
@Description: if实现的三元表达式,返回结果是*byte @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的*byte @param falseReturnValue: 当boolExpression返回值为false的时候返回的*byte @return *byte: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnBytePointerSlice ¶
ReturnBytePointerSlice
@Description: if实现的三元表达式,返回结果是[]*byte @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]*byte @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]*byte @return []*byte: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnByteSlice ¶
ReturnByteSlice
@Description: if实现的三元表达式,返回结果是[]byte @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]byte @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]byte @return []byte: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnComplex128 ¶
func ReturnComplex128(boolExpression bool, trueReturnValue, falseReturnValue complex128) complex128
ReturnComplex128
@Description: if实现的三元表达式,返回结果是complex128 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的complex128 @param falseReturnValue: 当boolExpression返回值为false的时候返回的complex128 @return complex128: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnComplex128Pointer ¶
func ReturnComplex128Pointer(boolExpression bool, trueReturnValue, falseReturnValue *complex128) *complex128
ReturnComplex128Pointer
@Description: if实现的三元表达式,返回结果是*complex128 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的*complex128 @param falseReturnValue: 当boolExpression返回值为false的时候返回的*complex128 @return *complex128: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnComplex128PointerSlice ¶
func ReturnComplex128PointerSlice(boolExpression bool, trueReturnValue, falseReturnValue []*complex128) []*complex128
ReturnComplex128PointerSlice
@Description: if实现的三元表达式,返回结果是[]*complex128 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]*complex128 @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]*complex128 @return []*complex128: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnComplex128Slice ¶
func ReturnComplex128Slice(boolExpression bool, trueReturnValue, falseReturnValue []complex128) []complex128
ReturnComplex128Slice
@Description: if实现的三元表达式,返回结果是[]complex128 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]complex128 @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]complex128 @return []complex128: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnComplex64 ¶
ReturnComplex64
@Description: if实现的三元表达式,返回结果是complex64 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的complex64 @param falseReturnValue: 当boolExpression返回值为false的时候返回的complex64 @return complex64: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnComplex64Pointer ¶
func ReturnComplex64Pointer(boolExpression bool, trueReturnValue, falseReturnValue *complex64) *complex64
ReturnComplex64Pointer
@Description: if实现的三元表达式,返回结果是*complex64 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的*complex64 @param falseReturnValue: 当boolExpression返回值为false的时候返回的*complex64 @return *complex64: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnComplex64PointerSlice ¶
func ReturnComplex64PointerSlice(boolExpression bool, trueReturnValue, falseReturnValue []*complex64) []*complex64
ReturnComplex64PointerSlice
@Description: if实现的三元表达式,返回结果是[]*complex64 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]*complex64 @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]*complex64 @return []*complex64: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnComplex64Slice ¶
func ReturnComplex64Slice(boolExpression bool, trueReturnValue, falseReturnValue []complex64) []complex64
ReturnComplex64Slice
@Description: if实现的三元表达式,返回结果是[]complex64 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]complex64 @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]complex64 @return []complex64: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnDuration ¶
func ReturnDuration(boolExpression bool, trueReturnValue, falseReturnValue time.Duration) time.Duration
ReturnDuration
@Description: if实现的三元表达式,返回结果是time.Duration @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的time.Duration @param falseReturnValue: 当boolExpression返回值为false的时候返回的time.Duration @return time.Duration: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnDurationPointer ¶
func ReturnDurationPointer(boolExpression bool, trueReturnValue, falseReturnValue *time.Duration) *time.Duration
ReturnDurationPointer
@Description: if实现的三元表达式,返回结果是*time.Duration @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的*time.Duration @param falseReturnValue: 当boolExpression返回值为false的时候返回的*time.Duration @return *time.Duration: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnDurationPointerSlice ¶
func ReturnDurationPointerSlice(boolExpression bool, trueReturnValue, falseReturnValue []*time.Duration) []*time.Duration
ReturnDurationPointerSlice
@Description: if实现的三元表达式,返回结果是[]*time.Duration @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]*time.Duration @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]*time.Duration @return []*time.Duration: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnDurationSlice ¶
func ReturnDurationSlice(boolExpression bool, trueReturnValue, falseReturnValue []time.Duration) []time.Duration
ReturnDurationSlice
@Description: if实现的三元表达式,返回结果是[]time.Duration @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]time.Duration @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]time.Duration @return []time.Duration: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnFloat32 ¶
ReturnFloat32
@Description: if实现的三元表达式,返回结果是float32 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的float32 @param falseReturnValue: 当boolExpression返回值为false的时候返回的float32 @return float32: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnFloat32Pointer ¶
ReturnFloat32Pointer
@Description: if实现的三元表达式,返回结果是*float32 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的*float32 @param falseReturnValue: 当boolExpression返回值为false的时候返回的*float32 @return *float32: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnFloat32PointerSlice ¶
func ReturnFloat32PointerSlice(boolExpression bool, trueReturnValue, falseReturnValue []*float32) []*float32
ReturnFloat32PointerSlice
@Description: if实现的三元表达式,返回结果是[]*float32 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]*float32 @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]*float32 @return []*float32: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnFloat32Slice ¶
ReturnFloat32Slice
@Description: if实现的三元表达式,返回结果是[]float32 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]float32 @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]float32 @return []float32: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnFloat64 ¶
ReturnFloat64
@Description: if实现的三元表达式,返回结果是float64 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的float64 @param falseReturnValue: 当boolExpression返回值为false的时候返回的float64 @return float64: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnFloat64Pointer ¶
ReturnFloat64Pointer
@Description: if实现的三元表达式,返回结果是*float64 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的*float64 @param falseReturnValue: 当boolExpression返回值为false的时候返回的*float64 @return *float64: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnFloat64PointerSlice ¶
func ReturnFloat64PointerSlice(boolExpression bool, trueReturnValue, falseReturnValue []*float64) []*float64
ReturnFloat64PointerSlice
@Description: if实现的三元表达式,返回结果是[]*float64 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]*float64 @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]*float64 @return []*float64: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnFloat64Slice ¶
ReturnFloat64Slice
@Description: if实现的三元表达式,返回结果是[]float64 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]float64 @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]float64 @return []float64: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnInt ¶
ReturnInt
@Description: if实现的三元表达式,返回结果是int @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的int @param falseReturnValue: 当boolExpression返回值为false的时候返回的int @return int: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnInt16 ¶
ReturnInt16
@Description: if实现的三元表达式,返回结果是int16 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的int16 @param falseReturnValue: 当boolExpression返回值为false的时候返回的int16 @return int16: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnInt16Pointer ¶
ReturnInt16Pointer
@Description: if实现的三元表达式,返回结果是*int16 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的*int16 @param falseReturnValue: 当boolExpression返回值为false的时候返回的*int16 @return *int16: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnInt16PointerSlice ¶
func ReturnInt16PointerSlice(boolExpression bool, trueReturnValue, falseReturnValue []*int16) []*int16
ReturnInt16PointerSlice
@Description: if实现的三元表达式,返回结果是[]*int16 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]*int16 @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]*int16 @return []*int16: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnInt16Slice ¶
ReturnInt16Slice
@Description: if实现的三元表达式,返回结果是[]int16 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]int16 @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]int16 @return []int16: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnInt32 ¶
ReturnInt32
@Description: if实现的三元表达式,返回结果是int32 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的int32 @param falseReturnValue: 当boolExpression返回值为false的时候返回的int32 @return int32: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnInt32Pointer ¶
ReturnInt32Pointer
@Description: if实现的三元表达式,返回结果是*int32 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的*int32 @param falseReturnValue: 当boolExpression返回值为false的时候返回的*int32 @return *int32: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnInt32PointerSlice ¶
func ReturnInt32PointerSlice(boolExpression bool, trueReturnValue, falseReturnValue []*int32) []*int32
ReturnInt32PointerSlice
@Description: if实现的三元表达式,返回结果是[]*int32 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]*int32 @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]*int32 @return []*int32: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnInt32Slice ¶
ReturnInt32Slice
@Description: if实现的三元表达式,返回结果是[]int32 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]int32 @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]int32 @return []int32: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnInt64 ¶
ReturnInt64
@Description: if实现的三元表达式,返回结果是int64 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的int64 @param falseReturnValue: 当boolExpression返回值为false的时候返回的int64 @return int64: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnInt64Pointer ¶
ReturnInt64Pointer
@Description: if实现的三元表达式,返回结果是*int64 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的*int64 @param falseReturnValue: 当boolExpression返回值为false的时候返回的*int64 @return *int64: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnInt64PointerSlice ¶
func ReturnInt64PointerSlice(boolExpression bool, trueReturnValue, falseReturnValue []*int64) []*int64
ReturnInt64PointerSlice
@Description: if实现的三元表达式,返回结果是[]*int64 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]*int64 @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]*int64 @return []*int64: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnInt64Slice ¶
ReturnInt64Slice
@Description: if实现的三元表达式,返回结果是[]int64 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]int64 @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]int64 @return []int64: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnInt8 ¶
ReturnInt8
@Description: if实现的三元表达式,返回结果是int8 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的int8 @param falseReturnValue: 当boolExpression返回值为false的时候返回的int8 @return int8: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnInt8Pointer ¶
ReturnInt8Pointer
@Description: if实现的三元表达式,返回结果是*int8 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的*int8 @param falseReturnValue: 当boolExpression返回值为false的时候返回的*int8 @return *int8: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnInt8PointerSlice ¶
ReturnInt8PointerSlice
@Description: if实现的三元表达式,返回结果是[]*int8 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]*int8 @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]*int8 @return []*int8: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnInt8Slice ¶
ReturnInt8Slice
@Description: if实现的三元表达式,返回结果是[]int8 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]int8 @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]int8 @return []int8: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnIntPointer ¶
ReturnIntPointer
@Description: if实现的三元表达式,返回结果是*int @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的*int @param falseReturnValue: 当boolExpression返回值为false的时候返回的*int @return *int: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnIntPointerSlice ¶
ReturnIntPointerSlice
@Description: if实现的三元表达式,返回结果是[]*int @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]*int @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]*int @return []*int: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnIntSlice ¶
ReturnIntSlice
@Description: if实现的三元表达式,返回结果是[]int @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]int @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]int @return []int: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnInterface ¶
func ReturnInterface(boolExpression bool, trueReturnValue, falseReturnValue interface{}) interface{}
ReturnInterface
@Description: if实现的三元表达式,返回结果是interface{} @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的interface{} @param falseReturnValue: 当boolExpression返回值为false的时候返回的interface{} @return interface{}: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnInterfacePointer ¶
func ReturnInterfacePointer(boolExpression bool, trueReturnValue, falseReturnValue *interface{}) *interface{}
ReturnInterfacePointer
@Description: if实现的三元表达式,返回结果是*interface{} @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的*interface{} @param falseReturnValue: 当boolExpression返回值为false的时候返回的*interface{} @return *interface{}: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnInterfacePointerSlice ¶
func ReturnInterfacePointerSlice(boolExpression bool, trueReturnValue, falseReturnValue []*interface{}) []*interface{}
ReturnInterfacePointerSlice
@Description: if实现的三元表达式,返回结果是[]*interface{} @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]*interface{} @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]*interface{} @return []*interface{}: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnInterfaceSlice ¶
func ReturnInterfaceSlice(boolExpression bool, trueReturnValue, falseReturnValue []interface{}) []interface{}
ReturnInterfaceSlice
@Description: if实现的三元表达式,返回结果是[]interface{} @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]interface{} @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]interface{} @return []interface{}: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnRune ¶
ReturnRune
@Description: if实现的三元表达式,返回结果是rune @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的rune @param falseReturnValue: 当boolExpression返回值为false的时候返回的rune @return rune: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnRunePointer ¶
ReturnRunePointer
@Description: if实现的三元表达式,返回结果是*rune @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的*rune @param falseReturnValue: 当boolExpression返回值为false的时候返回的*rune @return *rune: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnRunePointerSlice ¶
ReturnRunePointerSlice
@Description: if实现的三元表达式,返回结果是[]*rune @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]*rune @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]*rune @return []*rune: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnRuneSlice ¶
ReturnRuneSlice
@Description: if实现的三元表达式,返回结果是[]rune @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]rune @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]rune @return []rune: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnString ¶
ReturnString
@Description: if实现的三元表达式,返回结果是string @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的string @param falseReturnValue: 当boolExpression返回值为false的时候返回的string @return string: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnStringPointer ¶
ReturnStringPointer
@Description: if实现的三元表达式,返回结果是*string @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的*string @param falseReturnValue: 当boolExpression返回值为false的时候返回的*string @return *string: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnStringPointerSlice ¶
func ReturnStringPointerSlice(boolExpression bool, trueReturnValue, falseReturnValue []*string) []*string
ReturnStringPointerSlice
@Description: if实现的三元表达式,返回结果是[]*string @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]*string @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]*string @return []*string: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnStringSlice ¶
ReturnStringSlice
@Description: if实现的三元表达式,返回结果是[]string @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]string @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]string @return []string: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnTime ¶
ReturnTime
@Description: if实现的三元表达式,返回结果是time.Time @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的time.Time @param falseReturnValue: 当boolExpression返回值为false的时候返回的time.Time @return time.Time: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnTimePointer ¶
func ReturnTimePointer(boolExpression bool, trueReturnValue, falseReturnValue *time.Time) *time.Time
ReturnTimePointer
@Description: if实现的三元表达式,返回结果是*time.Time @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的*time.Time @param falseReturnValue: 当boolExpression返回值为false的时候返回的*time.Time @return *time.Time: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnTimePointerSlice ¶
func ReturnTimePointerSlice(boolExpression bool, trueReturnValue, falseReturnValue []*time.Time) []*time.Time
ReturnTimePointerSlice
@Description: if实现的三元表达式,返回结果是[]*time.Time @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]*time.Time @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]*time.Time @return []*time.Time: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnTimeSlice ¶
func ReturnTimeSlice(boolExpression bool, trueReturnValue, falseReturnValue []time.Time) []time.Time
ReturnTimeSlice
@Description: if实现的三元表达式,返回结果是[]time.Time @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]time.Time @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]time.Time @return []time.Time: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnUint ¶
ReturnUint
@Description: if实现的三元表达式,返回结果是uint @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的uint @param falseReturnValue: 当boolExpression返回值为false的时候返回的uint @return uint: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnUint16 ¶
ReturnUint16
@Description: if实现的三元表达式,返回结果是uint16 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的uint16 @param falseReturnValue: 当boolExpression返回值为false的时候返回的uint16 @return uint16: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnUint16Pointer ¶
ReturnUint16Pointer
@Description: if实现的三元表达式,返回结果是*uint16 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的*uint16 @param falseReturnValue: 当boolExpression返回值为false的时候返回的*uint16 @return *uint16: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnUint16PointerSlice ¶
func ReturnUint16PointerSlice(boolExpression bool, trueReturnValue, falseReturnValue []*uint16) []*uint16
ReturnUint16PointerSlice
@Description: if实现的三元表达式,返回结果是[]*uint16 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]*uint16 @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]*uint16 @return []*uint16: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnUint16Slice ¶
ReturnUint16Slice
@Description: if实现的三元表达式,返回结果是[]uint16 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]uint16 @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]uint16 @return []uint16: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnUint32 ¶
ReturnUint32
@Description: if实现的三元表达式,返回结果是uint32 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的uint32 @param falseReturnValue: 当boolExpression返回值为false的时候返回的uint32 @return uint32: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnUint32Pointer ¶
ReturnUint32Pointer
@Description: if实现的三元表达式,返回结果是*uint32 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的*uint32 @param falseReturnValue: 当boolExpression返回值为false的时候返回的*uint32 @return *uint32: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnUint32PointerSlice ¶
func ReturnUint32PointerSlice(boolExpression bool, trueReturnValue, falseReturnValue []*uint32) []*uint32
ReturnUint32PointerSlice
@Description: if实现的三元表达式,返回结果是[]*uint32 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]*uint32 @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]*uint32 @return []*uint32: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnUint32Slice ¶
ReturnUint32Slice
@Description: if实现的三元表达式,返回结果是[]uint32 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]uint32 @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]uint32 @return []uint32: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnUint64 ¶
ReturnUint64
@Description: if实现的三元表达式,返回结果是uint64 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的uint64 @param falseReturnValue: 当boolExpression返回值为false的时候返回的uint64 @return uint64: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnUint64Pointer ¶
ReturnUint64Pointer
@Description: if实现的三元表达式,返回结果是*uint64 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的*uint64 @param falseReturnValue: 当boolExpression返回值为false的时候返回的*uint64 @return *uint64: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnUint64PointerSlice ¶
func ReturnUint64PointerSlice(boolExpression bool, trueReturnValue, falseReturnValue []*uint64) []*uint64
ReturnUint64PointerSlice
@Description: if实现的三元表达式,返回结果是[]*uint64 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]*uint64 @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]*uint64 @return []*uint64: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnUint64Slice ¶
ReturnUint64Slice
@Description: if实现的三元表达式,返回结果是[]uint64 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]uint64 @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]uint64 @return []uint64: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnUint8 ¶
ReturnUint8
@Description: if实现的三元表达式,返回结果是uint8 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的uint8 @param falseReturnValue: 当boolExpression返回值为false的时候返回的uint8 @return uint8: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnUint8Pointer ¶
ReturnUint8Pointer
@Description: if实现的三元表达式,返回结果是*uint8 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的*uint8 @param falseReturnValue: 当boolExpression返回值为false的时候返回的*uint8 @return *uint8: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnUint8PointerSlice ¶
func ReturnUint8PointerSlice(boolExpression bool, trueReturnValue, falseReturnValue []*uint8) []*uint8
ReturnUint8PointerSlice
@Description: if实现的三元表达式,返回结果是[]*uint8 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]*uint8 @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]*uint8 @return []*uint8: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnUint8Slice ¶
ReturnUint8Slice
@Description: if实现的三元表达式,返回结果是[]uint8 @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]uint8 @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]uint8 @return []uint8: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnUintPointer ¶
ReturnUintPointer
@Description: if实现的三元表达式,返回结果是*uint @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的*uint @param falseReturnValue: 当boolExpression返回值为false的时候返回的*uint @return *uint: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnUintPointerSlice ¶
ReturnUintPointerSlice
@Description: if实现的三元表达式,返回结果是[]*uint @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]*uint @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]*uint @return []*uint: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnUintSlice ¶
ReturnUintSlice
@Description: if实现的三元表达式,返回结果是[]uint @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]uint @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]uint @return []uint: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnUintptr ¶
ReturnUintptr
@Description: if实现的三元表达式,返回结果是uintptr @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的uintptr @param falseReturnValue: 当boolExpression返回值为false的时候返回的uintptr @return uintptr: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnUintptrPointer ¶
ReturnUintptrPointer
@Description: if实现的三元表达式,返回结果是*uintptr @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的*uintptr @param falseReturnValue: 当boolExpression返回值为false的时候返回的*uintptr @return *uintptr: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnUintptrPointerSlice ¶
func ReturnUintptrPointerSlice(boolExpression bool, trueReturnValue, falseReturnValue []*uintptr) []*uintptr
ReturnUintptrPointerSlice
@Description: if实现的三元表达式,返回结果是[]*uintptr @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]*uintptr @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]*uintptr @return []*uintptr: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
func ReturnUintptrSlice ¶
ReturnUintptrSlice
@Description: if实现的三元表达式,返回结果是[]uintptr @param boolExpression: 表达式,最终返回一个布尔值 @param trueReturnValue: 当boolExpression返回值为true的时候返回的[]uintptr @param falseReturnValue: 当boolExpression返回值为false的时候返回的[]uintptr @return []uintptr: 三元表达式的结果,为trueReturnValue或者falseReturnValue中的一个
Types ¶
This section is empty.