Address issues reported by golint

This commit is contained in:
Alexander Neumann
2021-01-30 20:45:57 +01:00
parent f867e65bcd
commit 04ca69cc78
4 changed files with 9 additions and 17 deletions

View File

@@ -157,7 +157,7 @@ var (
const (
// size of the header-length field at the end of the file; it is a uint32
headerLengthSize = 4
// constant overhead of the header independent of #entries
// HeaderSize is the header's constant overhead (independent of #entries)
HeaderSize = headerLengthSize + crypto.Extension
maxHeaderSize = 16 * 1024 * 1024