version

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package version exposes build-stamped version information.

Index

Constants

This section is empty.

Variables

View Source
var (
	Version = "dev"
	Commit  = "none"
	Date    = "unknown"
)

Overridable at build time with -ldflags "-X github.com/diagridio/dev-dashboard/pkg/version.Version=..."

Functions

This section is empty.

Types

type Info

type Info struct {
	Version string `json:"version"`
	Commit  string `json:"commit"`
	Date    string `json:"date"`
}

Info is the version payload returned by the API.

func Get

func Get() Info

Get returns the current build's version info.

Jump to

Keyboard shortcuts

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