Update dependencies (#5518)

This commit is contained in:
hongming
2023-02-12 23:09:20 +08:00
committed by GitHub
parent d3b35fb2da
commit a979342f56
1486 changed files with 126660 additions and 71128 deletions

View File

@@ -7,7 +7,6 @@ package scanner
import (
"fmt"
"io"
"io/ioutil"
"unicode"
"unicode/utf8"
@@ -47,7 +46,7 @@ type Position struct {
// through the source code provided by the io.Reader.
func New(r io.Reader) (*Scanner, error) {
bs, err := ioutil.ReadAll(r)
bs, err := io.ReadAll(r)
if err != nil {
return nil, err
}