Skip to content
This repository was archived by the owner on Oct 31, 2023. It is now read-only.

Add updates through go1.18 #163

Merged
merged 3 commits into from
Jul 1, 2022
Merged

Add updates through go1.18 #163

merged 3 commits into from
Jul 1, 2022

Conversation

swenson
Copy link
Contributor

@swenson swenson commented Jun 30, 2022

Also drop Gopkg files.

Tests pass locally.

I checked compatibility using https://gist.github.com/asukakenji/f15ba7e588ac42795f421b48b8aede63


Platforms_1_5 = append(Platforms_1_4, []Platform{
Platforms_1_5 = addDrop(Platforms_1_4, []Platform{
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I noticed some very strange things happening if multiple appends were done around here, with the 1.6 and 1.7 slices being all messed up, so I changed everything to use addDrop, which makes full copies.

"go1.15",
"go1.16",
"go1.17",
"go1.18",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This would be very tedious to maintain if we kept track of 10+ patch versions per minor version

@mitchellh
Copy link
Owner

Thank you!

@mitchellh mitchellh merged commit 0f0190f into mitchellh:master Jul 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants