version

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package version provides build and version information for omniagent.

Index

Constants

This section is empty.

Variables

View Source
var (
	Version   = "0.4.0"
	Commit    = "unknown"
	BuildDate = "unknown"
)

Build information, set via ldflags.

Functions

This section is empty.

Types

type Info

type Info struct {
	Version   string `json:"version"`
	Commit    string `json:"commit"`
	BuildDate string `json:"build_date"`
	GoVersion string `json:"go_version"`
	Platform  string `json:"platform"`
}

Info contains version information.

func Get

func Get() Info

Get returns the current version information.

func (Info) String

func (i Info) String() string

String returns a formatted version string.

Jump to

Keyboard shortcuts

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