1
0
mirror of https://github.com/golang/go synced 2024-11-25 08:07:57 -07:00
go/lib/godoc
Robert Griesemer eac31c67a8 go/doc: streamlined go/doc API
- the main changes are removing the Doc suffix
  from the exported types, so instead of
  doc.TypeDoc one will have doc.Type, etc.

- All exported types now have a Name (or Names) field.
  For Values, the Names field lists all declared variables
  or constants.

- Methods have additional information about where they are
  coming from.

- There's a mode field instead of a bool to
  control the package's operation, which makes
  it easier to extend w/o API changes.

Except for the partially implemented new Method type,
this is based on existing code. A clean rewrite is in
progress based on this new API.

R=rsc, kevlar
CC=golang-dev
https://golang.org/cl/5528060
2012-01-12 17:36:57 -08:00
..
codewalk.html exp/template: rename filter: url -> urlquery. 2011-08-13 14:00:16 +10:00
codewalkdir.html godoc: template cleanup 2011-08-17 16:38:58 -07:00
dirlist.html godoc: template cleanup 2011-08-17 16:38:58 -07:00
error.html godoc: first round of template cleanups 2011-08-12 10:06:32 -07:00
example.html godoc: <pre> must not occur inside <p> 2011-12-07 15:00:38 -05:00
godoc.html godoc: added an opensearch description document. 2011-12-12 18:01:06 -05:00
opensearch.xml godoc: added an opensearch description document. 2011-12-12 18:01:06 -05:00
package.html go/doc: streamlined go/doc API 2012-01-12 17:36:57 -08:00
package.txt go/doc: streamlined go/doc API 2012-01-12 17:36:57 -08:00
search.html godoc: show packages matching a query at the top 2011-09-08 15:35:56 -07:00
search.txt godoc: fine tuning of template file 2011-09-08 18:27:26 -07:00