aboutsummaryrefslogtreecommitdiff
path: root/pkg/version/version.go
blob: 9919650fa09b203f50da57a8f17817c4ca037e0b (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.4.1-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
}
3 17:57:46 +0200'>2012-09-03Move examples into manpage.Jason A. Donenfeld4-93/+224 2012-09-03Make into a real project.Jason A. Donenfeld8-5/+173 2012-09-03Support pass gitJason A. Donenfeld2-1/+15 2012-08-31Add remove synonyms.Jason A. Donenfeld1-2/+2 2012-08-31Use basename in usage.Jason A. Donenfeld1-2/+1 2012-08-19now using gpg_id as a varMatthew Ramirez1-2/+2 2012-08-07Forty five seconds.Jason A. Donenfeld1-1/+1 2012-08-06Deal with klipper and new lines.Jason A. Donenfeld1-3/+19 2012-08-06Update examples.Jason A. Donenfeld1-7/+7 2012-08-06Update readme.Jason A. Donenfeld1-11/+13 2012-08-06Be slicker and more like git.Jason A. Donenfeld1-114/+173