mirror of
https://github.com/gomods/athens
synced 2026-02-03 12:10:32 +00:00
feat: replace ioutil with io and os (#1816)
This commit is contained in:
@@ -3,7 +3,7 @@ package stash
|
||||
import (
|
||||
"bytes"
|
||||
"context"
|
||||
"io/ioutil"
|
||||
"io"
|
||||
"os"
|
||||
"strings"
|
||||
"testing"
|
||||
@@ -67,7 +67,7 @@ func TestWithGCS(t *testing.T) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
defer zip.Close()
|
||||
zipContent, err := ioutil.ReadAll(zip)
|
||||
zipContent, err := io.ReadAll(zip)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user