From c349c04bbbc41f37fc413d2d2eee43ede3f5ce46 Mon Sep 17 00:00:00 2001 From: Nicole Hedley Date: Thu, 19 Oct 2017 12:52:51 -0400 Subject: [PATCH] Width and height can be 0 so do not omitempty --- banner.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/banner.go b/banner.go index 9c49bbc..67d63ee 100644 --- a/banner.go +++ b/banner.go @@ -22,7 +22,7 @@ type Banner struct { // Width of the impression in pixels. // If neither wmin nor wmax are specified, this value is an exact // width requirement. Otherwise it is a preferred width. - W uint64 `json:"w,omitempty"` + W uint64 `json:"w"` // Attribute: // h @@ -32,7 +32,7 @@ type Banner struct { // Height of the impression in pixels. // If neither hmin nor hmax are specified, this value is an exact // height requirement. Otherwise it is a preferred height. - H uint64 `json:"h,omitempty"` + H uint64 `json:"h"` // Attribute: // format