diff options
| author | Paul Buetow <paul@buetow.org> | 2025-02-13 10:08:56 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-02-13 10:08:56 +0200 |
| commit | cd57f5a015ae943e57fafd84136d58799de040a3 (patch) | |
| tree | 0aa15358aece9bbc520e785c4182f0a89a63db0f /internal/version.go | |
| parent | 37be3c5b60ad39f5b34be91a45ee7f97a7c41b9d (diff) | |
increase max link len
Diffstat (limited to 'internal/version.go')
| -rw-r--r-- | internal/version.go | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/internal/version.go b/internal/version.go index 7bc24e9..f85ab9f 100644 --- a/internal/version.go +++ b/internal/version.go @@ -1,6 +1,8 @@ package internal -import "codeberg.org/snonux/gos/internal/table" +import ( + "codeberg.org/snonux/gos/internal/table" +) const versionStr = "v0.0.4" @@ -9,4 +11,9 @@ func printVersion() { Header("Gos version", "Author", "URL"). Row(versionStr, "Paul Buetow", "https://codeberg.org/snonux/gos"). MustRender() + + // TODO: Make this work (based on git tag?) From Go 1.24! + // info, _ := debug.ReadBuildInfo() + // fmt.Println("Go version:", info.GoVersion) + // fmt.Println("App version:", info.Main.Version) } |
