diff --git a/tools/conf/json/reader.go b/tools/conf/json/reader.go index 53a14dde..a93646ff 100644 --- a/tools/conf/json/reader.go +++ b/tools/conf/json/reader.go @@ -20,11 +20,13 @@ const ( StateMultilineCommentStar ) +// Reader is a JSON reader which allows comments. type Reader struct { io.Reader state State } +// Read implements io.Reader.Read(). func (v *Reader) Read(b []byte) (int, error) { n, err := v.Reader.Read(b) if err != nil {