Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GoogleAPIKey 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) ConfigureResource ¶
ConfigureResource configure qor locale for Admin
func (*Location) GetLocation ¶
GetLocation get location from your model
type LocationConfig ¶
type LocationConfig struct {
GoogleAPIKey string
}
func (LocationConfig) ConfigureQorMeta ¶
func (LocationConfig) ConfigureQorMeta(meta resource.Metaor)
Click to show internal directories.
Click to hide internal directories.