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

manifest

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package manifest reads compiler requirements without loading program sources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Version

type Version struct {
	Query   string // Go module query; a minor version selects its latest patch.
	Minimum string // Full semantic version used to compare compiler requirements.
}

func CompilerVersion

func CompilerVersion(data []byte) (Version, error)

CompilerVersion ignores unrelated directives so startup dispatch can select a newer compiler before that compiler parses newer manifest syntax.

func ParseVersion

func ParseVersion(text string) (Version, error)

Jump to

Keyboard shortcuts

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