Documentation
¶
Overview ¶
Package pkginfo extracts information from a gx package folder. This includes package path, dependencies, etc.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PkgInfo ¶
type PkgInfo struct {
// contains filtered or unexported fields
}
PkgInfo constructs information from a GX package path present in the Go module.
func (PkgInfo) Dependencies ¶
Dependencies returns the list of dependencies of the GX package.
func (PkgInfo) GoPackageName ¶
GoPackageName returns the Go package name.
func (PkgInfo) SourceFiles ¶
SourceFiles returns the list of all the GX source files.
func (PkgInfo) TargetFileName ¶
TargetFileName returns the file name to generate for the Go module.
func (PkgInfo) TargetFolder ¶
TargetFolder returns the folder where to generate the Go source file packaging the GX source files.
Click to show internal directories.
Click to hide internal directories.