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

testdata/generate.go consider using os.WriteFile instead #70

Closed
melzhan opened this issue Oct 10, 2023 · 0 comments · Fixed by #81
Closed

testdata/generate.go consider using os.WriteFile instead #70

melzhan opened this issue Oct 10, 2023 · 0 comments · Fixed by #81
Assignees

Comments

@melzhan
Copy link
Contributor

melzhan commented Oct 10, 2023

[bootz/testdata/generate.go]
[104] func writeFile(contents []byte, filename string) error {

Is there a reason for not using os.WriteFile()?

https://pkg.go.dev/os#WriteFile

@gmacf gmacf linked a pull request Oct 24, 2023 that will close this issue
@gmacf gmacf self-assigned this Oct 24, 2023
@gmacf gmacf closed this as completed in #81 Oct 24, 2023
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 a pull request may close this issue.

2 participants