Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Build ¶
Build translates the Go package in srcDir to C and compiles it into outFile. Uses CC (default "cc"), CFLAGS, and LDFLAGS environment variables.
func Run ¶
Run translates and compiles the Go package in srcDir, then executes it. Returns an *exec.ExitError if the program exits with a non-zero status.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.