Combine const declarations into one block
diff --git a/rpc_util.go b/rpc_util.go
index bd40eef..024ef23 100644
--- a/rpc_util.go
+++ b/rpc_util.go
@@ -138,8 +138,10 @@
 // EOF is returned with nil msg and 0 pf if the entire stream is done. Other
 // non-nil error is returned if something is wrong on reading.
 func (p *parser) recvMsg() (pf payloadFormat, msg []byte, err error) {
-	const headerSize = 5
-	const formatIndex = 1
+	const (
+		headerSize  = 5
+		formatIndex = 1
+	)
 
 	var hdr msgFixedHeader
 	var buf [headerSize]byte