Skip to content

go-simple-geo is a library for simple geo calculations.

License

Notifications You must be signed in to change notification settings

EpicStep/go-simple-geo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-simple-geo is a library for simple geo calculations.

Go Reference Lint Tests codecov Go Report Card


Installation

go get github.com/EpicStep/go-simple-geo/v2

Example

package main

import (
	"fmt"
	
	"github.com/EpicStep/go-simple-geo/v2/geo"
)

func main() {
	c1 := geo.NewCoordinatesFromDegrees(55.7522, 37.6156)
	c2 := geo.NewCoordinatesFromDegrees(59.9386, 30.3141)

	fmt.Println(c1.Distance(c2))
}

About

go-simple-geo is a library for simple geo calculations.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages