aboutsummaryrefslogtreecommitdiff
path: root/reqres.go
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-10-28 14:56:38 +0100
committerRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-10-28 14:56:38 +0100
commitffe6e49220648a0b847e47e1072cf0b8d1b1f803 (patch)
tree52949a55f3d8b1ad1f214aa6e408c194ecf1eaba /reqres.go
parentcaca215c9516e8dc236a8510a6a5467c267d2331 (diff)
go fmt
Diffstat (limited to 'reqres.go')
-rw-r--r--reqres.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/reqres.go b/reqres.go
index d0257ab..d66ca4b 100644
--- a/reqres.go
+++ b/reqres.go
@@ -36,7 +36,7 @@ type GetProofByHashRequest struct {
// GetConsistencyProofRequest is a collection of get-consistency-proof input
// parameters
type GetConsistencyProofRequest struct {
- First int64 `json:"first"`
+ First int64 `json:"first"`
Second int64 `json:"second"`
}
@@ -156,7 +156,7 @@ func NewGetConsistencyProofRequest(httpRequest *http.Request) (GetConsistencyPro
return GetConsistencyProofRequest{}, fmt.Errorf("bad parameters: second(%v) must be larger than first(%v)", first, second)
}
- return GetConsistencyProofRequest{ First: first, Second: second}, nil
+ return GetConsistencyProofRequest{First: first, Second: second}, nil
}
// NewAddEntryResponse assembles an add-entry response from an SDI