1 2 3 4 5 6 7 8 9 10 11
package version // the way via debug.BuildInfo does not work -- it'll always return "devel" // thus the oldschool way: hardcoded const version = "0.1.0" // Current feed2imap version func Version() string { return version }