buildgolang.org/x/build/internal/logparser Index | Files

package logparser

import "golang.org/x/build/internal/logparser"

Package logparser parses build.golang.org dashboard logs.

Index

Types

type Fail

type Fail struct {
	Section string
	Pkg     string
	Test    string
	Mode    string
	Output  string
	Snippet string
}

A Fail is a single failure mentioned in a dashboard log. (There can be multiple failures in a single log.)

func Parse

func Parse(log string) []*Fail

Parse parses a build log, returning all the failures it finds. It always returns at least one failure.

Source Files

parse.go

Version
v0.0.0-20250421191922-3619c213cff3 (latest)
Published
Apr 21, 2025
Platform
linux/amd64
Imports
3 packages
Last checked
3 months ago

Tools for package owners.