0
0

fix golint issue

This commit is contained in:
Marty Schoch 2017-12-11 16:24:46 -05:00
parent f246e0e4c0
commit 58ef21a88a

View File

@ -618,8 +618,8 @@ func persistFields(memSegment *mem.Segment, w *CountHashWriter, dictLocs []uint6
return rv, nil
}
// NOTE: update if you make the footer bigger
// crc + ver + chunk + field offset + stored offset + num docs
// FooterSize is the size of the footer record in bytes
// crc + ver + chunk + field offset + stored offset + num docs
const FooterSize = 4 + 4 + 4 + 8 + 8 + 8
func persistFooter(numDocs, storedIndexOffset, fieldIndexOffset uint64,