diff options
author | Jonathan Amsterdam <jba@google.com> | 2023-04-19 14:56:58 -0400 |
---|---|---|
committer | Jonathan Amsterdam <jba@google.com> | 2023-05-04 19:53:09 +0000 |
commit | 2f5f231ac12af61b43d508f46ebe10cf0ebe2730 (patch) | |
tree | 2d36f2c29613dd0c8190cb9bf720e5e8f3b9a8fb /api | |
parent | 79723f389b630e61c5e9635235b7f4c624ac1379 (diff) | |
download | go-git-2f5f231ac12af61b43d508f46ebe10cf0ebe2730.tar.gz |
log/slog: Group takes ...any
The Group function takes a key and a ...any, which is converted
into attrs.
Fixes #59204.
Change-Id: Ib714365dcda2eda37863ce433f3dd8cf5eeda610
Reviewed-on: https://go-review.googlesource.com/c/go/+/487855
Reviewed-by: Alan Donovan <adonovan@google.com>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'api')
-rw-r--r-- | api/next/56345.txt | 1 | ||||
-rw-r--r-- | api/next/59204.txt | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/api/next/56345.txt b/api/next/56345.txt index c11ce6871e..fe96bddc86 100644 --- a/api/next/56345.txt +++ b/api/next/56345.txt @@ -47,7 +47,6 @@ pkg log/slog, func Error(string, ...interface{}) #56345 pkg log/slog, func ErrorCtx(context.Context, string, ...interface{}) #56345 pkg log/slog, func Float64(string, float64) Attr #56345 pkg log/slog, func Float64Value(float64) Value #56345 -pkg log/slog, func Group(string, ...Attr) Attr #56345 pkg log/slog, func GroupValue(...Attr) Value #56345 pkg log/slog, func Info(string, ...interface{}) #56345 pkg log/slog, func InfoCtx(context.Context, string, ...interface{}) #56345 diff --git a/api/next/59204.txt b/api/next/59204.txt new file mode 100644 index 0000000000..e39e4104b6 --- /dev/null +++ b/api/next/59204.txt @@ -0,0 +1 @@ +pkg log/slog, func Group(string, ...interface{}) Attr #59204 |