diff options
author | René 'Necoro' Neumann <necoro@necoro.eu> | 2020-04-19 22:41:41 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.eu> | 2020-04-19 22:41:41 +0200 |
commit | ed1e06e6d81645fb5fedd89018c30f95b7598f84 (patch) | |
tree | 8ea309cee53a96cd01e1c7add435dd3631a2e9e2 | |
parent | 76f0beb3db5ef7b3ecac6354bc29a76fef27829a (diff) | |
download | feed2imap-go-ed1e06e6d81645fb5fedd89018c30f95b7598f84.tar.gz feed2imap-go-ed1e06e6d81645fb5fedd89018c30f95b7598f84.tar.bz2 feed2imap-go-ed1e06e6d81645fb5fedd89018c30f95b7598f84.zip |
Rename package 'parse' to 'feed'
-rw-r--r-- | internal/feed/parse.go (renamed from internal/parse/parse.go) | 2 | ||||
-rw-r--r-- | main.go | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/internal/parse/parse.go b/internal/feed/parse.go index ddf1f0f..53ceb00 100644 --- a/internal/parse/parse.go +++ b/internal/feed/parse.go @@ -1,4 +1,4 @@ -package parse +package feed import ( ctxt "context" @@ -7,9 +7,9 @@ import ( "os" "github.com/Necoro/feed2imap-go/internal/config" + "github.com/Necoro/feed2imap-go/internal/feed" "github.com/Necoro/feed2imap-go/internal/imap" "github.com/Necoro/feed2imap-go/internal/log" - "github.com/Necoro/feed2imap-go/internal/parse" ) var cfgFile = flag.String("f", "config.yml", "configuration file") @@ -27,7 +27,7 @@ func run() error { return err } - parse.Parse(cfg.Feeds) + feed.Parse(cfg.Feeds) imapUrl, err := url.Parse(cfg.GlobalConfig["target"].(string)) if err != nil { |