Skip to content

Commit c2f4824

Browse files
chore(backend): fix lint issues (#46)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent dccffbd commit c2f4824

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

pkg/version/version.go

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ import (
44
"time"
55
)
66

7-
var version = "unknown"
8-
var commit = "unknown"
9-
var date = "unknown"
7+
var (
8+
version = "unknown"
9+
commit = "unknown"
10+
date = "unknown"
11+
)
1012

1113
func GetVersion() string {
1214
return version
@@ -22,6 +24,7 @@ func GetDate() string {
2224

2325
func GetDateTime() time.Time {
2426
t, _ := time.Parse(time.RFC3339, date)
27+
2528
return t
2629
}
2730

0 commit comments

Comments
 (0)