geo

package
v0.0.0-...-294c8e8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Commune

type Commune struct {
	Code string `json:"code"`
	Nom  string `json:"nom"`
}

type Communes

type Communes []Commune

type Location

type Location struct {
	City    string
	ZipCode string
}

func FakeLocate

func FakeLocate(lat, lon float64, address string) (Location, error)

func FindLocation

func FindLocation(lat, lon float64, address string) (Location, error)

func (Location) IsInGironde

func (l Location) IsInGironde() bool

type Locator

type Locator func(lat, lon float64, address string) (Location, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL