andrew-waters / gomo

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

Any chance you will be adding cart sdk components #24

Open RoughIndustries opened 5 years ago

RoughIndustries commented 5 years ago

I started to develop these locally following your pattern. But I just wanted to check you haven't completed this elsewhere?

RoughIndustries commented 5 years ago

import ( "github.com/andrew-waters/gomo/entities" )

// Cart is a Moltin Cart - type Cart struct { ID string json:"id,omitempty" Meta struct { DisplayPrice entities.DisplayPriceWrapper json:"display_price" Timestamps entities.Timestamps json:"timestamps,omitempty" Stock entities.ProductStock json:"stock" } json:"meta,omitempty" }