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

buildversion

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package buildversion reports the version of the module a binary was built from, for use as an MCP server's advertised version.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func String

func String() string

String returns the main module's version as the go command recorded it, such as "v0.3.0" for a binary installed with go install ...@v0.3.0, or "(devel)" for a build from a local checkout.

Types

This section is empty.

Jump to

Keyboard shortcuts

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