-
Notifications
You must be signed in to change notification settings - Fork 38
Remove deprecated ioutil #24
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
base: master
Are you sure you want to change the base?
Conversation
- Update the go version - Replace the use of ioutil package readall with the os package's readall
Go mod can easily manage versions.
- Remove redundant test - Add more special cases - Remove reference to ported as it is no longer ported
@@ -1,5 +1,11 @@ | |||
module github.com/sabhiram/go-gitignore | |||
module github.com/Diogenesoftoronto/go-gitignore |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should not change the module name:
module github.com/Diogenesoftoronto/go-gitignore | |
module github.com/sabhiram/go-gitignore |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure we need to refactor tests in this PR. Better is to create a separate PR.
|
||
go 1.13 | ||
go 1.22 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we can leave the minimum possible version the library is compiled with:
go 1.22 | |
go 1.16 |
Duplicates #23 |
Hey, I don't know if anyone is here to review this but I just thought that I would update this package with some simple updates. I was using it myself and I might add some improvement on top of this if that is okay :)