func AddCountryHook(hookPoint boil.HookPoint, countryHook CountryHook) {
	switch hookPoint {
	case boil.BeforeInsertHook:
		countryBeforeInsertHooks = append(countryBeforeInsertHooks, countryHook)
	case boil.BeforeUpdateHook:
		countryBeforeUpdateHooks = append(countryBeforeUpdateHooks, countryHook)
	case boil.BeforeDeleteHook:
		countryBeforeDeleteHooks = append(countryBeforeDeleteHooks, countryHook)
	case boil.BeforeUpsertHook:
		countryBeforeUpsertHooks = append(countryBeforeUpsertHooks, countryHook)
	case boil.AfterInsertHook:
		countryAfterInsertHooks = append(countryAfterInsertHooks, countryHook)
	case boil.AfterSelectHook:
		countryAfterSelectHooks = append(countryAfterSelectHooks, countryHook)
	case boil.AfterUpdateHook:
		countryAfterUpdateHooks = append(countryAfterUpdateHooks, countryHook)
	case boil.AfterDeleteHook:
		countryAfterDeleteHooks = append(countryAfterDeleteHooks, countryHook)
	case boil.AfterUpsertHook:
		countryAfterUpsertHooks = append(countryAfterUpsertHooks, countryHook)
	}
}
// AddCountryHook registers your hook function for all future operations.
AddCountryHook registers your hook function for all future operations.
// AddCountryHook registers your hook function for all future operations .
func AddCountryHook(hookPoint boil.HookPoint, countryHook CountryHook) {
	switch hookPoint {
	case boil.BeforeInsertHook:
		countryBeforeInsertHooks = append(countryBeforeInsertHooks, countryHook)
	case boil.BeforeUpdateHook:
		countryBeforeUpdateHooks = append(countryBeforeUpdateHooks, countryHook)
	case boil.BeforeDeleteHook:
		countryBeforeDeleteHooks = append(countryBeforeDeleteHooks, countryHook)
	case boil.BeforeUpsertHook:
		countryBeforeUpsertHooks = append(countryBeforeUpsertHooks, countryHook)
	case boil.AfterInsertHook:
		countryAfterInsertHooks = append(countryAfterInsertHooks, countryHook)
	case boil.AfterSelectHook:
		countryAfterSelectHooks = append(countryAfterSelectHooks, countryHook)
	case boil.AfterUpdateHook:
		countryAfterUpdateHooks = append(countryAfterUpdateHooks, countryHook)
	case boil.AfterDeleteHook:
		countryAfterDeleteHooks = append(countryAfterDeleteHooks, countryHook)
	case boil.AfterUpsertHook:
		countryAfterUpsertHooks = append(countryAfterUpsertHooks, countryHook)
	}
}
func AddCountryHook ( hookPoint boil . HookPoint , countryHook CountryHook ) { switch hookPoint { case boil . BeforeInsertHook : countryBeforeInsertHooks = append ( countryBeforeInsertHooks , countryHook ) case boil . BeforeUpdateHook : countryBeforeUpdateHooks = append ( countryBeforeUpdateHooks , countryHook ) case boil . BeforeDeleteHook : countryBeforeDeleteHooks = append ( countryBeforeDeleteHooks , countryHook ) case boil . BeforeUpsertHook : countryBeforeUpsertHooks = append ( countryBeforeUpsertHooks , countryHook ) case boil . AfterInsertHook : countryAfterInsertHooks = append ( countryAfterInsertHooks , countryHook ) case boil . AfterSelectHook : countryAfterSelectHooks = append ( countryAfterSelectHooks , countryHook ) case boil . AfterUpdateHook : countryAfterUpdateHooks = append ( countryAfterUpdateHooks , countryHook ) case boil . AfterDeleteHook : countryAfterDeleteHooks = append ( countryAfterDeleteHooks , countryHook ) case boil . AfterUpsertHook : countryAfterUpsertHooks = append ( countryAfterUpsertHooks , countryHook ) } }
AddCountryHook registers your hook function for all future operations.
AddCountryHook registers your hook function for all future operations .