From cb0396c40f089b18e112733a37cadc742bb35eb2 Mon Sep 17 00:00:00 2001 From: Sergey Cherepanov Date: Mon, 12 Jun 2023 16:01:17 +0200 Subject: [PATCH] comments --- app/app.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/app.go b/app/app.go index c0230e52..ea374649 100644 --- a/app/app.go +++ b/app/app.go @@ -79,10 +79,12 @@ func (app *App) Version() string { return GitSummary } +// SetVersionName sets the custom application version func (app *App) SetVersionName(v string) { app.versionName = v } +// VersionName returns a string with the settled app version or auto-generated version if it didn't set func (app *App) VersionName() string { if app.versionName != "" { return app.versionName