Documentation ¶
Index ¶
- func AfterLoad(ctx context.Context, tx helpers.QueryExecer, model interface{}) error
- func AfterSave(ctx context.Context, tx helpers.QueryExecer, model interface{}) error
- func BeforeSave(ctx context.Context, tx helpers.QueryExecer, model interface{}) error
- type AfterLoader
- type AfterSaver
- type BeforeSaver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AfterLoad ¶
func AfterLoad(ctx context.Context, tx helpers.QueryExecer, model interface{}) error
func AfterSave ¶
func AfterSave(ctx context.Context, tx helpers.QueryExecer, model interface{}) error
func BeforeSave ¶
func BeforeSave(ctx context.Context, tx helpers.QueryExecer, model interface{}) error
Types ¶
type AfterLoader ¶
type AfterLoader interface {
AfterLoad(ctx context.Context, tx helpers.QueryExecer) error
}
type AfterSaver ¶
type AfterSaver interface {
AfterSave(ctx context.Context, tx helpers.QueryExecer) error
}
type BeforeSaver ¶
type BeforeSaver interface {
BeforeSave(ctx context.Context, tx helpers.QueryExecer) error
}
Click to show internal directories.
Click to hide internal directories.