Registry / utility / flopp-go-coordsparser

flopp-go-coordsparser

JSON →
library0.0.0-20201115094714-8baaeb7062d5gogounverified

A Go library for parsing geographic coordinates from various string formats.

go get github.com/flopp/go-coordsparser
INSTALL
IMPORT
SIG · FLOPP-GO-COORDSPAR
F
flopp-go-coordsparser
utilitygov0.0.0-20201115094714-8baaeb7062d5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

coordsparser
github.com/flopp/go-coordsparser

Parses a coordinate string and prints the latitude and longitude.

package main import ( "fmt" "github.com/flopp/go-coordsparser" ) func main() { lat, lng, err := coordsparser.Parse("52.5200° N, 13.4050° E") if err != nil { panic(err) } fmt.Printf("Lat: %f, Lng: %f\n", lat, lng) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20201115094714-8baaeb7062d5latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
flopp-go-coordsparser — go get flopp-go-coordsparser · libregistry