Registry / http-client / gojuno-go-osrm

gojuno-go-osrm

JSON →
library0.1.0gogounverified

Package osrm provides a client library for OSRM API.

go get github.com/gojuno/go.osrm
INSTALL
IMPORT
SIG · GOJUNO-GO-OSRM
G
gojuno-go-osrm
http-clientgov0.1.0
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.

osrm
github.com/gojuno/go.osrm

Request a route from OSRM

package main import ( "fmt" "github.com/gojuno/go.osrm" ) func main() { client := osrm.NewClient("https://router.project-osrm.org") route, _ := client.Route(osrm.RouteRequest{Coordinates: [][2]float64{{13.388860, 52.517037}, {13.397634, 52.529407}}}) fmt.Println(route) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
16
OpenAI (training)
1
Resources
gojuno-go-osrm — go get gojuno-go-osrm · libregistry