sqlboiler/boil/hooks.go
Patrick O'brien f713e041ad Add sql query mod, finish or querymod
* Add comments to kill lint errors
2016-07-19 14:07:12 +10:00

13 lines
214 B
Go

package boil
// HookPoint is the point in time at which we hook
type HookPoint int
// the hook point constants
const (
HookAfterCreate HookPoint = iota + 1
HookAfterUpdate
HookBeforeCreate
HookBeforeUpdate
)