Commit from m3o/m3o action

This commit is contained in:
m3o-actions
2022-02-15 15:10:47 +00:00
parent da28af7166
commit d5b9efe74e
26 changed files with 1298 additions and 1096 deletions

View File

@@ -0,0 +1,18 @@
package main
import (
"fmt"
"os"
"go.m3o.com/place"
)
//
func main() {
placeService := place.NewPlaceService(os.Getenv("M3O_API_TOKEN"))
rsp, err := placeService.Search(&place.SearchRequest{
Location: "51.5074577,-0.1297515",
Query: "food",
})
fmt.Println(rsp, err)
}