We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35fff72 commit 722ac7bCopy full SHA for 722ac7b
gosh.go
@@ -58,7 +58,6 @@ type (
58
)
59
60
// NewStatisticsHandler returns new StatisticsHandler.
61
-// If argument is nil, automatically use json.NewEncoder in standard library.
62
func NewStatisticsHandler(f func(w io.Writer) JSONEncoder) (http.Handler, error) {
63
if f == nil {
64
return nil, errors.New("gosh: an argument should not be nil")
0 commit comments