• Rob Pike's avatar
    cmd/doc: put blank lines around comment for types, etc. · 6f7b4e89
    Rob Pike authored
    Better layout.
    
    Fixes #10859.
    
    The issue suggests rearranging so the comment comes out
    after the methods. I tried this and it looks good but it is less
    useful, since the stuff you're probably looking for - the methods
    - are scrolled away by the comment. The most important
    information should be last because that leaves it on your
    screen after the print if the output is long.
    
    Change-Id: I560f992601ccbe2293c347fa1b1018a3f5346c82
    Reviewed-on: https://go-review.googlesource.com/10160Reviewed-by: 's avatarRuss Cox <rsc@golang.org>
    6f7b4e89
pkg.go 13.2 KB