1
0
mirror of https://github.com/golang/go synced 2024-11-21 21:24:45 -07:00
go/lib
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
..
codereview codereview: Initialize "found" in codereview.py. 2011-12-16 10:39:20 -05:00
godoc go/doc: streamlined go/doc API 2012-01-12 17:36:57 -08:00