version

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package version exposes the gskill build version and source commit.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Commit

func Commit() string

Commit returns the resolved source commit: the injected value when present, otherwise the VCS revision from the binary's build info (suffixed "+dirty" when the working tree was modified), otherwise an empty string.

func String

func String() string

String returns the human-readable version line, e.g. "gskill dev".

func Version

func Version() string

Version returns the resolved build version: the injected value when present, otherwise the module version embedded in the binary's build info, otherwise "dev".

Types

This section is empty.

Jump to

Keyboard shortcuts

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