Documentation ¶
Overview ¶
Package archive implements reading of archive files generated by the Go toolchain.
Index ¶
Constants ¶
View Source
const HeaderSize = 60
architecture-independent object file output
Variables ¶
This section is empty.
Functions ¶
func FormatHeader ¶ added in go1.17
Types ¶
type Archive ¶
type Archive struct { Entries []Entry // contains filtered or unexported fields }
type Data ¶
A Data is a reference to data stored in an object file. It records the offset and size of the data, so that a client can read the data only if necessary.
type Entry ¶
type ErrGoObjOtherVersion ¶ added in go1.17
type ErrGoObjOtherVersion struct {
// contains filtered or unexported fields
}
func (ErrGoObjOtherVersion) Error ¶ added in go1.17
func (e ErrGoObjOtherVersion) Error() string
Click to show internal directories.
Click to hide internal directories.