func AddTitleHook(hookPoint boil.HookPoint, titleHook TitleHook) {
	switch hookPoint {
	case boil.BeforeInsertHook:
		titleBeforeInsertHooks = append(titleBeforeInsertHooks, titleHook)
	case boil.BeforeUpdateHook:
		titleBeforeUpdateHooks = append(titleBeforeUpdateHooks, titleHook)
	case boil.BeforeDeleteHook:
		titleBeforeDeleteHooks = append(titleBeforeDeleteHooks, titleHook)
	case boil.BeforeUpsertHook:
		titleBeforeUpsertHooks = append(titleBeforeUpsertHooks, titleHook)
	case boil.AfterInsertHook:
		titleAfterInsertHooks = append(titleAfterInsertHooks, titleHook)
	case boil.AfterSelectHook:
		titleAfterSelectHooks = append(titleAfterSelectHooks, titleHook)
	case boil.AfterUpdateHook:
		titleAfterUpdateHooks = append(titleAfterUpdateHooks, titleHook)
	case boil.AfterDeleteHook:
		titleAfterDeleteHooks = append(titleAfterDeleteHooks, titleHook)
	case boil.AfterUpsertHook:
		titleAfterUpsertHooks = append(titleAfterUpsertHooks, titleHook)
	}
}
// AddTitleHook registers your hook function for all future operations.
AddTitleHook registers your hook function for all future operations.
// AddTitleHook registers your hook function for all future operations .
func AddTitleHook(hookPoint boil.HookPoint, titleHook TitleHook) {
	switch hookPoint {
	case boil.BeforeInsertHook:
		titleBeforeInsertHooks = append(titleBeforeInsertHooks, titleHook)
	case boil.BeforeUpdateHook:
		titleBeforeUpdateHooks = append(titleBeforeUpdateHooks, titleHook)
	case boil.BeforeDeleteHook:
		titleBeforeDeleteHooks = append(titleBeforeDeleteHooks, titleHook)
	case boil.BeforeUpsertHook:
		titleBeforeUpsertHooks = append(titleBeforeUpsertHooks, titleHook)
	case boil.AfterInsertHook:
		titleAfterInsertHooks = append(titleAfterInsertHooks, titleHook)
	case boil.AfterSelectHook:
		titleAfterSelectHooks = append(titleAfterSelectHooks, titleHook)
	case boil.AfterUpdateHook:
		titleAfterUpdateHooks = append(titleAfterUpdateHooks, titleHook)
	case boil.AfterDeleteHook:
		titleAfterDeleteHooks = append(titleAfterDeleteHooks, titleHook)
	case boil.AfterUpsertHook:
		titleAfterUpsertHooks = append(titleAfterUpsertHooks, titleHook)
	}
}
func AddTitleHook ( hookPoint boil . HookPoint , titleHook TitleHook ) { switch hookPoint { case boil . BeforeInsertHook : titleBeforeInsertHooks = append ( titleBeforeInsertHooks , titleHook ) case boil . BeforeUpdateHook : titleBeforeUpdateHooks = append ( titleBeforeUpdateHooks , titleHook ) case boil . BeforeDeleteHook : titleBeforeDeleteHooks = append ( titleBeforeDeleteHooks , titleHook ) case boil . BeforeUpsertHook : titleBeforeUpsertHooks = append ( titleBeforeUpsertHooks , titleHook ) case boil . AfterInsertHook : titleAfterInsertHooks = append ( titleAfterInsertHooks , titleHook ) case boil . AfterSelectHook : titleAfterSelectHooks = append ( titleAfterSelectHooks , titleHook ) case boil . AfterUpdateHook : titleAfterUpdateHooks = append ( titleAfterUpdateHooks , titleHook ) case boil . AfterDeleteHook : titleAfterDeleteHooks = append ( titleAfterDeleteHooks , titleHook ) case boil . AfterUpsertHook : titleAfterUpsertHooks = append ( titleAfterUpsertHooks , titleHook ) } }
AddTitleHook registers your hook function for all future operations.
AddTitleHook registers your hook function for all future operations .