Documentation ¶
Index ¶
- func GetFieldPointerOfB(b *testing.B, fieldName string) (unsafe.Pointer, error)
- func GetFieldPointerOfLogger(logger *stdlog.Logger, fieldName string) (unsafe.Pointer, error)
- func GetFieldPointerOfM(m *testing.M, fieldName string) (unsafe.Pointer, error)
- func GetFieldPointerOfT(t *testing.T, fieldName string) (unsafe.Pointer, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFieldPointerOfB ¶
Gets a pointer of a private or public field in a testing.B struct
func GetFieldPointerOfLogger ¶ added in v0.1.8
Gets a pointer of a private or public field in a testing.T struct
func GetFieldPointerOfM ¶
Gets a pointer of a private or public field in a testing.M struct
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.