Documentation ¶
Overview ¶
package importer implements an exporter and importer for Go export data.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExportData ¶
ExportData serializes the interface (exported package objects) of package pkg and returns the corresponding data. The export format is described elsewhere (TODO).
func ImportData ¶
ImportData imports a package from the serialized package data and returns the number of bytes consumed and a reference to the package. If data is obviously malformed, an error is returned but in general it is not recommended to call ImportData on untrusted data.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.