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

Switch to Go 1.21 #234

Merged
merged 2 commits into from
Sep 14, 2023
Merged

Switch to Go 1.21 #234

merged 2 commits into from
Sep 14, 2023

Conversation

averche
Copy link
Collaborator

@averche averche commented Sep 14, 2023

Description

Switching to Go 1.21 and removing dependencies on the following:

  • hashicorp/go-multierror
  • golang.org/x/exp

@averche averche requested a review from a team as a code owner September 14, 2023 21:51
@dhuckins
Copy link
Contributor

looks like you need to change in https://github.com/hashicorp/vault-client-go/blob/main/.github/workflows/main.yml too

"net/http"
"net/url"
"strings"
"time"
"unicode"

"github.com/hashicorp/go-multierror"
"golang.org/x/exp/maps"
)
Copy link
Contributor

Choose a reason for hiding this comment

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

🥇

var modifiers requestModifiers

for _, option := range options {
if err := option(&modifiers); err != nil {
errs = multierror.Append(errs, err)
return requestModifiers{}, err
Copy link
Contributor

Choose a reason for hiding this comment

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

nice catch! much cleaner to do this

@averche averche merged commit 4d14b96 into main Sep 14, 2023
4 checks passed
@averche averche deleted the remove-multierr branch September 14, 2023 22:36
@averche averche mentioned this pull request Sep 18, 2023
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.

2 participants