aboutsummaryrefslogtreecommitdiff
path: root/pkg/version/version.go
blob: ddf6fdea038a8376a0720193fc05b6834b3a0a46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package version

// this is set by the linker during build
var (
	version = "1.0.0-post"
	commit  = ""
)

// Version returns the current feed2imap-go version
func Version() string {
	return version
}

// FullVersion returns the version including the commit hash
func FullVersion() string {
	return "Version " + version + " Commit: " + commit
}