diff options
author | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2020-10-28 14:56:38 +0100 |
---|---|---|
committer | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2020-10-28 14:56:38 +0100 |
commit | ffe6e49220648a0b847e47e1072cf0b8d1b1f803 (patch) | |
tree | 52949a55f3d8b1ad1f214aa6e408c194ecf1eaba /reqres.go | |
parent | caca215c9516e8dc236a8510a6a5467c267d2331 (diff) |
go fmt
Diffstat (limited to 'reqres.go')
-rw-r--r-- | reqres.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |