version

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2026 License: MIT Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package version is agent-vm's semantic version.

Index

Constants

This section is empty.

Variables

View Source
var Version = "0.3.0-dev"

Version is set at build time (-ldflags -X); integrators gate on it with `agent-vm version --min`.

Functions

func AtLeast

func AtLeast(have, want string) bool

AtLeast reports whether version have is want or later. The numbers before any "-" compare first, anything but digits in a component dropped, a missing component being 0 (1.2 is 1.2.0). With equal numbers, a version with a suffix after "-" is a prerelease and is older than the same without: 0.3.0-dev, as 0.3.0-dev.<commit> from a development build, does not satisfy 0.3.0. Two prereleases compare identifier by identifier, as semver does.

Types

This section is empty.

Jump to

Keyboard shortcuts

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