omitempty my beloved

This commit is contained in:
TaiAurori 2022-06-25 20:57:02 -04:00
parent 826f07e60b
commit a1b3998b8f
1 changed files with 3 additions and 3 deletions

View File

@ -76,13 +76,13 @@ type YggdrasilInfo struct {
ImplVersion string `json:"Implementation-Version"` ImplVersion string `json:"Implementation-Version"`
AppOwner string `json:"Application-Owner"` AppOwner string `json:"Application-Owner"`
SkinDomains []string `json:"skinDomains"` SkinDomains []string `json:"skinDomains"`
PublicKey *string `json:"signaturePublickey"` PublicKey *string `json:"signaturePublickey,omitempty"`
} }
type Property struct { type Property struct {
Name string `json:"name"` Name string `json:"name"`
Value string `json:"value"` Value string `json:"value"`
Signature *string `json:"signature"` Signature *string `json:"signature,omitempty"`
} }
type ProfileResponse struct { type ProfileResponse struct {
@ -113,7 +113,7 @@ type SkinMetadata struct {
type ProfileTextures struct { type ProfileTextures struct {
Skin SkinTexture `json:"SKIN"` Skin SkinTexture `json:"SKIN"`
Cape *Texture `json:"CAPE"` Cape *Texture `json:"CAPE,omitempty"`
} }
type Empty struct{} type Empty struct{}