Fix golint issues

This commit is contained in:
Tulir Asokan
2018-04-19 11:35:52 +03:00
parent f62b27f332
commit c3386ba118
2 changed files with 4 additions and 6 deletions

View File

@ -128,8 +128,7 @@ func (action *PushAction) MarshalJSON() (raw []byte, err error) {
"value": action.Value,
}
return json.Marshal(&data)
} else {
data := string(action.Action)
return json.Marshal(&data)
}
data := string(action.Action)
return json.Marshal(&data)
}