Versioninfo
Importable package that parses version info from debug.ReadBuildInfo().
Install / Use
/learn @earthboundkid/VersioninfoREADME
versioninfo

Importable package that parses debug.ReadBuildInfo() for inclusion in your Go application. Requires Go 1.18+.
Examples
package main
import (
"fmt"
"github.com/earthboundkid/versioninfo/v2"
)
func main() {
fmt.Println("Version:", versioninfo.Version)
fmt.Println("Revision:", versioninfo.Revision)
fmt.Println("DirtyBuild:", versioninfo.DirtyBuild)
fmt.Println("LastCommit:", versioninfo.LastCommit)
}
You may use the concatenated information provided by versioninfo.Short():
package main
import (
"fmt"
"github.com/earthboundkid/versioninfo/v2"
)
func main() {
fmt.Println("ShortInfo:", versioninfo.Short())
}
Add the -v and -version flags:
package main
import (
"flag"
"fmt"
"github.com/earthboundkid/versioninfo/v2"
)
func main() {
versioninfo.AddFlag(nil)
flag.Parse()
fmt.Println("done")
}
Related Skills
apple-reminders
341.6kManage Apple Reminders via remindctl CLI (list, add, edit, complete, delete). Supports lists, date filters, and JSON/plain output.
gh-issues
341.6kFetch GitHub issues, spawn sub-agents to implement fixes and open PRs, then monitor and address PR review comments. Usage: /gh-issues [owner/repo] [--label bug] [--limit 5] [--milestone v1.0] [--assignee @me] [--fork user/repo] [--watch] [--interval 5] [--reviews-only] [--cron] [--dry-run] [--model glm-5] [--notify-channel -1002381931352]
healthcheck
341.6kHost security hardening and risk-tolerance configuration for OpenClaw deployments
node-connect
341.6kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
