Documentation
¶
Overview ¶
Package goembed generates a Go source to embed GX source file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PackageInfo ¶
type PackageInfo interface {
// GoPackageName is the name of the Go package packaging GX files together.
GoPackageName() string
// GXPackageName is the name of the GX package.
GXPackageName() string
// GXPackagePath is the path to the GX package.
GXPackagePath() string
// GXPackage is the path to the GX package.
GXPackage() string
// Embed is the list of GX files constituting the GX package.
Embed() []string
// Dependencies is the list of dependencies in the package.
Dependencies() []string
// TargetFile returns the file in which the data needs to be written.
TargetFile() string
}
PackageInfo defines all the values to fill in the template.
Click to show internal directories.
Click to hide internal directories.