Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Utils = GormTestUtils{}
Functions ¶
This section is empty.
Types ¶
type GormTestUtils ¶
type GormTestUtils struct { IGormTestUtils // contains filtered or unexported fields }
func (*GormTestUtils) CreateEntity ¶
func (g *GormTestUtils) CreateEntity(t *testing.T, entity interface{})
func (*GormTestUtils) GetJSON ¶
func (g *GormTestUtils) GetJSON(w *httptest.ResponseRecorder, e interface{})
Destructure the struct value from the returned response JSON
func (*GormTestUtils) Init ¶
func (g *GormTestUtils) Init(m *testing.M, config *TestConfig)
type IGormTestUtils ¶
type TestConfig ¶
Click to show internal directories.
Click to hide internal directories.