Began implementing the ORM prototype

* Hooks, query mods, and query
* Update and UpdateX
This commit is contained in:
Patrick O'brien 2016-04-13 23:51:58 +10:00
parent d949f68ed0
commit d89d23e673
27 changed files with 448 additions and 69 deletions

11
boil/hooks.go Normal file
View file

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