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

module

package
v0.129.1 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrBuildInfoUnavailable = errors.New("build info unavailable")
	ErrNotFound             = errors.New("module not found in build info")
)

Functions

func GetVersion

func GetVersion(module string) (string, error)

GetVersion retrieves the version of a specified module from the build info.

Types

This section is empty.

Jump to

Keyboard shortcuts

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