Discover Packages
github.com/kazz187/taskguild
internal
version
package
Version:
v0.0.29
Opens a new window with list of versions in this module.
Published: Mar 23, 2026
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Commit returns the full git commit hash embedded in the binary.
It first checks the ldflags-set value, then falls back to
debug.ReadBuildInfo's vcs.revision, and finally returns "unknown".
Short returns the first 8 characters of the commit hash,
suitable for display in logs and protocol messages.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.