Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrIgnore error ErrIgnore = errors.New("ignore empty exported package") // ErrInvalidPkgPath error ErrInvalidPkgPath = errors.New("invalid package path") )
Functions ¶
func ExportPackage ¶
ExportPackage export types.Package to io.Writer
func GoPlusRoot ¶ added in v0.7.2
GoPlusRoot returns Go+ root path.
Types ¶
type Exporter ¶
type Exporter struct {
// contains filtered or unexported fields
}
Exporter represents a go package exporter.
func NewExporter ¶
NewExporter creates a go package exporter.
func (*Exporter) ExportConst ¶
ExportConst exports a go const.
func (*Exporter) ExportFunc ¶
ExportFunc exports a go function/method.
Click to show internal directories.
Click to hide internal directories.