From 2eacad2d5dae69e5123b51802936e55f01dd1039 Mon Sep 17 00:00:00 2001 From: Alex Pliutau Date: Sun, 16 Dec 2018 13:06:54 +0100 Subject: [PATCH] #71 Quantity field of Item struct type must change from string to uint32 type --- types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types.go b/types.go index f22109a..3bbd14d 100644 --- a/types.go +++ b/types.go @@ -288,7 +288,7 @@ type ( // Item struct Item struct { - Quantity string `json:"quantity"` + Quantity uint32 `json:"quantity"` Name string `json:"name"` Price string `json:"price"` Currency string `json:"currency"`