update to latest golang.org/x dependencies

This commit is contained in:
Mechiel Lukkien
2024-04-28 13:53:37 +02:00
parent 8cc795b2ec
commit b3a693ee31
32 changed files with 18172 additions and 969 deletions

14
vendor/golang.org/x/sync/errgroup/pre_go120.go generated vendored Normal file
View File

@ -0,0 +1,14 @@
// Copyright 2023 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build !go1.20
package errgroup
import "context"
func withCancelCause(parent context.Context) (context.Context, func(error)) {
ctx, cancel := context.WithCancel(parent)
return ctx, func(error) { cancel() }
}