mirror of
https://github.com/golang/go
synced 2024-11-17 04:14:52 -07:00
a82f69f60e
There is now one constructor function for each built-in handler, with signature NewXXXHandler(io.Writer, *HandlerOptions) *XXXHandler Fixes #59339. Change-Id: Ia02183c5ce0dc15c64e33ad05fd69bca09df2d2d Reviewed-on: https://go-review.googlesource.com/c/go/+/486415 Reviewed-by: Alan Donovan <adonovan@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Jonathan Amsterdam <jba@google.com>
3 lines
164 B
Plaintext
3 lines
164 B
Plaintext
pkg log/slog, func NewJSONHandler(io.Writer, *HandlerOptions) *JSONHandler #59339
|
|
pkg log/slog, func NewTextHandler(io.Writer, *HandlerOptions) *TextHandler #59339
|