Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // GoogleAPIKey Key of Google Map API GoogleAPIKey string // BaiduAPIKey Key of Baidu Map API BaiduAPIKey string )
Functions ¶
This section is empty.
Types ¶
type Location ¶
type Location struct { Address string City string Region string Country string Zip string Latitude float64 Longitude float64 }
Location is a struct, you could embedded it into your model to get the Location feature for your model
func (*Location) ConfigureQorResource ¶
ConfigureQorResource configure qor locale for Qor Admin
func (*Location) GetLocation ¶
GetLocation get location from your model
type LocationConfig ¶
LocationConfig Location Meta's Config
func (*LocationConfig) ConfigureQorMeta ¶
func (locationConfig *LocationConfig) ConfigureQorMeta(meta resource.Metaor)
ConfigureQorMeta configure Qor Meta to implement MetaConfig interface
Click to show internal directories.
Click to hide internal directories.