btwiuse / k0s

Using a deprecated function, variable, constant or field GO-W1009
Anti-pattern
3 months ago3 months old
"io/ioutil" has been deprecated since Go 1.16: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details.
  6	"flag"
  7	"fmt"
  8	"io"
  9	"io/ioutil" 10	"log"
 11	"net/http"
 12	"net/url"