aboutsummaryrefslogtreecommitdiff
path: root/pkg/version/version.go
blob: 5fdad9ce18a1fa7b0af1316f19a8e2571f1e6ee4 (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 = "0.5.2-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
}
1d0fe6f72d31f&follow=1'>Make edit helper function name consistent with other helpersSvend Sorensen1-1/+1 2014-05-07Factor out password completing-read functionSvend Sorensen1-4/+8 2014-05-07Add dash to Package-RequiresSvend Sorensen1-1/+1 2014-05-06Force sane sort order.Jason A. Donenfeld1-2/+2 2014-05-06generate: add --in-place optionJason A. Donenfeld4-9/+33