Skip to content

Commit

Permalink
changed style of two comments
Browse files Browse the repository at this point in the history
  • Loading branch information
zene committed Oct 5, 2024
1 parent 0290507 commit 10e1195
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions pgproto3/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ type Backend struct {
terminate Terminate

bodyLen int
maxBodyLen int
// maxBodyLen is the maximum length of a message body in octets.
// If a message body exceeds this length, Receive will return an error.
maxBodyLen int // maxBodyLen is the maximum length of a message body in octets. If a message body exceeds this length, Receive will return an error.
msgType byte
partialMsg bool
authType uint32
Expand Down
4 changes: 1 addition & 3 deletions pgproto3/frontend.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ type Frontend struct {
portalSuspended PortalSuspended

bodyLen int
maxBodyLen int
// maxBodyLen is the maximum length of a message body in octets.
// If a message body exceeds this length, Receive will return an error.
maxBodyLen int // maxBodyLen is the maximum length of a message body in octets. If a message body exceeds this length, Receive will return an error.
msgType byte
partialMsg bool
authType uint32
Expand Down

0 comments on commit 10e1195

Please sign in to comment.