• David du Colombier's avatar
    debug/plan9obj: cleanup api · b28aa1f1
    David du Colombier authored
    - Don't export Prog structure.
    - Remove ProgHeader and ExecTable structures.
    - Add Magic, Bss and Entry fields in FileHeader.
    - Replace ?_MAGIC variables with constants.
    - Ignore final EOF from ReadAt.
    - Improve documentation.
    
    Fixes #7989.
    
    LGTM=rsc
    R=rsc, bradfitz
    CC=golang-codereviews
    https://golang.org/cl/91400044
    b28aa1f1
file_test.go 1.7 KB