From 09c0fa558a5742d4fff4bf400479f2544ed25538 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Thu, 15 Dec 2016 15:55:31 +0100 Subject: [PATCH] comments --- tools/conf/json/reader.go | 2 ++ 1 file changed, 2 insertions(+) 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 {