Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeterminePluginSrcRoot ¶ added in v0.2.0
func DeterminePluginSrcRoot(fSys filesys.FileSystem) (string, error)
DeterminePluginSrcRoot guesses where the user has her ${g}/${v}/$lower(${k})/${k}.go files.
func FileExists ¶
func RecentFileExists ¶
True if file less than 3 minutes old, i.e. not accidentally left over from some earlier build.
Types ¶
type Compiler ¶
type Compiler struct {
// contains filtered or unexported fields
}
Compiler creates Go plugin object files.
Source code is read from
${srcRoot}/${g}/${v}/${k}.go
Object code is written to
${objRoot}/${g}/${v}/${k}.so
func NewCompiler ¶
NewCompiler returns a new compiler instance.
func (*Compiler) Compile ¶
Compile reads ${srcRoot}/${g}/${v}/${k}.go
and writes ${objRoot}/${g}/${v}/${k}.so
Click to show internal directories.
Click to hide internal directories.