Showing 2 of 60 total issues
File subdivisionsconst.go
has 4890 lines of code (exceeds 500 allowed). Consider refactoring. Open
Open
// Package countries supports subdivisions as per ISO 3166-2.
//
// Data has been sourced from <https://www.ip2location.com/free/iso3166-2>. See
// license for further information.
package countries
Method CountryCode.FIPS
has 531 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func (c CountryCode) FIPS() string {
switch c {
case 8:
return "AL"
case 12: