hide Payload in authenticate

This commit is contained in:
Tnze
2019-08-01 12:09:58 +08:00
parent 1cc07c15f5
commit 02eb7283d1
4 changed files with 16 additions and 12 deletions

View File

@ -7,8 +7,8 @@ import (
)
func TestEncodingPayload(t *testing.T) {
j, err := json.Marshal(Payload{
Agent: Agent{
j, err := json.Marshal(payload{
Agent: agent{
Name: "Minecraft",
Version: 1,
},