diff options
Diffstat (limited to '')
-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 { |