Skip to content

Commit

Permalink
fix: function names in country.go
Browse files Browse the repository at this point in the history
  • Loading branch information
rzp-Piyush committed Nov 19, 2024
1 parent 0499744 commit 27a1605
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/i18nify-go/country.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 27a1605

Please sign in to comment.