tools: Add go vet as a linter (#1421)

* tools: add go vet

* tools: Add go vet as a linter
This commit is contained in:
Dev Ojha
2018-06-27 20:32:06 -04:00
committed by Rigel
parent 4effa6f8d4
commit 6d9f07dfee
8 changed files with 22 additions and 19 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ import (
// Tx Broadcast Body
type BroadcastTxBody struct {
TxBytes string `json="tx"`
TxBytes string `json:"tx"`
}
// BroadcastTx REST Handler
+3 -3
View File
@@ -11,9 +11,9 @@ import (
// REST request body
// TODO does this need to be exposed?
type SignTxBody struct {
Name string `json="name"`
Password string `json="password"`
TxBytes string `json="tx"`
Name string `json:"name"`
Password string `json:"password"`
TxBytes string `json:"tx"`
}
// sign transaction REST Handler