MCPcopy
hub / github.com/tailscale/tailscale / bugs

Method bugs

tempfork/pkgdoc/pkgdoc.go:197–205  ·  view source on GitHub ↗

bugs prints the BUGS information for the package. TODO: Provide access to TODOs and NOTEs as well (very noisy so off by default)?

()

Source from the content-addressed store, hash-verified

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)?
197func (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.

Callers 1

packageDocMethod · 0.95

Calls 1

PrintfMethod · 0.95

Tested by

no test coverage detected