gobuild

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2026 License: Apache-2.0 Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package gobuild builds a command of this module for a test that drives it as a process, so the coverage profile still credits what the process ran.

Index

Constants

View Source
const DirEnv = "OPENSYSML_GOCOVERDIR"

DirEnv names the directory instrumented binaries write their counters to. `make coverage` sets it and folds the counters into coverage.txt.

Variables

This section is empty.

Functions

func Args

func Args(out string, extra ...string) []string

Args returns the `go build` arguments that write the package in the working directory to out; under `make coverage` the binary is instrumented and its counters collected.

func Dir

func Dir() string

Dir returns the counter directory of the coverage run, or "" outside one.

Types

This section is empty.

Jump to

Keyboard shortcuts

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