Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllCities []string
Functions ¶
func CreateMapLinkFromAddr ¶
CreateMapLinkFromAddr creates a link to Google Maps, built with the address and the city provided
func GetClosestCityName ¶
GetClosestCityName uses Levenstein distance to find the closest "official" city name. This allows us to correct some mispellings. Currently, the list of all the cities is stored in loaded from a file and is stored in memory.
func RemoveFromSliceOrdered ¶ added in v0.1.7
RemoveFromSliceOrdered removes a string from a slice and keep the order
func StringInSlice ¶
StringInSlice returns `true` if s is in sl, `false` otherwise
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.