aboutsummaryrefslogtreecommitdiff
path: root/src/net/http/sniff_test.go
diff options
context:
space:
mode:
authorAgniva De Sarker <agnivade@yahoo.co.in>2019-02-04 13:01:11 +0530
committerRobert Griesemer <gri@golang.org>2019-03-06 06:05:15 +0000
commit43e8fd4ef1ae24f1505bd34708fc30aa2b736c52 (patch)
treea76ab2d8046878bd417f7c98d99a97dd7b5af3e7 /src/net/http/sniff_test.go
parent6dde1fd792ba4ce41fcce50fc1c66b38666d6924 (diff)
downloadgo-43e8fd4ef1ae24f1505bd34708fc30aa2b736c52.tar.xz
go/parser: include more comments in a struct or interface
While parsing inside a struct or an interface, skipping over empty lines too to collect the next group of comments. We do not need to skip over more than 1 empty line since gofmt already removes multiple empty consecutive lines. Fixes #10858 Change-Id: I0c97b65b5fc44e225e5dc7871ace24f43419ce08 Reviewed-on: https://go-review.googlesource.com/c/go/+/161177 Run-TryBot: Robert Griesemer <gri@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Robert Griesemer <gri@golang.org>
Diffstat (limited to 'src/net/http/sniff_test.go')
0 files changed, 0 insertions, 0 deletions