Skip to content

Commit

Permalink
Fix godoc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
osamingo committed Oct 28, 2019
1 parent 35fff72 commit 722ac7b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion gosh.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 722ac7b

Please sign in to comment.