func AddLabelHook(hookPoint boil.HookPoint, labelHook LabelHook) {
	switch hookPoint {
	case boil.BeforeInsertHook:
		labelBeforeInsertHooks = append(labelBeforeInsertHooks, labelHook)
	case boil.BeforeUpdateHook:
		labelBeforeUpdateHooks = append(labelBeforeUpdateHooks, labelHook)
	case boil.BeforeDeleteHook:
		labelBeforeDeleteHooks = append(labelBeforeDeleteHooks, labelHook)
	case boil.BeforeUpsertHook:
		labelBeforeUpsertHooks = append(labelBeforeUpsertHooks, labelHook)
	case boil.AfterInsertHook:
		labelAfterInsertHooks = append(labelAfterInsertHooks, labelHook)
	case boil.AfterSelectHook:
		labelAfterSelectHooks = append(labelAfterSelectHooks, labelHook)
	case boil.AfterUpdateHook:
		labelAfterUpdateHooks = append(labelAfterUpdateHooks, labelHook)
	case boil.AfterDeleteHook:
		labelAfterDeleteHooks = append(labelAfterDeleteHooks, labelHook)
	case boil.AfterUpsertHook:
		labelAfterUpsertHooks = append(labelAfterUpsertHooks, labelHook)
	}
}
// AddLabelHook registers your hook function for all future operations.
AddLabelHook registers your hook function for all future operations.
// AddLabelHook registers your hook function for all future operations .
func AddLabelHook(hookPoint boil.HookPoint, labelHook LabelHook) {
	switch hookPoint {
	case boil.BeforeInsertHook:
		labelBeforeInsertHooks = append(labelBeforeInsertHooks, labelHook)
	case boil.BeforeUpdateHook:
		labelBeforeUpdateHooks = append(labelBeforeUpdateHooks, labelHook)
	case boil.BeforeDeleteHook:
		labelBeforeDeleteHooks = append(labelBeforeDeleteHooks, labelHook)
	case boil.BeforeUpsertHook:
		labelBeforeUpsertHooks = append(labelBeforeUpsertHooks, labelHook)
	case boil.AfterInsertHook:
		labelAfterInsertHooks = append(labelAfterInsertHooks, labelHook)
	case boil.AfterSelectHook:
		labelAfterSelectHooks = append(labelAfterSelectHooks, labelHook)
	case boil.AfterUpdateHook:
		labelAfterUpdateHooks = append(labelAfterUpdateHooks, labelHook)
	case boil.AfterDeleteHook:
		labelAfterDeleteHooks = append(labelAfterDeleteHooks, labelHook)
	case boil.AfterUpsertHook:
		labelAfterUpsertHooks = append(labelAfterUpsertHooks, labelHook)
	}
}
func AddLabelHook ( hookPoint boil . HookPoint , labelHook LabelHook ) { switch hookPoint { case boil . BeforeInsertHook : labelBeforeInsertHooks = append ( labelBeforeInsertHooks , labelHook ) case boil . BeforeUpdateHook : labelBeforeUpdateHooks = append ( labelBeforeUpdateHooks , labelHook ) case boil . BeforeDeleteHook : labelBeforeDeleteHooks = append ( labelBeforeDeleteHooks , labelHook ) case boil . BeforeUpsertHook : labelBeforeUpsertHooks = append ( labelBeforeUpsertHooks , labelHook ) case boil . AfterInsertHook : labelAfterInsertHooks = append ( labelAfterInsertHooks , labelHook ) case boil . AfterSelectHook : labelAfterSelectHooks = append ( labelAfterSelectHooks , labelHook ) case boil . AfterUpdateHook : labelAfterUpdateHooks = append ( labelAfterUpdateHooks , labelHook ) case boil . AfterDeleteHook : labelAfterDeleteHooks = append ( labelAfterDeleteHooks , labelHook ) case boil . AfterUpsertHook : labelAfterUpsertHooks = append ( labelAfterUpsertHooks , labelHook ) } }
AddLabelHook registers your hook function for all future operations.
AddLabelHook registers your hook function for all future operations .