Skip to content

Remove deprecated ioutil call#15

Merged
strider2038 merged 2 commits intomuonsoft:masterfrom
kukymbr:remove-deprecated
Feb 16, 2025
Merged

Remove deprecated ioutil call#15
strider2038 merged 2 commits intomuonsoft:masterfrom
kukymbr:remove-deprecated

Conversation

@kukymbr
Copy link
Contributor

@kukymbr kukymbr commented Apr 12, 2024

No description provided.

func FileHas(t TestingT, filename string, jsonAssert JSONAssertFunc) {
t.Helper()
data, err := ioutil.ReadFile(filename)
data, err := os.ReadFile(filename)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

go version need to be upgraded to at least v1.16 in go.mod file

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do u plan to support older versions of go in next releases?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changed to 1.16

@strider2038 strider2038 merged commit 37fb218 into muonsoft:master Feb 16, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants