]> Cypherpunks.ru repositories - gostls13.git/commit
log/slog: generate valid JSON string with empty attributes in Groups
authorAndy Pan <panjf2000@gmail.com>
Sat, 19 Aug 2023 11:27:43 +0000 (19:27 +0800)
committerJonathan Amsterdam <jba@google.com>
Mon, 11 Sep 2023 20:29:15 +0000 (20:29 +0000)
commitf72693d3e9fffa72c44dce846bd7409e331f42a2
treeb63ec219b130ff889bb34c1d3e814e09eaf66df1
parent94f24fd054a9263174774b91268aab8da23d5d48
log/slog: generate valid JSON string with empty attributes in Groups

Fixes #62152

Change-Id: I1f76ab26eae3a44292ebe6003006258d5e31d50f
Reviewed-on: https://go-review.googlesource.com/c/go/+/521135
Reviewed-by: Heschi Kreinick <heschi@google.com>
Run-TryBot: Andy Pan <panjf2000@gmail.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/log/slog/handler.go
src/log/slog/handler_test.go