func AddDesignPatternHook(hookPoint boil.HookPoint, designPatternHook DesignPatternHook) {
	switch hookPoint {
	case boil.BeforeInsertHook:
		designPatternBeforeInsertHooks = append(designPatternBeforeInsertHooks, designPatternHook)
	case boil.BeforeUpdateHook:
		designPatternBeforeUpdateHooks = append(designPatternBeforeUpdateHooks, designPatternHook)
	case boil.BeforeDeleteHook:
		designPatternBeforeDeleteHooks = append(designPatternBeforeDeleteHooks, designPatternHook)
	case boil.BeforeUpsertHook:
		designPatternBeforeUpsertHooks = append(designPatternBeforeUpsertHooks, designPatternHook)
	case boil.AfterInsertHook:
		designPatternAfterInsertHooks = append(designPatternAfterInsertHooks, designPatternHook)
	case boil.AfterSelectHook:
		designPatternAfterSelectHooks = append(designPatternAfterSelectHooks, designPatternHook)
	case boil.AfterUpdateHook:
		designPatternAfterUpdateHooks = append(designPatternAfterUpdateHooks, designPatternHook)
	case boil.AfterDeleteHook:
		designPatternAfterDeleteHooks = append(designPatternAfterDeleteHooks, designPatternHook)
	case boil.AfterUpsertHook:
		designPatternAfterUpsertHooks = append(designPatternAfterUpsertHooks, designPatternHook)
	}
}
// AddDesignPatternHook registers your hook function for all future operations.
AddDesignPatternHook registers your hook function for all future operations.
// AddDesignPatternHook registers your hook function for all future operations .
func AddDesignPatternHook(hookPoint boil.HookPoint, designPatternHook DesignPatternHook) {
	switch hookPoint {
	case boil.BeforeInsertHook:
		designPatternBeforeInsertHooks = append(designPatternBeforeInsertHooks, designPatternHook)
	case boil.BeforeUpdateHook:
		designPatternBeforeUpdateHooks = append(designPatternBeforeUpdateHooks, designPatternHook)
	case boil.BeforeDeleteHook:
		designPatternBeforeDeleteHooks = append(designPatternBeforeDeleteHooks, designPatternHook)
	case boil.BeforeUpsertHook:
		designPatternBeforeUpsertHooks = append(designPatternBeforeUpsertHooks, designPatternHook)
	case boil.AfterInsertHook:
		designPatternAfterInsertHooks = append(designPatternAfterInsertHooks, designPatternHook)
	case boil.AfterSelectHook:
		designPatternAfterSelectHooks = append(designPatternAfterSelectHooks, designPatternHook)
	case boil.AfterUpdateHook:
		designPatternAfterUpdateHooks = append(designPatternAfterUpdateHooks, designPatternHook)
	case boil.AfterDeleteHook:
		designPatternAfterDeleteHooks = append(designPatternAfterDeleteHooks, designPatternHook)
	case boil.AfterUpsertHook:
		designPatternAfterUpsertHooks = append(designPatternAfterUpsertHooks, designPatternHook)
	}
}
func AddDesignPatternHook ( hookPoint boil . HookPoint , designPatternHook DesignPatternHook ) { switch hookPoint { case boil . BeforeInsertHook : designPatternBeforeInsertHooks = append ( designPatternBeforeInsertHooks , designPatternHook ) case boil . BeforeUpdateHook : designPatternBeforeUpdateHooks = append ( designPatternBeforeUpdateHooks , designPatternHook ) case boil . BeforeDeleteHook : designPatternBeforeDeleteHooks = append ( designPatternBeforeDeleteHooks , designPatternHook ) case boil . BeforeUpsertHook : designPatternBeforeUpsertHooks = append ( designPatternBeforeUpsertHooks , designPatternHook ) case boil . AfterInsertHook : designPatternAfterInsertHooks = append ( designPatternAfterInsertHooks , designPatternHook ) case boil . AfterSelectHook : designPatternAfterSelectHooks = append ( designPatternAfterSelectHooks , designPatternHook ) case boil . AfterUpdateHook : designPatternAfterUpdateHooks = append ( designPatternAfterUpdateHooks , designPatternHook ) case boil . AfterDeleteHook : designPatternAfterDeleteHooks = append ( designPatternAfterDeleteHooks , designPatternHook ) case boil . AfterUpsertHook : designPatternAfterUpsertHooks = append ( designPatternAfterUpsertHooks , designPatternHook ) } }
AddDesignPatternHook registers your hook function for all future operations.
AddDesignPatternHook registers your hook function for all future operations .