Documentation ¶
Index ¶
Constants ¶
View Source
const DateFormat = "January 2, 2006"
DateFormat represents the date format used by shopify
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Review ¶
type Review struct { ID primitive.ObjectID `json:"_id,omitempty" bson:"_id,omitempty"` Username string `json:"username,omitempty" bson:"username,omitempty"` Rating int `json:"rating,omitempty" bson:"rating,omitempty"` Date int64 `json:"time,omitempty" bson:"time,omitempty"` Content string `json:"content,omitempty" bson:"content,omitempty"` Edited bool `json:"edited,omitempty" bson:"edited,omitempty"` Helpful int `json:"helpful,omitempty" bson:"helpful,omitempty"` Reply string `json:"reply,omitempty" bson:"reply,omitempty"` ReplyDate int64 `json:"replydate,omitempty" bson:"replydate,omitempty"` }
Review represents the structure of a single review on apps.shopify.com; compatible with json and bson
Click to show internal directories.
Click to hide internal directories.