version

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package version provides version information about HarmonyLite.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info struct {
	Version   string `json:"version"`    // Semantic version (e.g., v1.2.3)
	GitCommit string `json:"git_commit"` // Git commit hash
	GitTag    string `json:"git_tag"`    // Git tag if available
	BuildDate string `json:"build_date"` // Build timestamp
	GoVersion string `json:"go_version"` // Go version used for building
	Platform  string `json:"platform"`   // OS/Arch combination
}

Info contains version information

func Get

func Get() Info

Get returns the version information

func (Info) ShortString

func (i Info) ShortString() string

ShortString returns a short string representation of version info

func (Info) String

func (i Info) String() string

String returns a string representation of version info

Jump to

Keyboard shortcuts

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