Closed michaelsauter closed 2 years ago
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 https://pkg.go.dev/io/ioutil.
golangci-lint complains about io/ioutil usage (e.g. see https://github.com/opendevstack/ods-pipeline/actions/runs/2978230758), even though I cannot replicate the issue locally, even though it looks like the same version and configuration is used.
golangci-lint
io/ioutil
Tasks:
docs/design
docs
make test
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 https://pkg.go.dev/io/ioutil.
golangci-lint
complains aboutio/ioutil
usage (e.g. see https://github.com/opendevstack/ods-pipeline/actions/runs/2978230758), even though I cannot replicate the issue locally, even though it looks like the same version and configuration is used.Tasks:
docs/design
directory or not applicabledocs
directory or not applicablemake test
) or not applicable