gobuild

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package gobuild wraps `go build ./...`. Whole-run gate: build errors that live in an untouched file may still be caused by your change to a shared package, so findings are never suppressed.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseBuildErrors

func ParseBuildErrors(out []byte) []domain.Finding

ParseBuildErrors reads `go build` stderr and returns one finding per compile error. Package-header lines (`# pkg`) and progress noise are ignored.

Types

type Gate

type Gate struct{}

func (Gate) LineScoped

func (Gate) LineScoped() bool

func (Gate) Name

func (Gate) Name() string

func (Gate) Run

func (Gate) Run(ctx context.Context, root string) (domain.GateResult, error)

Jump to

Keyboard shortcuts

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