Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BeforeInsertData ¶ added in v1.0.9
type BeforeInsertData struct { Query *bun.InsertQuery Model interface{} }
type BeforeInsertFunc ¶ added in v1.0.9
type BeforeInsertFunc func(ctx context.Context, data *BeforeInsertData) error
type Fixture ¶
type Fixture struct {
// contains filtered or unexported fields
}
type FixtureOption ¶
type FixtureOption func(l *Fixture)
func WithBeforeInsert ¶ added in v1.0.9
func WithBeforeInsert(fn BeforeInsertFunc) FixtureOption
func WithRecreateTables ¶
func WithRecreateTables() FixtureOption
func WithTemplateFuncs ¶
func WithTemplateFuncs(funcMap template.FuncMap) FixtureOption
func WithTruncateTables ¶
func WithTruncateTables() FixtureOption
Click to show internal directories.
Click to hide internal directories.