From 27a1605c08e3330c815633fce2339121526e2312 Mon Sep 17 00:00:00 2001 From: rzp-Piyush Date: Tue, 19 Nov 2024 15:24:26 +0530 Subject: [PATCH] fix: function names in country.go --- packages/i18nify-go/country.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/i18nify-go/country.go b/packages/i18nify-go/country.go index 1929f229..4b1dd4ec 100644 --- a/packages/i18nify-go/country.go +++ b/packages/i18nify-go/country.go @@ -55,7 +55,7 @@ func (c *Country) GetCitiesByZipCode(pinCode string) []subdivisions.City { // IsValidZipCode returns whether a pinCode is valid for the country or not. func (c *Country) IsValidZipCode(pinCode string) bool { - return zipcode.IsValidPinCode(pinCode, c.Code) + return zipcode.IsValidZipCode(pinCode, c.Code) } // NewCountry creates a new Country instance with the given country code.