Update deprecated functions io/ioutil -> io
1 files changed, 2 insertions(+), 2 deletions(-) M graph/schema.resolvers.go
M graph/schema.resolvers.go => graph/schema.resolvers.go +2 -2
@@ 9,7 9,7 @@ import ( "encoding/json" "errors" "fmt" "io/ioutil" "io" "math/rand" "net/http" @@ "time" 39,7 39,7 @@ func (r *mutationResolver) CreateUser(ctx context.Context, input model.NewUser) return "", errors.New("wrong steamID64") } body, err := ioutil.ReadAll(resp.Body) body, err := io.ReadAll(resp.Body) if err != nil { return "", err }