14 lines
249 B
Go
14 lines
249 B
Go
package boil
|
|
|
|
// HookPoint is the point in time at which we hook
|
|
type HookPoint int
|
|
|
|
// the hook point constants
|
|
const (
|
|
HookAfterInsert HookPoint = iota + 1
|
|
HookAfterUpdate
|
|
HookAfterUpsert
|
|
HookBeforeInsert
|
|
HookBeforeUpdate
|
|
HookBeforeUpsert
|
|
)
|