aboutsummaryrefslogtreecommitdiff
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
parent76f0beb3db5ef7b3ecac6354bc29a76fef27829a (diff)
downloadfeed2imap-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.go4
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"
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 {