version

package
v1.0.1 Latest Latest
Warning

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

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

Documentation

Overview

Package version exposes the build-time version string. Set with -ldflags "-X github.com/mmedum/google-docs-mcp/internal/version.Version=v1.2.3".

Index

Constants

This section is empty.

Variables

View Source
var Version = "dev"

Version is the semantic version of the binary. Releases set it through ldflags; a local build leaves it "dev".

Functions

func Info

func Info() string

Info returns a one-line description suitable for --version output.

func String added in v0.6.2

func String() string

String is the version to report. `go install module@v1.2.3` applies no ldflags, so a binary installed the way the README suggests would call itself "dev" forever; Go records the module version it was built from, which is the honest answer in that case.

Types

This section is empty.

Jump to

Keyboard shortcuts

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