Documentation
¶
Index ¶
- func BoolPointer(arg bool) *bool
- func BoolValue(arg *bool) bool
- func Float32Pointer(arg float32) *float32
- func Float32PointerNil(arg float32) *float32
- func Float32Value(arg *float32) float32
- func Float64Pointer(arg float64) *float64
- func Float64PointerNil(arg float64) *float64
- func Float64Value(arg *float64) float64
- func Int32Pointer(arg int32) *int32
- func Int32PointerNil(arg int32) *int32
- func Int32Value(arg *int32) int32
- func Int64Pointer(arg int64) *int64
- func Int64PointerNil(arg int64) *int64
- func Int64Value(arg *int64) int64
- func IntPointer(arg int) *int
- func IntPointerNil(arg int) *int
- func IntValue(arg *int) int
- func StringPointer(arg string) *string
- func StringPointerNil(arg string) *string
- func StringValue(arg *string) string
- func TimePointer(arg time.Time) *time.Time
- func TimePointerNil(arg time.Time) *time.Time
- func TimeValue(arg *time.Time) time.Time
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoolPointer ¶ added in v1.0.2
传入变量转换为指针变量。 Convert the incoming variable to a pointer variable.
func BoolValue ¶ added in v1.0.2
传入指针变量转换为变量。如果指正为nil返回默认值。 Convert the incoming pointer variable to a variable. If the correction is nil, return the default value.
func Float32Pointer ¶ added in v1.0.2
传入变量转换为指针变量。 Convert the incoming variable to a pointer variable.
func Float32PointerNil ¶ added in v1.0.2
传入变量转换为指针变量。如果变量为默认值返回nil。 Convert the incoming variable to a pointer variable. If the variable is the default value, return nil.
func Float32Value ¶ added in v1.0.2
传入指针变量转换为变量。如果指正为nil返回默认值。 Convert the incoming pointer variable to a variable. If the correction is nil, return the default value.
func Float64Pointer ¶ added in v1.0.2
传入变量转换为指针变量。 Convert the incoming variable to a pointer variable.
func Float64PointerNil ¶ added in v1.0.2
传入变量转换为指针变量。如果变量为默认值返回nil。 Convert the incoming variable to a pointer variable. If the variable is the default value, return nil.
func Float64Value ¶ added in v1.0.2
传入指针变量转换为变量。如果指正为nil返回默认值。 Convert the incoming pointer variable to a variable. If the correction is nil, return the default value.
func Int32Pointer ¶ added in v1.0.2
传入变量转换为指针变量。 Convert the incoming variable to a pointer variable.
func Int32PointerNil ¶ added in v1.0.2
传入变量转换为指针变量。如果变量为默认值返回nil。 Convert the incoming variable to a pointer variable. If the variable is the default value, return nil.
func Int32Value ¶ added in v1.0.2
传入指针变量转换为变量。如果指正为nil返回默认值。 Convert the incoming pointer variable to a variable. If the correction is nil, return the default value.
func Int64Pointer ¶ added in v1.0.2
传入变量转换为指针变量。 Convert the incoming variable to a pointer variable.
func Int64PointerNil ¶ added in v1.0.2
传入变量转换为指针变量。如果变量为默认值返回nil。 Convert the incoming variable to a pointer variable. If the variable is the default value, return nil.
func Int64Value ¶ added in v1.0.2
传入指针变量转换为变量。如果指正为nil返回默认值。 Convert the incoming pointer variable to a variable. If the correction is nil, return the default value.
func IntPointer ¶ added in v1.0.2
传入变量转换为指针变量。 Convert the incoming variable to a pointer variable.
func IntPointerNil ¶ added in v1.0.2
传入变量转换为指针变量。如果变量为默认值返回nil。 Convert the incoming variable to a pointer variable. If the variable is the default value, return nil.
func IntValue ¶ added in v1.0.2
传入指针变量转换为变量。如果指正为nil返回默认值。 Convert the incoming pointer variable to a variable. If the correction is nil, return the default value.
func StringPointer ¶ added in v1.0.2
传入变量转换为指针变量。 Convert the incoming variable to a pointer variable.
func StringPointerNil ¶ added in v1.0.2
传入变量转换为指针变量。如果变量为默认值返回nil。 Convert the incoming variable to a pointer variable. If the variable is the default value, return nil.
func StringValue ¶ added in v1.0.2
传入指针变量转换为变量。如果指正为nil返回默认值。 Convert the incoming pointer variable to a variable. If the correction is nil, return the default value.
func TimePointer ¶ added in v1.0.2
传入变量转换为指针变量。 Convert the incoming variable to a pointer variable.
func TimePointerNil ¶ added in v1.0.2
传入变量转换为指针变量。如果变量为默认值返回nil。 Convert the incoming variable to a pointer variable. If the variable is the default value, return nil.
Types ¶
This section is empty.