Skip to content
This repository was archived by the owner on Jan 6, 2022. It is now read-only.

Latest commit

 

History

History
25 lines (17 loc) · 633 Bytes

File metadata and controls

25 lines (17 loc) · 633 Bytes

goTurf - TurfJS like library for golang

goTurf is a (partial) port of the popular TurfJS library to golang.

It's build upon go.geojson (be sure to check out orb) and just offers convenience functions with the semantics of TurfJS.

(partially) implemented packages

  • circle
  • bbox
  • random
  • meta

Run tests

go test -coverprofile cover.out
go tool cover -html=cover.out -o testcoverage.html

Open the file testcoverage.html in your browser