Documentation ¶
Index ¶
Constants ¶
View Source
const (
StringNumberTooBigForInt = "9999999999999999999999999999"
)
Variables ¶
This section is empty.
Functions ¶
func PointerTo ¶ added in v0.0.23
func PointerTo[T any](val T) *T
PointerTo returns a pointer to whatever you give it, so you don't need to define a bunch of temporary variables in tests. The fun generics make it always agree with the type system.
func SetupTestContext ¶
func SetupTestContext() (*gin.Context, *httptest.ResponseRecorder)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.