Skip to content

Commit bd8ab36

Browse files
committed
fix typo
1 parent e1c5243 commit bd8ab36

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

country.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func readCountryMap(country *Country, buffer []byte, mapSize uint, offset uint)
6060
return 0, err
6161
}
6262
case "is_in_european_union":
63-
country.IsInEuropeanEnion, offset, err = readBool(buffer, offset)
63+
country.IsInEuropeanUnion, offset, err = readBool(buffer, offset)
6464
if err != nil {
6565
return 0, err
6666
}

types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ type Country struct {
3131
GeoNameID uint32
3232
ISOCode string
3333
Names map[string]string
34-
IsInEuropeanEnion bool
34+
IsInEuropeanUnion bool
3535
Type string // [RepresentedCountry]
3636
Confidence uint16 // Enterprise [Country, RegisteredCountry]
3737
}

0 commit comments

Comments
 (0)