Skip to content

Go: Upgrade extractor compiler and dependency versions #12188

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

Merged
merged 3 commits into from
Feb 15, 2023

Conversation

smowton
Copy link
Contributor

@smowton smowton commented Feb 14, 2023

Switch to Go 1.20, and upgrade the Go extractor's dependencies to their latest versions.

@smowton smowton requested a review from a team as a code owner February 14, 2023 17:40
@github-actions github-actions bot added the Go label Feb 14, 2023
@smowton smowton force-pushed the smowton/feature/go-1.20-support branch from 3fc78cb to d075e01 Compare February 14, 2023 17:59
Some diagnostics have been reworded for Go 1.20, and a standard library type parameter is visible to the TypeParamType test.
uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: 1.20.0
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it worth using 1.20.x instead, so that we automatically get patch versions? I'm not aware of there ever being anything in a patch version which we've had to model.

@@ -13,3 +13,4 @@
| TG2 | interface { } |
| U | interface { } |
| V | interface { int64 \| float64 } |
| bytes | interface { []uint8 \| string } |
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess this is coming from a new library function?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It appears that way, yes

@smowton smowton merged commit 5f0b197 into github:main Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants