From 40f7f691d4143c7be4dc72babb2b5288cbfef45c Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Sun, 3 May 2020 15:53:53 +0200 Subject: Explicit version info --- pkg/config/config.go | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'pkg/config') diff --git a/pkg/config/config.go b/pkg/config/config.go index eec2751..8d97a56 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -5,7 +5,6 @@ import ( "os" "os/user" "runtime" - "runtime/debug" "strings" "github.com/Necoro/feed2imap-go/pkg/log" @@ -95,15 +94,6 @@ func (opt GlobalOptions) WithPartHtml() bool { return util.StrContains(opt.Parts, "html") } -// Current feed2imap version -func Version() string { - bi, ok := debug.ReadBuildInfo() - if !ok { - return "(unknown)" - } - return bi.Main.Version -} - // Load configuration from file func Load(path string) (*Config, error) { log.Printf("Reading configuration file '%s'", path) -- cgit v1.2.3-54-g00ecf