func AddThemeHook(hookPoint boil.HookPoint, themeHook ThemeHook) {
	switch hookPoint {
	case boil.BeforeInsertHook:
		themeBeforeInsertHooks = append(themeBeforeInsertHooks, themeHook)
	case boil.BeforeUpdateHook:
		themeBeforeUpdateHooks = append(themeBeforeUpdateHooks, themeHook)
	case boil.BeforeDeleteHook:
		themeBeforeDeleteHooks = append(themeBeforeDeleteHooks, themeHook)
	case boil.BeforeUpsertHook:
		themeBeforeUpsertHooks = append(themeBeforeUpsertHooks, themeHook)
	case boil.AfterInsertHook:
		themeAfterInsertHooks = append(themeAfterInsertHooks, themeHook)
	case boil.AfterSelectHook:
		themeAfterSelectHooks = append(themeAfterSelectHooks, themeHook)
	case boil.AfterUpdateHook:
		themeAfterUpdateHooks = append(themeAfterUpdateHooks, themeHook)
	case boil.AfterDeleteHook:
		themeAfterDeleteHooks = append(themeAfterDeleteHooks, themeHook)
	case boil.AfterUpsertHook:
		themeAfterUpsertHooks = append(themeAfterUpsertHooks, themeHook)
	}
}
// AddThemeHook registers your hook function for all future operations.
AddThemeHook registers your hook function for all future operations.
// AddThemeHook registers your hook function for all future operations .
func AddThemeHook(hookPoint boil.HookPoint, themeHook ThemeHook) {
	switch hookPoint {
	case boil.BeforeInsertHook:
		themeBeforeInsertHooks = append(themeBeforeInsertHooks, themeHook)
	case boil.BeforeUpdateHook:
		themeBeforeUpdateHooks = append(themeBeforeUpdateHooks, themeHook)
	case boil.BeforeDeleteHook:
		themeBeforeDeleteHooks = append(themeBeforeDeleteHooks, themeHook)
	case boil.BeforeUpsertHook:
		themeBeforeUpsertHooks = append(themeBeforeUpsertHooks, themeHook)
	case boil.AfterInsertHook:
		themeAfterInsertHooks = append(themeAfterInsertHooks, themeHook)
	case boil.AfterSelectHook:
		themeAfterSelectHooks = append(themeAfterSelectHooks, themeHook)
	case boil.AfterUpdateHook:
		themeAfterUpdateHooks = append(themeAfterUpdateHooks, themeHook)
	case boil.AfterDeleteHook:
		themeAfterDeleteHooks = append(themeAfterDeleteHooks, themeHook)
	case boil.AfterUpsertHook:
		themeAfterUpsertHooks = append(themeAfterUpsertHooks, themeHook)
	}
}
func AddThemeHook ( hookPoint boil . HookPoint , themeHook ThemeHook ) { switch hookPoint { case boil . BeforeInsertHook : themeBeforeInsertHooks = append ( themeBeforeInsertHooks , themeHook ) case boil . BeforeUpdateHook : themeBeforeUpdateHooks = append ( themeBeforeUpdateHooks , themeHook ) case boil . BeforeDeleteHook : themeBeforeDeleteHooks = append ( themeBeforeDeleteHooks , themeHook ) case boil . BeforeUpsertHook : themeBeforeUpsertHooks = append ( themeBeforeUpsertHooks , themeHook ) case boil . AfterInsertHook : themeAfterInsertHooks = append ( themeAfterInsertHooks , themeHook ) case boil . AfterSelectHook : themeAfterSelectHooks = append ( themeAfterSelectHooks , themeHook ) case boil . AfterUpdateHook : themeAfterUpdateHooks = append ( themeAfterUpdateHooks , themeHook ) case boil . AfterDeleteHook : themeAfterDeleteHooks = append ( themeAfterDeleteHooks , themeHook ) case boil . AfterUpsertHook : themeAfterUpsertHooks = append ( themeAfterUpsertHooks , themeHook ) } }
AddThemeHook registers your hook function for all future operations.
AddThemeHook registers your hook function for all future operations .