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.
Click to show internal directories.
Click to hide internal directories.