Skip to content

Commit 6a7f746

Browse files
committed
types: sort Response fields
1 parent 9160a18 commit 6a7f746

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

types.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ func (r *Request) IsNotify() bool {
4444
type Response struct {
4545
Message
4646

47-
// The error object in case a request fails.
48-
Error *Error `json:"error,omitempty"`
49-
5047
// The request id.
5148
ID *ID `json:"id"`
5249

50+
// The error object in case a request fails.
51+
Error *Error `json:"error,omitempty"`
52+
5353
// The result of a request. This member is REQUIRED on success.
5454
// This member MUST NOT exist if there was an error invoking the method.
5555
Result []byte `json:"result,omitempty"`

0 commit comments

Comments
 (0)