func AddColorHook(hookPoint boil.HookPoint, colorHook ColorHook) {
	switch hookPoint {
	case boil.BeforeInsertHook:
		colorBeforeInsertHooks = append(colorBeforeInsertHooks, colorHook)
	case boil.BeforeUpdateHook:
		colorBeforeUpdateHooks = append(colorBeforeUpdateHooks, colorHook)
	case boil.BeforeDeleteHook:
		colorBeforeDeleteHooks = append(colorBeforeDeleteHooks, colorHook)
	case boil.BeforeUpsertHook:
		colorBeforeUpsertHooks = append(colorBeforeUpsertHooks, colorHook)
	case boil.AfterInsertHook:
		colorAfterInsertHooks = append(colorAfterInsertHooks, colorHook)
	case boil.AfterSelectHook:
		colorAfterSelectHooks = append(colorAfterSelectHooks, colorHook)
	case boil.AfterUpdateHook:
		colorAfterUpdateHooks = append(colorAfterUpdateHooks, colorHook)
	case boil.AfterDeleteHook:
		colorAfterDeleteHooks = append(colorAfterDeleteHooks, colorHook)
	case boil.AfterUpsertHook:
		colorAfterUpsertHooks = append(colorAfterUpsertHooks, colorHook)
	}
}
// AddColorHook registers your hook function for all future operations.
AddColorHook registers your hook function for all future operations.
// AddColorHook registers your hook function for all future operations .
func AddColorHook(hookPoint boil.HookPoint, colorHook ColorHook) {
	switch hookPoint {
	case boil.BeforeInsertHook:
		colorBeforeInsertHooks = append(colorBeforeInsertHooks, colorHook)
	case boil.BeforeUpdateHook:
		colorBeforeUpdateHooks = append(colorBeforeUpdateHooks, colorHook)
	case boil.BeforeDeleteHook:
		colorBeforeDeleteHooks = append(colorBeforeDeleteHooks, colorHook)
	case boil.BeforeUpsertHook:
		colorBeforeUpsertHooks = append(colorBeforeUpsertHooks, colorHook)
	case boil.AfterInsertHook:
		colorAfterInsertHooks = append(colorAfterInsertHooks, colorHook)
	case boil.AfterSelectHook:
		colorAfterSelectHooks = append(colorAfterSelectHooks, colorHook)
	case boil.AfterUpdateHook:
		colorAfterUpdateHooks = append(colorAfterUpdateHooks, colorHook)
	case boil.AfterDeleteHook:
		colorAfterDeleteHooks = append(colorAfterDeleteHooks, colorHook)
	case boil.AfterUpsertHook:
		colorAfterUpsertHooks = append(colorAfterUpsertHooks, colorHook)
	}
}
func AddColorHook ( hookPoint boil . HookPoint , colorHook ColorHook ) { switch hookPoint { case boil . BeforeInsertHook : colorBeforeInsertHooks = append ( colorBeforeInsertHooks , colorHook ) case boil . BeforeUpdateHook : colorBeforeUpdateHooks = append ( colorBeforeUpdateHooks , colorHook ) case boil . BeforeDeleteHook : colorBeforeDeleteHooks = append ( colorBeforeDeleteHooks , colorHook ) case boil . BeforeUpsertHook : colorBeforeUpsertHooks = append ( colorBeforeUpsertHooks , colorHook ) case boil . AfterInsertHook : colorAfterInsertHooks = append ( colorAfterInsertHooks , colorHook ) case boil . AfterSelectHook : colorAfterSelectHooks = append ( colorAfterSelectHooks , colorHook ) case boil . AfterUpdateHook : colorAfterUpdateHooks = append ( colorAfterUpdateHooks , colorHook ) case boil . AfterDeleteHook : colorAfterDeleteHooks = append ( colorAfterDeleteHooks , colorHook ) case boil . AfterUpsertHook : colorAfterUpsertHooks = append ( colorAfterUpsertHooks , colorHook ) } }
AddColorHook registers your hook function for all future operations.
AddColorHook registers your hook function for all future operations .