Documentation ¶
Index ¶
- func AssertEqForPointer(fn TestAssertFn, expected interface{}, p interface{})
- func TestBoolPtr(b bool) *bool
- func TestFloat64Ptr(f float64) *float64
- func TestInt32Ptr(i int32) *int32
- func TestInt64Ptr(i int64) *int64
- func TestStringPtr(s string) *string
- func TestTimePtr(t time.Time) *time.Time
- func TestUUIDPtr(b dosa.UUID) *dosa.UUID
- type TestAssertFn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertEqForPointer ¶
func AssertEqForPointer(fn TestAssertFn, expected interface{}, p interface{})
AssertEqForPointer compares equal between interface of pointer
func TestFloat64Ptr ¶
TestFloat64Ptr create pointer for float64
func TestTimePtr ¶
TestTimePtr create pointer for time.Time
Types ¶
type TestAssertFn ¶
type TestAssertFn func(a, b interface{})
TestAssertFn is the interface of the test closure func
Click to show internal directories.
Click to hide internal directories.