gobuild

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2021 License: MIT Imports: 5 Imported by: 0

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 GoTestBuild

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

GoBuild 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