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

version

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2026 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package version holds the sync82 release version.

Index

Constants

This section is empty.

Variables

View Source
var Current = "dev"

Current is the release version, set at build time with

-ldflags "-X github.com/oito2/mcp-sync82/internal/version.Current=vX.Y.Z"

A build without that flag leaves it "dev".

Functions

func Get

func Get() string

Get returns the running binary's version: Current when it was set at build time, otherwise the main module version embedded in the build info when it names a release (as recorded by "go install <module>@vX.Y.Z"), otherwise "dev". It never returns an empty string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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