forked from TripwireTeam/tripwire
omitempty my beloved
This commit is contained in:
parent
826f07e60b
commit
a1b3998b8f
6
types.go
6
types.go
|
@ -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{}
|
||||||
|
|
Loading…
Reference in New Issue