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

refactor: move from io/ioutil to io and os packages #403

Merged
merged 2 commits into from Dec 5, 2021
Merged

refactor: move from io/ioutil to io and os packages #403

merged 2 commits into from Dec 5, 2021

Conversation

Juneezee
Copy link
Contributor

@Juneezee Juneezee commented Dec 5, 2021

This PR introduces two small changes:

  1. Synchronizes //go:build lines with // +build lines by running go fmt ./....

  2. The io/ioutil package has been deprecated in Go 1.16 (See https://golang.org/doc/go1.16#ioutil). This PR replaces the existing io/ioutil functions with their new definitions in io and os packages.

This commit synchronizes `//go:build` lines with `// +build` lines.

Reference: https://go.googlesource.com/proposal/+/master/design/draft-gobuild.md
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil. This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
@CLAassistant
Copy link

CLAassistant commented Dec 5, 2021

CLA assistant check
All committers have signed the CLA.

@hhrutter hhrutter merged commit 8e53ad6 into pdfcpu:master Dec 5, 2021
@hhrutter
Copy link
Collaborator

hhrutter commented Dec 5, 2021

Thank you for your contribution 👍 💚

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.

None yet

3 participants