From 13bef02dcb02dac7b43840379778467bd123eddc Mon Sep 17 00:00:00 2001 From: Bastian de Byl Date: Sun, 26 Feb 2023 01:30:13 -0500 Subject: [PATCH] changed weight strinbg to float64 --- snipcart/snipcart.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snipcart/snipcart.go b/snipcart/snipcart.go index 86e4f50..a7b6027 100644 --- a/snipcart/snipcart.go +++ b/snipcart/snipcart.go @@ -36,7 +36,7 @@ type SnipcartItem struct { Length string `json:"length,omitempty"` Width string `json:"width,omitempty"` Height string `json:"height,omitempty"` - Weight string `json:"weight,omitempty"` + Weight float64 `json:"weight,omitempty"` Shippable bool `json:"shippable,omitempty"` }