fix golint complaints

This commit is contained in:
André Roth
2024-03-06 06:21:36 +01:00
parent 1001ca92c8
commit 72a7780054
13 changed files with 26 additions and 23 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ func (index *ContentsIndex) WriteTo(w io.Writer) (int64, error) {
currentPkgs [][]byte
)
err = index.db.ProcessByPrefix(index.prefix, func(key []byte, value []byte) error {
err = index.db.ProcessByPrefix(index.prefix, func(key []byte, _ []byte) error {
// cut prefix
key = key[prefixLen:]