]> Cypherpunks repositories - gostls13.git/commit
net/http: display connect methods table properly in `go doc`
authorJoe Kyo <xunianzu@gmail.com>
Tue, 31 Oct 2017 09:47:27 +0000 (09:47 +0000)
committerIan Lance Taylor <iant@golang.org>
Tue, 31 Oct 2017 14:02:12 +0000 (14:02 +0000)
commit5536180ae72e8745c8a831e03f56a86360d76c52
tree1840f4888b761573780dabe84dfc731e889340ed
parent8f4f1f63e9d5d171a669d0a9c4594bbaaf9ea6f7
net/http: display connect methods table properly in `go doc`

When run `go doc -u http.connectMethod`, the whole table is treated as
a single long line. This commit inserts `\t` at the begining of each line,
so the table can be displayed properly in `go doc`.

Change-Id: I6408efd31f84c113e81167d62e1791643000d629
Reviewed-on: https://go-review.googlesource.com/74651
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/net/http/transport.go