Skip to content

Replace Alizer io/ioutil dependency #1257

@thepetk

Description

@thepetk

Which area/kind this issue is related to?

/area alizer

Issue Description

At the moment alizer is using the io/ioutil in order to read files. As it is mentioned:

"io/ioutil" has been deprecated since Go 1.19: 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

As a result, we shall replace this dependency and start using the os library.

Acceptance Criteria

  • Remove the io/ioutils dependency and replace it with a non-deprecated one.
  • Enforce the package is not used in the future using linter (run the linter into CI)

Metadata

Metadata

Assignees

Labels

area/alizerEnhancement or issue related to the alizer repogood first issueGood for newcomers

Type

No type

Projects

Status

Done ✅

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions