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

Drop go < 1.16 compatibility #89

Merged
merged 4 commits into from Oct 28, 2021
Merged

Drop go < 1.16 compatibility #89

merged 4 commits into from Oct 28, 2021

Conversation

kolyshkin
Copy link
Collaborator

Go 1.15 is not supported since Go 1.17 release in August 2021.

This is mostly so we can use new functionality, such as (*testing.T).TestDir,
as well as replacements for ioutil functions.

NOTE we do not have to replace all ioutil uses yet, as it is still not deprecated.
This is just to open a way to use whatever is available in Go 1.16.

Also, some go-1.16 and go-1.17 related cleanups.

Go 1.15 is not supported since Go 1.17 release in August 2021.

This is mostly so we can use replacements for ioutil functions
(note that we do not have to replace all ioutil uses for now, as
it is still not deprecated), as well as testing.TestDir and such.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This is mostly to have the same x/sys/unix version in all modules.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Copy link
Member

@samuelkarp samuelkarp left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

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

LGTM

@thaJeztah thaJeztah merged commit 1bcc0b1 into moby:master Oct 28, 2021
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