dgryski.semgrep-go.ioutil.deprecated-ioutil-discard

profile photo of dgryskidgryski
Author
unknown
Download Count*
License

ioutil.Discard is deprecated

Run Locally

Run in CI

Defintion

rules:
  - id: deprecated-ioutil-discard
    pattern: ioutil.Discard
    fix: io.Discard
    message: ioutil.Discard is deprecated
    languages:
      - go
    severity: ERROR
    metadata:
      license: MIT