bugs prints the BUGS information for the package. TODO: Provide access to TODOs and NOTEs as well (very noisy so off by default)?
()
| 195 | // bugs prints the BUGS information for the package. |
| 196 | // TODO: Provide access to TODOs and NOTEs as well (very noisy so off by default)? |
| 197 | func (pkg *Package) bugs() { |
| 198 | if pkg.doc.Notes["BUG"] == nil { |
| 199 | return |
| 200 | } |
| 201 | pkg.Printf("\n") |
| 202 | for _, note := range pkg.doc.Notes["BUG"] { |
| 203 | pkg.Printf("%s: %v\n", "BUG", note.Body) |
| 204 | } |
| 205 | } |
| 206 | |
| 207 | // PackageDoc generates Markdown documentation for the package in the given |
| 208 | // directory. importPath is the full Go import path of that package (e.g. |