func AddAddressHook(hookPoint boil.HookPoint, addressHook AddressHook) {
	switch hookPoint {
	case boil.BeforeInsertHook:
		addressBeforeInsertHooks = append(addressBeforeInsertHooks, addressHook)
	case boil.BeforeUpdateHook:
		addressBeforeUpdateHooks = append(addressBeforeUpdateHooks, addressHook)
	case boil.BeforeDeleteHook:
		addressBeforeDeleteHooks = append(addressBeforeDeleteHooks, addressHook)
	case boil.BeforeUpsertHook:
		addressBeforeUpsertHooks = append(addressBeforeUpsertHooks, addressHook)
	case boil.AfterInsertHook:
		addressAfterInsertHooks = append(addressAfterInsertHooks, addressHook)
	case boil.AfterSelectHook:
		addressAfterSelectHooks = append(addressAfterSelectHooks, addressHook)
	case boil.AfterUpdateHook:
		addressAfterUpdateHooks = append(addressAfterUpdateHooks, addressHook)
	case boil.AfterDeleteHook:
		addressAfterDeleteHooks = append(addressAfterDeleteHooks, addressHook)
	case boil.AfterUpsertHook:
		addressAfterUpsertHooks = append(addressAfterUpsertHooks, addressHook)
	}
}
// AddAddressHook registers your hook function for all future operations.
AddAddressHook registers your hook function for all future operations.
// AddAddressHook registers your hook function for all future operations .
func AddAddressHook(hookPoint boil.HookPoint, addressHook AddressHook) {
	switch hookPoint {
	case boil.BeforeInsertHook:
		addressBeforeInsertHooks = append(addressBeforeInsertHooks, addressHook)
	case boil.BeforeUpdateHook:
		addressBeforeUpdateHooks = append(addressBeforeUpdateHooks, addressHook)
	case boil.BeforeDeleteHook:
		addressBeforeDeleteHooks = append(addressBeforeDeleteHooks, addressHook)
	case boil.BeforeUpsertHook:
		addressBeforeUpsertHooks = append(addressBeforeUpsertHooks, addressHook)
	case boil.AfterInsertHook:
		addressAfterInsertHooks = append(addressAfterInsertHooks, addressHook)
	case boil.AfterSelectHook:
		addressAfterSelectHooks = append(addressAfterSelectHooks, addressHook)
	case boil.AfterUpdateHook:
		addressAfterUpdateHooks = append(addressAfterUpdateHooks, addressHook)
	case boil.AfterDeleteHook:
		addressAfterDeleteHooks = append(addressAfterDeleteHooks, addressHook)
	case boil.AfterUpsertHook:
		addressAfterUpsertHooks = append(addressAfterUpsertHooks, addressHook)
	}
}
func AddAddressHook ( hookPoint boil . HookPoint , addressHook AddressHook ) { switch hookPoint { case boil . BeforeInsertHook : addressBeforeInsertHooks = append ( addressBeforeInsertHooks , addressHook ) case boil . BeforeUpdateHook : addressBeforeUpdateHooks = append ( addressBeforeUpdateHooks , addressHook ) case boil . BeforeDeleteHook : addressBeforeDeleteHooks = append ( addressBeforeDeleteHooks , addressHook ) case boil . BeforeUpsertHook : addressBeforeUpsertHooks = append ( addressBeforeUpsertHooks , addressHook ) case boil . AfterInsertHook : addressAfterInsertHooks = append ( addressAfterInsertHooks , addressHook ) case boil . AfterSelectHook : addressAfterSelectHooks = append ( addressAfterSelectHooks , addressHook ) case boil . AfterUpdateHook : addressAfterUpdateHooks = append ( addressAfterUpdateHooks , addressHook ) case boil . AfterDeleteHook : addressAfterDeleteHooks = append ( addressAfterDeleteHooks , addressHook ) case boil . AfterUpsertHook : addressAfterUpsertHooks = append ( addressAfterUpsertHooks , addressHook ) } }
AddAddressHook registers your hook function for all future operations.
AddAddressHook registers your hook function for all future operations .