Documentation ¶
Index ¶
- func AreBoolsEqual(v1 *bool, v2 *bool) bool
- func AreDurationsEqual(v1 *time.Duration, v2 *time.Duration) bool
- func AreFloat32sEqual(v1 *float32, v2 *float32) bool
- func AreFloat64sEqual(v1 *float64, v2 *float64) bool
- func AreInt16sEqual(v1 *int16, v2 *int16) bool
- func AreInt32sEqual(v1 *int32, v2 *int32) bool
- func AreInt64sEqual(v1 *int64, v2 *int64) bool
- func AreInt8sEqual(v1 *int8, v2 *int8) bool
- func AreIntsEqual(v1 *int, v2 *int) bool
- func AreStringsEqual(v1 *string, v2 *string) bool
- func AreTimesEqual(v1 *time.Time, v2 *time.Time) bool
- func Bool(val bool) *bool
- func Duration(val time.Duration) *time.Duration
- func Float32(val float32) *float32
- func Float64(val float64) *float64
- func IndirectSafe(obj interface{}) interface{}
- func Int(val int) *int
- func Int16(val int16) *int16
- func Int32(val int32) *int32
- func Int64(val int64) *int64
- func Int8(val int8) *int8
- func String(val string) *string
- func Time(val time.Time) *time.Time
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AreBoolsEqual ¶ added in v0.18.0
func AreDurationsEqual ¶ added in v0.18.0
func AreFloat32sEqual ¶ added in v0.18.0
func AreFloat64sEqual ¶ added in v0.18.0
func AreInt16sEqual ¶ added in v0.18.0
func AreInt32sEqual ¶ added in v0.18.0
func AreInt64sEqual ¶ added in v0.18.0
func AreInt8sEqual ¶ added in v0.18.0
func AreIntsEqual ¶ added in v0.18.0
func AreStringsEqual ¶ added in v0.18.0
func IndirectSafe ¶
func IndirectSafe(obj interface{}) interface{}
IndirectSafe dereferences if obj is a pointer, otherwise no-op
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.