version

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2026 License: Apache-2.0 Imports: 3 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 exposes the prism build version. Single source of truth — consumed by the CLI, the MCP server, and the HTTP health endpoint.

Index

Constants

View Source
const GroveModule = "github.com/provasign/grove"

GroveModule is the Grove module path.

Variables

View Source
var Version = "dev"

Version is overridden via -ldflags at build time for local dev builds.

Functions

func LocalGroveAllowed

func LocalGroveAllowed() bool

LocalGroveAllowed reports whether PRISM_ALLOW_LOCAL_GROVE=1 permits a replaced Grove (development against a sibling checkout).

Types

type Grove

type Grove struct {
	Version  string // the module version linked (or the pinned one, when replaced)
	Replaced bool   // a replace directive or go.work points it elsewhere
	Path     string // where it was replaced to, when Replaced
}

Grove describes the Grove engine linked into this binary.

func LinkedGrove

func LinkedGrove() (Grove, bool)

LinkedGrove reads the Grove module from the binary's build info. ok is false when there is no build info (a test binary may lack it).

func (Grove) String

func (g Grove) String() string

String is "v0.63.27" or "v0.63.27 (replaced by ../grove)".

Jump to

Keyboard shortcuts

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