diff options
author | Rasmus Dahlberg <rasmus@mullvad.net> | 2021-12-30 15:37:29 +0100 |
---|---|---|
committer | Rasmus Dahlberg <rasmus@mullvad.net> | 2021-12-30 15:37:29 +0100 |
commit | 94a690b5e943e6be92e60ff54a883e68a9b54866 (patch) | |
tree | 2d9c935552039c269b9b592456976c046dfe9cf5 /pkg | |
parent | 3245f04336572c7fb63dcb30896871f9a2b04470 (diff) |
ascii: Use dependencies based on Go 1.15.9v0.0.2
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/ascii/ascii.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/ascii/ascii.go b/pkg/ascii/ascii.go index 350890c..3521d7d 100644 --- a/pkg/ascii/ascii.go +++ b/pkg/ascii/ascii.go @@ -23,6 +23,7 @@ import ( "bytes" "fmt" "io" + "io/ioutil" "reflect" "strconv" "strings" @@ -146,7 +147,7 @@ func (e *Encoding) Deserialize(r io.Reader, i interface{}) error { return err } - buf, err := io.ReadAll(r) + buf, err := ioutil.ReadAll(r) if err != nil { return fmt.Errorf("ascii: failed reading incoming buffer") } |