Commit 3ff4eb14 authored by Kirill Smelkov's avatar Kirill Smelkov

go/zodb/{fs1,zeo}: ~staticcheck

fs1/format.go:204:2: only the first constant in this group has an explicit type (SA9004)
zeo/proto.go:56:2: only the first constant in this group has an explicit type (SA9004)
parent ca630163
...@@ -202,7 +202,7 @@ func (txnh *TxnHeader) CloneFrom(txnh2 *TxnHeader) { ...@@ -202,7 +202,7 @@ func (txnh *TxnHeader) CloneFrom(txnh2 *TxnHeader) {
type TxnLoadFlags int type TxnLoadFlags int
const ( const (
LoadAll TxnLoadFlags = 0x00 // load whole transaction header LoadAll TxnLoadFlags = 0x00 // load whole transaction header
LoadNoStrings = 0x01 // do not load user/desc/ext strings LoadNoStrings TxnLoadFlags = 0x01 // do not load user/desc/ext strings
) )
// Load reads and decodes transaction record header @ pos. // Load reads and decodes transaction record header @ pos.
......
...@@ -54,7 +54,7 @@ type msg struct { ...@@ -54,7 +54,7 @@ type msg struct {
type msgFlags int64 type msgFlags int64
const ( const (
msgAsync msgFlags = 1 // message does not need a reply msgAsync msgFlags = 1 // message does not need a reply
msgExcept = 2 // exception was raised on remote side (ZEO5) msgExcept msgFlags = 2 // exception was raised on remote side (ZEO5)
) )
// encoding represents messages encoding. // encoding represents messages encoding.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment