From 055f3ce6c000cb89c187f1d25dec876a7d9b4f5a Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Sun, 11 Feb 2018 17:03:13 +0300 Subject: [PATCH] Rename ely field into chrly --- http/signed_textures.go | 5 ++--- http/signed_textures_test.go | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/http/signed_textures.go b/http/signed_textures.go index 49950b1..158cdaa 100644 --- a/http/signed_textures.go +++ b/http/signed_textures.go @@ -11,7 +11,6 @@ import ( type signedTexturesResponse struct { Id string `json:"id"` Name string `json:"name"` - IsEly bool `json:"ely,omitempty"` Props []property `json:"properties"` } @@ -41,8 +40,8 @@ func (cfg *Config) SignedTextures(response http.ResponseWriter, request *http.Re Value: rec.MojangTextures, }, { - Name: "ely", - Value: "but why are you asking?", + Name: "chrly", + Value: "how do you tame a horse in Minecraft?", }, }, } diff --git a/http/signed_textures_test.go b/http/signed_textures_test.go index 56465df..3a3a9bf 100644 --- a/http/signed_textures_test.go +++ b/http/signed_textures_test.go @@ -41,8 +41,8 @@ func TestConfig_SignedTextures(t *testing.T) { "value": "mocked textures base64" }, { - "name": "ely", - "value": "but why are you asking?" + "name": "chrly", + "value": "how do you tame a horse in Minecraft?" } ] }`, string(response))