Documentation ¶
Overview ¶
Package gobuild provides utilities for building programs and tests for the debugging session.
Index ¶
- func DefaultDebugBinaryPath(name string) string
- func GoBuild(debugname string, pkgs []string, buildflags string) error
- func GoBuildCombinedOutput(debugname string, pkgs []string, buildflags string) (string, []byte, error)
- func GoTestBuild(debugname string, pkgs []string, buildflags string) error
- func GoTestBuildCombinedOutput(debugname string, pkgs []string, buildflags string) (string, []byte, error)
- func Remove(path string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultDebugBinaryPath ¶
DefaultDebugBinaryPath returns an unused file path in the current directory named 'name' followed by a random string
func GoBuild ¶
GoBuild builds non-test files in 'pkgs' with the specified 'buildflags' and writes the output at 'debugname'.
func GoBuildCombinedOutput ¶
func GoBuildCombinedOutput(debugname string, pkgs []string, buildflags string) (string, []byte, error)
GoBuildCombinedOutput builds non-test files in 'pkgs' with the specified 'buildflags' and writes the output at 'debugname'.
func GoTestBuild ¶
GoTestBuild builds test files 'pkgs' with the specified 'buildflags' and writes the output at 'debugname'.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.