aboutsummaryrefslogtreecommitdiff
path: root/pkg/config
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2020-05-03 15:53:53 +0200
committerRené 'Necoro' Neumann <necoro@necoro.eu>2020-05-03 15:53:53 +0200
commit40f7f691d4143c7be4dc72babb2b5288cbfef45c (patch)
tree34bd8c439035a55336e4a5b06145033d282888e7 /pkg/config
parent416be8872c0066a84a3e03622bb3dbb7c5544eea (diff)
downloadfeed2imap-go-40f7f691d4143c7be4dc72babb2b5288cbfef45c.tar.gz
feed2imap-go-40f7f691d4143c7be4dc72babb2b5288cbfef45c.tar.bz2
feed2imap-go-40f7f691d4143c7be4dc72babb2b5288cbfef45c.zip
Explicit version info
Diffstat (limited to 'pkg/config')
-rw-r--r--pkg/config/config.go10
1 files changed, 0 insertions, 10 deletions
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)
+88 2020-04-19Started IMAP connectionRené 'Necoro' Neumann4-0/+152 2020-04-19Use our own logger for debug for convenience sakeRené 'Necoro' Neumann1-2/+3 2020-04-19Fix debug logging m(René 'Necoro' Neumann1-2/+2 2020-04-19Rename util.go to log.go. Add verbose modeRené 'Necoro' Neumann4-24/+54 2020-04-19Clean go.modRené 'Necoro' Neumann2-3/+0 2020-04-19Do not print the parsedCfg anymoreRené 'Necoro' Neumann1-1/+1 2020-04-19Increase go-version to 1.14René 'Necoro' Neumann1-2/+2 2020-04-19CI: go vetRené 'Necoro' Neumann1-0/+3 2020-04-19Fetching and parsing the feedsRené 'Necoro' Neumann5-4/+113 2020-04-19Ignore all config*.ymlRené 'Necoro' Neumann1-1/+1