Documentation ¶
Index ¶
- Constants
- type Address
- type Geocoding
- type GoogleMapsProvider
- func (g *GoogleMapsProvider) Geocode(ctx context.Context, address string, language Language) (*Address, interface{}, error)
- func (g *GoogleMapsProvider) GetName() string
- func (g *GoogleMapsProvider) ReverseGeocode(ctx context.Context, latLng *LatLng, language Language) (*Address, interface{}, error)
- type IGeocoding
- type Language
- type LatLng
- type Provider
Constants ¶
View Source
const ( LanguageEnglish = Language("en") LanguageBulgarian = Language("bg") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Geocoding ¶
type Geocoding struct {
// contains filtered or unexported fields
}
type GoogleMapsProvider ¶
type GoogleMapsProvider struct {
// contains filtered or unexported fields
}
func (*GoogleMapsProvider) GetName ¶
func (g *GoogleMapsProvider) GetName() string
func (*GoogleMapsProvider) ReverseGeocode ¶
type IGeocoding ¶
type IGeocoding interface { Geocode(ctx context.Context, ormService *beeorm.Engine, address string, language Language) (*Address, error) ReverseGeocode(ctx context.Context, ormService *beeorm.Engine, latLng *LatLng, language Language) (*Address, error) }
func NewGeocoding ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.