maps.gurudocs
Documentation

Go SDK

Info

Coming Soon — The Go SDK is not yet available. This page documents the planned SDK surface. Check back soon for updates.

The official Go SDK will provide idiomatic Go access to all maps.guru API services.

Planned Installation

go get github.com/maps-guru/go-sdk

Planned Usage

package main

import (
    "context"
    "fmt"

    mapsguru "github.com/maps-guru/go-sdk"
)

func main() {
    client := mapsguru.NewClient("mapx_your_key")

    results, err := client.Geocode(context.Background(), "Sydney Opera House")
    if err != nil {
        log.Fatal(err)
    }
    fmt.Printf("%.4f, %.4f\n", results[0].Lat, results[0].Lng)
}