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

preflight

package
v0.1.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Format

func Format(w io.Writer, results []Result)

Types

type Check

type Check struct {
	Name string
	Run  func(context.Context) error
}

type Result

type Result struct {
	Name   string
	OK     bool
	Detail string
}

func Run

func Run(ctx context.Context, checks []Check) ([]Result, bool)

Jump to

Keyboard shortcuts

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