Help us shape the future of Go! Take the 2026 Go Developer Survey

baseline

package
v1.4.29 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package baseline combines an OSS baseline surface with optional extensions.

Index

Constants

View Source
const MaxRecords = 50

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

Manager appends authorized extension records without replacing the OSS surface.

func NewManager

func NewManager(base Surface, extensions ...Surface) *Manager

NewManager constructs a provider composite. Nil surfaces are valid.

func (*Manager) DescribeBaselines

func (manager *Manager) DescribeBaselines(ctx context.Context, request core.BaselineRequest) (core.BaselineResult, error)

DescribeBaselines returns a deterministic bounded merge. Extension failures are represented as coverage and never remove records returned by the base.

type Surface

type Surface struct {
	Family     string
	SourceType string
	Provider   core.BaselineProvider
}

Surface identifies one provider without exposing provider configuration.

Jump to

Keyboard shortcuts

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