From 556ae462fabed9747ec0117745155d22d6d36b15 Mon Sep 17 00:00:00 2001 From: Sander van Harmelen Date: Sat, 23 Mar 2024 10:48:31 +0100 Subject: [PATCH] Do not add omitempty on response structs --- packages.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages.go b/packages.go index 22e3d51a5..a6b252ed2 100644 --- a/packages.go +++ b/packages.go @@ -95,9 +95,9 @@ type PackageFile struct { FileName string `json:"file_name"` Size int `json:"size"` FileMD5 string `json:"file_md5"` - FileSHA1 string `json:"file_sha1,omitempty"` - FileSHA256 string `json:"file_sha256,omitempty"` - Pipeline *[]Pipeline `json:"pipelines"` + FileSHA1 string `json:"file_sha1"` + FileSHA256 string `json:"file_sha256"` + Pipeline *[]Pipeline `json:"pipelines"` } func (s PackageFile) String() string {