aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2020-04-19 22:41:41 +0200
committerRené 'Necoro' Neumann <necoro@necoro.eu>2020-04-19 22:41:41 +0200
commited1e06e6d81645fb5fedd89018c30f95b7598f84 (patch)
tree8ea309cee53a96cd01e1c7add435dd3631a2e9e2 /main.go
parent76f0beb3db5ef7b3ecac6354bc29a76fef27829a (diff)
downloadfeed2imap-go-ed1e06e6d81645fb5fedd89018c30f95b7598f84.tar.gz
feed2imap-go-ed1e06e6d81645fb5fedd89018c30f95b7598f84.tar.bz2
feed2imap-go-ed1e06e6d81645fb5fedd89018c30f95b7598f84.zip
Rename package 'parse' to 'feed'
Diffstat (limited to '')
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
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 {