Skip to content

Commit

Permalink
Remove circular references
Browse files Browse the repository at this point in the history
  • Loading branch information
flanglet committed Dec 26, 2023
1 parent 35ce51f commit f07a0a0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions v2/io/CompressedStream_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ package io

import (
"fmt"
kio "github.com/flanglet/kanzi-go/v2/io"
"github.com/flanglet/kanzi-go/v2/util"
"math/rand"
"os"
Expand Down Expand Up @@ -116,7 +115,7 @@ func compress(block []byte, entropy, transform string) int {
}

// Create a Writer
w, err2 := kio.NewWriter(output, entropy, transform, blockSize, jobs, true)
w, err2 := NewWriter(output, entropy, transform, blockSize, jobs, true)

if err2 != nil {
fmt.Printf("%v\n", err2)
Expand Down Expand Up @@ -151,7 +150,7 @@ func compress(block []byte, entropy, transform string) int {
}

// Create a Reader
r, err2 := kio.NewReader(input, 4)
r, err2 := NewReader(input, 4)

if err2 != nil {
fmt.Printf("%v\n", err2)
Expand Down

0 comments on commit f07a0a0

Please sign in to comment.