mirror of
https://github.com/golang/go
synced 2024-11-18 14:54:40 -07:00
57f659e14d
This change reads $GOROOT/api/go1.*.txt when godoc starts and caches information about which versions of Go introduce functions, types, and methods. This information is displayed currently only in HTML output. Functions, types, and methods introduced as part of Go 1 are not annotated, as their presence at that version is implied. This change does not address constants or variables, and completely ignores the syscall package. The former are future work, the latter is likely an exercise in futility. In all cases, this is because the story around displaying the version information is not well developed. Fixes golang/go#5778 Change-Id: Ieb3cc0da7b18e195bc9c443f14fd8a82e8b2bbf8 Reviewed-on: https://go-review.googlesource.com/85396 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Devon O'Dell <dhobsd@google.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> |
||
---|---|---|
.. | ||
analysis | ||
images | ||
callgraph.html | ||
codewalk.html | ||
codewalkdir.html | ||
dirlist.html | ||
doc.go | ||
error.html | ||
example.html | ||
gen_test.go | ||
gen.go | ||
godoc.html | ||
godocs.js | ||
implements.html | ||
jquery.js | ||
jquery.treeview.css | ||
jquery.treeview.edit.js | ||
jquery.treeview.js | ||
makestatic.go | ||
methodset.html | ||
opensearch.xml | ||
package.html | ||
package.txt | ||
packageroot.html | ||
play.js | ||
playground.js | ||
search.html | ||
search.txt | ||
searchcode.html | ||
searchdoc.html | ||
searchtxt.html | ||
static.go | ||
style.css |