Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetermineProjectPackagePath ¶
DetermineProjectPackagePath is used to determine target project path for the following execution of a Go builder. Starts from a current working directory, climbs up to a parent folder with the target name and returns its path as a result.
Types ¶
type GoBuider ¶
type GoBuider struct { // GoProjectPath is a path to the target Go-project GoProjectPath string // BuildFileName stores executable file name BuildFileName string // OutputFolderPath points to output executable parent folder OutputFolderPath string // contains filtered or unexported fields }
GoBuider helps to build a target Go project
func (*GoBuider) Build ¶
func (builder *GoBuider) Build()
Build compiles target project and writes output to the target output folder
func (*GoBuider) Dispose ¶
func (builder *GoBuider) Dispose()
Dispose required to implement integration.LeakyAsset
func (*GoBuider) Executable ¶
Executable returns full path to an executable target file
Click to show internal directories.
Click to hide internal directories.