Documentation ¶
Index ¶
- func AddTwoFloat64(f1, f2 float64) float64
- func DivTwoFloat64(f1, f2 float64) float64
- func MeterToKilometer(m float64) float64
- func MeterToMile(m float64) float64
- func MulFloat64(float ...float64) float64
- func MulTwoFloat64(f1, f2 float64) float64
- func SubTwoFloat64(f1, f2 float64) float64
- type Distance
- type Location
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddTwoFloat64 ¶
func DivTwoFloat64 ¶
func MeterToKilometer ¶
func MeterToMile ¶
func MulFloat64 ¶
func MulTwoFloat64 ¶
func SubTwoFloat64 ¶
Types ¶
type Distance ¶
func HaversineDistance ¶
Default return Mile, Meter, Kilometer unit result in Distance struct
Click to show internal directories.
Click to hide internal directories.