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 FileModifiedAfter ¶ added in v0.3.3
FileModifiedAfter returns true if the file both exists and was modified after the given time..
Types ¶
type Compiler ¶
type Compiler struct {
// contains filtered or unexported fields
}
Compiler creates Go plugin object files.
func NewCompiler ¶
NewCompiler returns a new compiler instance.
func (*Compiler) Cleanup ¶ added in v0.3.3
func (b *Compiler) Cleanup()
Cleanup provides a hook to delete the .so file. Ignore errors.
func (*Compiler) Compile ¶
Compile changes its working directory to ${pluginRoot}/${g}/${v}/$lower(${k} and places object code next to source code.
Click to show internal directories.
Click to hide internal directories.