1
0
mirror of https://github.com/golang/go synced 2024-11-17 02:54:45 -07:00
go/src
Rob Pike e0a97a5928 cmd/doc: make comments inside functions appear with -src
The old godoc didn't do this either, perhaps because it's a little
tricky, but it can be done using a special type from the go/printer
package. (Usually we just use go/format).

Fixes #28195.

Change-Id: Ic6d3df3953ba71128398ceaf9a133c798551b6b8
Reviewed-on: https://go-review.googlesource.com/c/143037
Reviewed-by: Robert Griesemer <gri@golang.org>
2018-10-18 04:11:33 +00:00
..
archive all: fix a bunch of misspellings 2018-10-08 03:12:03 +00:00
bufio
builtin
bytes bytes: vary the input alignment to Compare argument in compare_test.go 2018-10-11 04:45:18 +00:00
cmd cmd/doc: make comments inside functions appear with -src 2018-10-18 04:11:33 +00:00
compress all: fix a bunch of misspellings 2018-10-06 15:40:03 +00:00
container
context
crypto crypto/tls,crypto/x509: normalize RFC references 2018-10-17 03:58:03 +00:00
database/sql database/sql: remove commented debug prints 2018-10-17 22:58:50 +00:00
debug debug/plan9obj: simplify s[:] to s where 2018-10-13 11:24:43 +00:00
encoding encoding/json: always verify we can get a field's value 2018-10-16 14:02:52 +00:00
errors
expvar
flag
fmt Revert "fmt: fix incorrect format of whole-number floats when using %#v" 2018-10-16 21:54:35 +00:00
go go/internal/gccgoimporter: backport from x/tools to ensure identical code 2018-10-17 21:28:04 +00:00
hash
html
image jpeg: simplify 'x = x op ...' to 'x op= ...' 2018-10-13 11:18:56 +00:00
index/suffixarray
internal internal/cpu: add invalid option warnings and support to enable cpu features 2018-10-15 21:46:44 +00:00
io
log
math all: fix a bunch of misspellings 2018-10-06 15:40:03 +00:00
mime mime: add AIX operating system 2018-10-10 15:19:38 +00:00
net net/http: flesh out Transport's HTTP/1 CONNECT+bidi support to match HTTP/2 2018-10-12 15:00:32 +00:00
os os: ignore SIGTTIN during TestTTYClose 2018-10-18 00:08:57 +00:00
path path/filepath: add AIX operating system 2018-10-11 14:46:37 +00:00
plugin
reflect
regexp regexp: add partial Deprecation comment to Copy 2018-10-12 17:48:44 +00:00
runtime runtime: use only treaps for tracking spans 2018-10-17 16:26:10 +00:00
sort
strconv strconv: add comment explaining bounded shift in formatBits 2018-10-15 21:45:52 +00:00
strings strings: Replace s[:] to s where s is a slice. 2018-10-13 11:17:13 +00:00
sync sync: fix typo in doc 2018-10-06 12:04:57 +00:00
syscall syscall: correctly pad with NUL in FreeBSD convertFromDirents11 2018-10-12 14:55:06 +00:00
testdata
testing testing: implement -benchtime=100x 2018-10-12 17:48:31 +00:00
text text/template: explain that integer constants can overflow 2018-10-11 02:32:47 +00:00
time time: add AIX operating system 2018-10-10 14:15:57 +00:00
unicode
unsafe unsafe: document that Alignof, Offsetof, and Sizeof return a constant 2018-10-11 02:32:20 +00:00
vendor/golang_org/x vendor: update golang_org/x/net/route from upstream 2018-10-05 21:53:34 +00:00
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
iostest.bash
make.bash
make.bat
Make.dist
make.rc
naclmake.bash
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc