mirror of
https://github.com/go-delve/delve.git
synced 2025-10-28 04:35:19 +08:00
all: replace deprecated io/ioutil with io and os (#3509)
This commit is contained in:
@ -7,7 +7,6 @@ import (
|
||||
"bytes"
|
||||
"encoding/binary"
|
||||
"fmt"
|
||||
"io/ioutil"
|
||||
"log"
|
||||
"net"
|
||||
"os"
|
||||
@ -19,7 +18,7 @@ import (
|
||||
// for testing
|
||||
var (
|
||||
uid = os.Getuid()
|
||||
readFile = ioutil.ReadFile
|
||||
readFile = os.ReadFile
|
||||
)
|
||||
|
||||
type errConnectionNotFound struct {
|
||||
|
||||
Reference in New Issue
Block a user