Documentation
¶
Overview ¶
Package compile provides an utility function to compile files in preparation tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct { // FileType overwrites the file type of the file to compile. FileType file.Type // OutName overwrites the name of the output file. OutName string // Format calls gofmt on the output file. Format bool // Package sets the name of the package in which the generated function // will be placed. // // If not set, the name of the directory in which the calling file is // located, will be used. Package string }
Click to show internal directories.
Click to hide internal directories.