Documentation
¶
Overview ¶
Package gobindings generates Go bindings for a GX package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWithImporter ¶ added in v0.4.0
NewWithImporter returns a new Go bindings generator given a way to import GX packages.
Types ¶
type DependenciesBuildCall ¶
type DependenciesBuildCall interface { // SourceImport generates the import when the GX source needs to be imported // from a Go module. SourceImport(*ir.Package) string // DependencyImport generates the import to insert in the package source code. DependencyImport(*ir.Package) string // StdlibDependencyImport returns the package path to a dependency on // the standard library package. StdlibDependencyImport(string) string }
DependenciesBuildCall generates the source code to get the GX package in GX intermediate representation (IR).
Source Files
¶
Click to show internal directories.
Click to hide internal directories.