From ffe6e49220648a0b847e47e1072cf0b8d1b1f803 Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Wed, 28 Oct 2020 14:56:38 +0100 Subject: go fmt --- reqres.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'reqres.go') 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 -- cgit v1.2.3