func AddPositionHook(hookPoint boil.HookPoint, positionHook PositionHook) {
	switch hookPoint {
	case boil.BeforeInsertHook:
		positionBeforeInsertHooks = append(positionBeforeInsertHooks, positionHook)
	case boil.BeforeUpdateHook:
		positionBeforeUpdateHooks = append(positionBeforeUpdateHooks, positionHook)
	case boil.BeforeDeleteHook:
		positionBeforeDeleteHooks = append(positionBeforeDeleteHooks, positionHook)
	case boil.BeforeUpsertHook:
		positionBeforeUpsertHooks = append(positionBeforeUpsertHooks, positionHook)
	case boil.AfterInsertHook:
		positionAfterInsertHooks = append(positionAfterInsertHooks, positionHook)
	case boil.AfterSelectHook:
		positionAfterSelectHooks = append(positionAfterSelectHooks, positionHook)
	case boil.AfterUpdateHook:
		positionAfterUpdateHooks = append(positionAfterUpdateHooks, positionHook)
	case boil.AfterDeleteHook:
		positionAfterDeleteHooks = append(positionAfterDeleteHooks, positionHook)
	case boil.AfterUpsertHook:
		positionAfterUpsertHooks = append(positionAfterUpsertHooks, positionHook)
	}
}
// AddPositionHook registers your hook function for all future operations.
AddPositionHook registers your hook function for all future operations.
// AddPositionHook registers your hook function for all future operations .
func AddPositionHook(hookPoint boil.HookPoint, positionHook PositionHook) {
	switch hookPoint {
	case boil.BeforeInsertHook:
		positionBeforeInsertHooks = append(positionBeforeInsertHooks, positionHook)
	case boil.BeforeUpdateHook:
		positionBeforeUpdateHooks = append(positionBeforeUpdateHooks, positionHook)
	case boil.BeforeDeleteHook:
		positionBeforeDeleteHooks = append(positionBeforeDeleteHooks, positionHook)
	case boil.BeforeUpsertHook:
		positionBeforeUpsertHooks = append(positionBeforeUpsertHooks, positionHook)
	case boil.AfterInsertHook:
		positionAfterInsertHooks = append(positionAfterInsertHooks, positionHook)
	case boil.AfterSelectHook:
		positionAfterSelectHooks = append(positionAfterSelectHooks, positionHook)
	case boil.AfterUpdateHook:
		positionAfterUpdateHooks = append(positionAfterUpdateHooks, positionHook)
	case boil.AfterDeleteHook:
		positionAfterDeleteHooks = append(positionAfterDeleteHooks, positionHook)
	case boil.AfterUpsertHook:
		positionAfterUpsertHooks = append(positionAfterUpsertHooks, positionHook)
	}
}
func AddPositionHook ( hookPoint boil . HookPoint , positionHook PositionHook ) { switch hookPoint { case boil . BeforeInsertHook : positionBeforeInsertHooks = append ( positionBeforeInsertHooks , positionHook ) case boil . BeforeUpdateHook : positionBeforeUpdateHooks = append ( positionBeforeUpdateHooks , positionHook ) case boil . BeforeDeleteHook : positionBeforeDeleteHooks = append ( positionBeforeDeleteHooks , positionHook ) case boil . BeforeUpsertHook : positionBeforeUpsertHooks = append ( positionBeforeUpsertHooks , positionHook ) case boil . AfterInsertHook : positionAfterInsertHooks = append ( positionAfterInsertHooks , positionHook ) case boil . AfterSelectHook : positionAfterSelectHooks = append ( positionAfterSelectHooks , positionHook ) case boil . AfterUpdateHook : positionAfterUpdateHooks = append ( positionAfterUpdateHooks , positionHook ) case boil . AfterDeleteHook : positionAfterDeleteHooks = append ( positionAfterDeleteHooks , positionHook ) case boil . AfterUpsertHook : positionAfterUpsertHooks = append ( positionAfterUpsertHooks , positionHook ) } }
AddPositionHook registers your hook function for all future operations.
AddPositionHook registers your hook function for all future operations .