From a1b3998b8fd7cdfc05ab1e40c13fecd6b8dac777 Mon Sep 17 00:00:00 2001 From: TaiAurori <31465218+TaiAurori@users.noreply.github.com> Date: Sat, 25 Jun 2022 20:57:02 -0400 Subject: [PATCH] omitempty my beloved --- types.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types.go b/types.go index 1c688d3..53ea9af 100644 --- a/types.go +++ b/types.go @@ -76,13 +76,13 @@ type YggdrasilInfo struct { ImplVersion string `json:"Implementation-Version"` AppOwner string `json:"Application-Owner"` SkinDomains []string `json:"skinDomains"` - PublicKey *string `json:"signaturePublickey"` + PublicKey *string `json:"signaturePublickey,omitempty"` } type Property struct { Name string `json:"name"` Value string `json:"value"` - Signature *string `json:"signature"` + Signature *string `json:"signature,omitempty"` } type ProfileResponse struct { @@ -113,7 +113,7 @@ type SkinMetadata struct { type ProfileTextures struct { Skin SkinTexture `json:"SKIN"` - Cape *Texture `json:"CAPE"` + Cape *Texture `json:"CAPE,omitempty"` } type Empty struct{}