Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: replace ioutils.ReadFile functions by os.ReadFile due to deprecation #114

Merged

Conversation

gonzalochief
Copy link
Contributor

Update ReadFile function package due to deprecation of ioutils version on Golang 1.16

gonzalochief and others added 4 commits September 20, 2024 09:17
add unit test for GetDomains function
Use os package version of the function, as ioutils implementation was deprecated.
adds context.TODO to avoid passing nil context
@coveralls
Copy link

Coverage Status

coverage: 69.792% (+1.4%) from 68.403%
when pulling 8fc3343 on gonzalochief:fix-ioutil-file-function-deprecation
into 138d465 on casbin:master.

@hsluoyz hsluoyz changed the title fix: replace ioutils.ReadFile functions by os.ReadFile due to deprecation feat: replace ioutils.ReadFile functions by os.ReadFile due to deprecation Sep 20, 2024
@hsluoyz hsluoyz merged commit 9c5bdf3 into casbin:master Sep 20, 2024
4 of 5 checks passed
Copy link

🎉 This PR is included in version 1.13.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants