-
Notifications
You must be signed in to change notification settings - Fork 421
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
all: support latest go version 1.19 #1410
Conversation
@@ -40,9 +40,10 @@ Datadog APM for Go is built upon dependencies defined in specific versions of th | |||
<!-- NOTE: When updating the below section ensure you update the minimum supported version listed in the public docs here: https://docs.datadoghq.com/tracing/setup_overview/setup/go/?tab=containers#compatibility-requirements --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this in a separate PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah it will / should be, thanks for the reminder since I totally forgot
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SGTM overall 👍 just a couple nits
Now that we've bumped our minimum supported Go version to 1.17 (see #1410) we can use testing.T.Setenv. This function is a test helper which sets an environment variable, and restores it to its previous value when the test ends (including un-setting the variable if it was un-set). There are a few reimplementations of this in the tests which can now be removed.
This moves 1.17 to maintenance and 1.16 to legacy support