• Rob Pike's avatar
    cmd/go: better UI for go doc · 06946aad
    Rob Pike authored
    Print it out much like godoc so there isn't a single block of text.
    Print the symbol before its comment and indent the comment so
    individual symbols separate visually.
    
    Buffer the output.
    
    Add a -c option to force case-sensitive matching.
    
    Allow two arguments, like godoc, to help disambiguate cases
    where path and symbol may be confused.
    
    Improve the documentation printed by go help doc.
    
    Change-Id: If687aad04bbacdf7dbe4bf7636de9fe96f756fd0
    Reviewed-on: https://go-review.googlesource.com/9471Reviewed-by: default avatarRuss Cox <rsc@golang.org>
    06946aad
alldocs.go 43.8 KB