From 722ac7bfaa0bd1cd10690e4e7d622b491912d024 Mon Sep 17 00:00:00 2001 From: Osamu TONOMORI Date: Tue, 29 Oct 2019 05:10:06 +0900 Subject: [PATCH] Fix godoc comment --- gosh.go | 1 - 1 file changed, 1 deletion(-) diff --git a/gosh.go b/gosh.go index 6e21f83..00a639b 100644 --- a/gosh.go +++ b/gosh.go @@ -58,7 +58,6 @@ type ( ) // NewStatisticsHandler returns new StatisticsHandler. -// If argument is nil, automatically use json.NewEncoder in standard library. func NewStatisticsHandler(f func(w io.Writer) JSONEncoder) (http.Handler, error) { if f == nil { return nil, errors.New("gosh: an argument should not be nil")