Skip to content

Commit a6123dc

Browse files
committed
Bump slog
1 parent 3ce584b commit a6123dc

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ module github.com/lmittmann/tint
22

33
go 1.20
44

5-
require golang.org/x/exp v0.0.0-20230420155640-133eef4313cb
5+
require golang.org/x/exp v0.0.0-20230510235704-dd950f8aeaea

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
golang.org/x/exp v0.0.0-20230420155640-133eef4313cb h1:rhjz/8Mbfa8xROFiH+MQphmAmgqRM0bOMnytznhWEXk=
2-
golang.org/x/exp v0.0.0-20230420155640-133eef4313cb/go.mod h1:V1LtkGg67GoY2N1AnLN78QLrzxkLyJw7RJb1gzOOz9w=
1+
golang.org/x/exp v0.0.0-20230510235704-dd950f8aeaea h1:vLCWI/yYrdEHyN2JzIzPO3aaQJHQdp89IZBA/+azVC4=
2+
golang.org/x/exp v0.0.0-20230510235704-dd950f8aeaea/go.mod h1:V1LtkGg67GoY2N1AnLN78QLrzxkLyJw7RJb1gzOOz9w=

handler_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,8 +320,8 @@ func BenchmarkLogAttrs(b *testing.B) {
320320
H slog.Handler
321321
}{
322322
{"tint", tint.NewHandler(io.Discard)},
323-
{"text", slog.NewTextHandler(io.Discard)},
324-
{"json", slog.NewJSONHandler(io.Discard)},
323+
{"text", slog.NewTextHandler(io.Discard, nil)},
324+
{"json", slog.NewJSONHandler(io.Discard, nil)},
325325
{"discard", new(discarder)},
326326
}
327327

0 commit comments

Comments
 (0)