gobuild

package
v1.7.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2021 License: MIT Imports: 8 Imported by: 5

Documentation

Overview

Package gobuild provides utilities for building programs and tests for the debugging session.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GoBuild

func GoBuild(debugname string, pkgs []string, buildflags string) error

GoBuild builds non-test files in 'pkgs' with the specified 'buildflags' and writes the output at 'debugname'.

func GoBuildCombinedOutput added in v1.6.1

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

func GoTestBuild(debugname string, pkgs []string, buildflags string) error

GoTestBuild builds test files 'pkgs' with the specified 'buildflags' and writes the output at 'debugname'.

func GoTestBuildCombinedOutput added in v1.6.1

func GoTestBuildCombinedOutput(debugname string, pkgs []string, buildflags string) (string, []byte, error)

GoTestBuildCombinedOutput builds test files 'pkgs' with the specified 'buildflags' and writes the output at 'debugname'.

func Remove

func Remove(path string)

Remove the file at path and issue a warning to stderr if this fails. This can be used to remove the temporary binary generated for the session.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL