From ed1e06e6d81645fb5fedd89018c30f95b7598f84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Sun, 19 Apr 2020 22:41:41 +0200 Subject: Rename package 'parse' to 'feed' --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main.go') diff --git a/main.go b/main.go index f90cc50..373a491 100644 --- a/main.go +++ b/main.go @@ -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 { -- cgit v1.2.3