Documentation ¶
Index ¶
Constants ¶
View Source
const ( // CountryAbroad 国外 CountryAbroad = "" /* 752-byte string literal not displayed */ // CountryChina 国内 CountryChina = "cn" // CountryGlobal 全球 CountryGlobal = CountryAbroad + "," + CountryChina // LanguageChinese 中文 LanguageChinese = "zh" )
Variables ¶
This section is empty.
Functions ¶
func WithCountry ¶
func WithCountry(country CountryStr) func(*Geocoding)
func WithLanguage ¶
Types ¶
type CountryStr ¶
type CountryStr string // 国家代码
type Geocoding ¶
type Geocoding struct { Mapbox Country CountryStr Language string Q string }
func NewGeocoding ¶
type LanguageStr ¶
type LanguageStr string // 语言代码
Click to show internal directories.
Click to hide internal directories.