logparser

package
v0.0.0-...-730125e Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2025 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package logparser parses build.golang.org dashboard logs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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.

Jump to

Keyboard shortcuts

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