utils

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2020 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadHTMLURL added in v0.2.0

func LoadHTMLURL(url string) (*html.Node, error)

LoadHTMLURL to keep cookie with redirect

Types

type Cities added in v0.2.0

type Cities struct {
	Name string
	Lat  float64
	Lon  float64
}

Cities expose a city structure

func GetCitiesByPostalCode added in v0.2.0

func GetCitiesByPostalCode(postalCode string) ([]Cities, error)

GetCitiesByPostalCode fetch cities center point by postal code

Jump to

Keyboard shortcuts

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