version

package
v3.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package version holds the version of the CLI. The version is also the tag of the server image that the CLI runs.

"go install github.com/monorithm/mai/cli/v3/cmd/mai@v3.0.0" records the module version v3.0.0 in the build information, and this package reads it from there. A build with -ldflags "-X .../internal/version.Version=X.Y.Z" sets the version directly. Each other build (a local build, or a pseudo-version) keeps the development version.

Index

Constants

View Source
const Dev = "3.3.1-dev"

Dev is the version of a build that has no release version.

Variables

View Source
var Version = Dev

Version is the version of the CLI and of the image that it runs.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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