Categorygithub.com/smarteaston/golang-geo
modulepackage
1.0.6
Repository: https://github.com/smarteaston/golang-geo.git
Documentation: pkg.go.dev

# Functions

NewPoint returns a new Point populated by the passed in latitude (lat) and longitude (lng) values.
NewPolygon: Creates and returns a new pointer to a Polygon composed of the passed in points.

# Constants

According to Wikipedia, the Earth's radius is about 6,371km.

# Structs

Represents a Physical Point in geographic notation [lat, lng].
A Polygon is carved out of a 2D plane by a set of (possibly disjoint) contours.