andrew-waters / gomo

A Go client for the Moltin API
MIT License
5 stars 4 forks source link

Can you include a get product example? #23

Closed RoughIndustries closed 5 years ago

RoughIndustries commented 5 years ago

I think I understand how it would work but I wanted to know if I am right? product := Product{} _, err := client.Get("products/:id", &product) if err != nil { log.Fatal(err) } Is this correct?

RoughIndustries commented 5 years ago

The above is correct. Thanks for your sdk.