func AddStreetHook(hookPoint boil.HookPoint, streetHook StreetHook) {
	switch hookPoint {
	case boil.BeforeInsertHook:
		streetBeforeInsertHooks = append(streetBeforeInsertHooks, streetHook)
	case boil.BeforeUpdateHook:
		streetBeforeUpdateHooks = append(streetBeforeUpdateHooks, streetHook)
	case boil.BeforeDeleteHook:
		streetBeforeDeleteHooks = append(streetBeforeDeleteHooks, streetHook)
	case boil.BeforeUpsertHook:
		streetBeforeUpsertHooks = append(streetBeforeUpsertHooks, streetHook)
	case boil.AfterInsertHook:
		streetAfterInsertHooks = append(streetAfterInsertHooks, streetHook)
	case boil.AfterSelectHook:
		streetAfterSelectHooks = append(streetAfterSelectHooks, streetHook)
	case boil.AfterUpdateHook:
		streetAfterUpdateHooks = append(streetAfterUpdateHooks, streetHook)
	case boil.AfterDeleteHook:
		streetAfterDeleteHooks = append(streetAfterDeleteHooks, streetHook)
	case boil.AfterUpsertHook:
		streetAfterUpsertHooks = append(streetAfterUpsertHooks, streetHook)
	}
}
// AddStreetHook registers your hook function for all future operations.
AddStreetHook registers your hook function for all future operations.
// AddStreetHook registers your hook function for all future operations .
func AddStreetHook(hookPoint boil.HookPoint, streetHook StreetHook) {
	switch hookPoint {
	case boil.BeforeInsertHook:
		streetBeforeInsertHooks = append(streetBeforeInsertHooks, streetHook)
	case boil.BeforeUpdateHook:
		streetBeforeUpdateHooks = append(streetBeforeUpdateHooks, streetHook)
	case boil.BeforeDeleteHook:
		streetBeforeDeleteHooks = append(streetBeforeDeleteHooks, streetHook)
	case boil.BeforeUpsertHook:
		streetBeforeUpsertHooks = append(streetBeforeUpsertHooks, streetHook)
	case boil.AfterInsertHook:
		streetAfterInsertHooks = append(streetAfterInsertHooks, streetHook)
	case boil.AfterSelectHook:
		streetAfterSelectHooks = append(streetAfterSelectHooks, streetHook)
	case boil.AfterUpdateHook:
		streetAfterUpdateHooks = append(streetAfterUpdateHooks, streetHook)
	case boil.AfterDeleteHook:
		streetAfterDeleteHooks = append(streetAfterDeleteHooks, streetHook)
	case boil.AfterUpsertHook:
		streetAfterUpsertHooks = append(streetAfterUpsertHooks, streetHook)
	}
}
func AddStreetHook ( hookPoint boil . HookPoint , streetHook StreetHook ) { switch hookPoint { case boil . BeforeInsertHook : streetBeforeInsertHooks = append ( streetBeforeInsertHooks , streetHook ) case boil . BeforeUpdateHook : streetBeforeUpdateHooks = append ( streetBeforeUpdateHooks , streetHook ) case boil . BeforeDeleteHook : streetBeforeDeleteHooks = append ( streetBeforeDeleteHooks , streetHook ) case boil . BeforeUpsertHook : streetBeforeUpsertHooks = append ( streetBeforeUpsertHooks , streetHook ) case boil . AfterInsertHook : streetAfterInsertHooks = append ( streetAfterInsertHooks , streetHook ) case boil . AfterSelectHook : streetAfterSelectHooks = append ( streetAfterSelectHooks , streetHook ) case boil . AfterUpdateHook : streetAfterUpdateHooks = append ( streetAfterUpdateHooks , streetHook ) case boil . AfterDeleteHook : streetAfterDeleteHooks = append ( streetAfterDeleteHooks , streetHook ) case boil . AfterUpsertHook : streetAfterUpsertHooks = append ( streetAfterUpsertHooks , streetHook ) } }
AddStreetHook registers your hook function for all future operations.
AddStreetHook registers your hook function for all future operations .