Remove import alias for pierrec/lz4

This commit is contained in:
Seednode 2024-01-05 21:48:40 -06:00
parent 59cbd25e7c
commit 560868ab75
2 changed files with 2 additions and 3 deletions

View File

@ -20,7 +20,7 @@ import (
"github.com/golang/snappy" "github.com/golang/snappy"
"github.com/julienschmidt/httprouter" "github.com/julienschmidt/httprouter"
"github.com/klauspost/compress/zstd" "github.com/klauspost/compress/zstd"
lz4 "github.com/pierrec/lz4/v4" "github.com/pierrec/lz4/v4"
"seedno.de/seednode/roulette/types" "seedno.de/seednode/roulette/types"
) )
@ -236,7 +236,6 @@ func (index *fileIndex) Import(path string) error {
if err != nil { if err != nil {
return err return err
} }
//defer reader.Close()
dec := gob.NewDecoder(reader) dec := gob.NewDecoder(reader)

View File

@ -15,7 +15,7 @@ import (
const ( const (
AllowedCharacters string = `^[A-z0-9.\-_]+$` AllowedCharacters string = `^[A-z0-9.\-_]+$`
ReleaseVersion string = "3.12.0" ReleaseVersion string = "3.12.1"
) )
var ( var (