Documentation
¶
Overview ¶
Goexports generates wrappers of package exported symbols
Output files are written in the current directory, and prefixed with the go version.
Usage:
goexports package...
Example:
goexports github.com/containous/yaegi/interp
The same goexport program is used for all target operating systems and architectures. The GOOS and GOARCH environment variables set the desired target.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenContent ¶
GenContent returns a byte slice of the generated content for the file, or an error. dest should be the destination package name, and `pkgName` should be the package name to parse under a full gopath.
Types ¶
type Method ¶
type Method struct {
Name, Param, Result, Arg, Ret string
}
Method store information for generating interface wrapper method
Click to show internal directories.
Click to hide internal directories.