distance

package
v0.0.0-...-e765db0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2021 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalcWithGeo

func CalcWithGeo(lat1, lng1, lat2, lng2 float64, unit ...string) float64

CalcWithGeo serve caller to calculate two point distance with geo

func Calculate

func Calculate(x1, y1, x2, y2 float64) float64

Calculate serve caller to calculate two point distance

Types

This section is empty.

Jump to

Keyboard shortcuts

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