func AddFactorPositionHook(hookPoint boil.HookPoint, factorPositionHook FactorPositionHook) {
	switch hookPoint {
	case boil.BeforeInsertHook:
		factorPositionBeforeInsertHooks = append(factorPositionBeforeInsertHooks, factorPositionHook)
	case boil.BeforeUpdateHook:
		factorPositionBeforeUpdateHooks = append(factorPositionBeforeUpdateHooks, factorPositionHook)
	case boil.BeforeDeleteHook:
		factorPositionBeforeDeleteHooks = append(factorPositionBeforeDeleteHooks, factorPositionHook)
	case boil.BeforeUpsertHook:
		factorPositionBeforeUpsertHooks = append(factorPositionBeforeUpsertHooks, factorPositionHook)
	case boil.AfterInsertHook:
		factorPositionAfterInsertHooks = append(factorPositionAfterInsertHooks, factorPositionHook)
	case boil.AfterSelectHook:
		factorPositionAfterSelectHooks = append(factorPositionAfterSelectHooks, factorPositionHook)
	case boil.AfterUpdateHook:
		factorPositionAfterUpdateHooks = append(factorPositionAfterUpdateHooks, factorPositionHook)
	case boil.AfterDeleteHook:
		factorPositionAfterDeleteHooks = append(factorPositionAfterDeleteHooks, factorPositionHook)
	case boil.AfterUpsertHook:
		factorPositionAfterUpsertHooks = append(factorPositionAfterUpsertHooks, factorPositionHook)
	}
}
// AddFactorPositionHook registers your hook function for all future operations.
AddFactorPositionHook registers your hook function for all future operations.
// AddFactorPositionHook registers your hook function for all future operations .
func AddFactorPositionHook(hookPoint boil.HookPoint, factorPositionHook FactorPositionHook) {
	switch hookPoint {
	case boil.BeforeInsertHook:
		factorPositionBeforeInsertHooks = append(factorPositionBeforeInsertHooks, factorPositionHook)
	case boil.BeforeUpdateHook:
		factorPositionBeforeUpdateHooks = append(factorPositionBeforeUpdateHooks, factorPositionHook)
	case boil.BeforeDeleteHook:
		factorPositionBeforeDeleteHooks = append(factorPositionBeforeDeleteHooks, factorPositionHook)
	case boil.BeforeUpsertHook:
		factorPositionBeforeUpsertHooks = append(factorPositionBeforeUpsertHooks, factorPositionHook)
	case boil.AfterInsertHook:
		factorPositionAfterInsertHooks = append(factorPositionAfterInsertHooks, factorPositionHook)
	case boil.AfterSelectHook:
		factorPositionAfterSelectHooks = append(factorPositionAfterSelectHooks, factorPositionHook)
	case boil.AfterUpdateHook:
		factorPositionAfterUpdateHooks = append(factorPositionAfterUpdateHooks, factorPositionHook)
	case boil.AfterDeleteHook:
		factorPositionAfterDeleteHooks = append(factorPositionAfterDeleteHooks, factorPositionHook)
	case boil.AfterUpsertHook:
		factorPositionAfterUpsertHooks = append(factorPositionAfterUpsertHooks, factorPositionHook)
	}
}
func AddFactorPositionHook ( hookPoint boil . HookPoint , factorPositionHook FactorPositionHook ) { switch hookPoint { case boil . BeforeInsertHook : factorPositionBeforeInsertHooks = append ( factorPositionBeforeInsertHooks , factorPositionHook ) case boil . BeforeUpdateHook : factorPositionBeforeUpdateHooks = append ( factorPositionBeforeUpdateHooks , factorPositionHook ) case boil . BeforeDeleteHook : factorPositionBeforeDeleteHooks = append ( factorPositionBeforeDeleteHooks , factorPositionHook ) case boil . BeforeUpsertHook : factorPositionBeforeUpsertHooks = append ( factorPositionBeforeUpsertHooks , factorPositionHook ) case boil . AfterInsertHook : factorPositionAfterInsertHooks = append ( factorPositionAfterInsertHooks , factorPositionHook ) case boil . AfterSelectHook : factorPositionAfterSelectHooks = append ( factorPositionAfterSelectHooks , factorPositionHook ) case boil . AfterUpdateHook : factorPositionAfterUpdateHooks = append ( factorPositionAfterUpdateHooks , factorPositionHook ) case boil . AfterDeleteHook : factorPositionAfterDeleteHooks = append ( factorPositionAfterDeleteHooks , factorPositionHook ) case boil . AfterUpsertHook : factorPositionAfterUpsertHooks = append ( factorPositionAfterUpsertHooks , factorPositionHook ) } }
AddFactorPositionHook registers your hook function for all future operations.
AddFactorPositionHook registers your hook function for all future operations .