Documentation
¶
Index ¶
- func FormatCityName(city string) string
- func FormatCountryCN(countryCNOrCode string) string
- func FormatProvinceName(province string) string
- func GetCountryCodeMap() map[string]string
- func GetCountryMap() map[string]Country
- func LookupGeoInfo(geo *geoip.GeoInfo) bool
- func NewGeoFromLocation(countryCNOrCode, province, city string) *geoip.GeoInfo
- type City
- type Country
- type Location
- type Province
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatCityName ¶
func FormatCountryCN ¶
func FormatProvinceName ¶
func GetCountryCodeMap ¶
func GetCountryMap ¶
func LookupGeoInfo ¶
func NewGeoFromLocation ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.