Explorar el Código

fix import in the writer so it is not mixing v2 and v3

Dj Gilcrease hace 6 años
padre
commit
c470295428
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      writer.go

+ 2 - 1
writer.go

@@ -3,9 +3,10 @@ package lz4
 import (
 	"encoding/binary"
 	"fmt"
-	"github.com/pierrec/lz4/internal/xxh32"
 	"io"
 	"runtime"
+
+	"github.com/pierrec/lz4/v3/internal/xxh32"
 )
 
 // zResult contains the results of compressing a block.