Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
Do not add omitempty on response structs
Browse files Browse the repository at this point in the history
  • Loading branch information
svanharmelen committed Mar 23, 2024
1 parent 7f507c0 commit 556ae46
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 556ae46

Please sign in to comment.