aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2021-02-21 14:18:14 +0100
committerRené 'Necoro' Neumann <necoro@necoro.eu>2021-02-21 14:18:14 +0100
commit75278be9b54e96d69668214de968a4517f4ab6e6 (patch)
tree245d24219defcfab217bfbddc2c7fc79f2a3a9a2 /main.go
parentce42a79ef59d2cad6a3d1cee628d86b4a76517ae (diff)
downloadfeed2imap-go-75278be9b54e96d69668214de968a4517f4ab6e6.tar.gz
feed2imap-go-75278be9b54e96d69668214de968a4517f4ab6e6.tar.bz2
feed2imap-go-75278be9b54e96d69668214de968a4517f4ab6e6.zip
Slight restructuring
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/main.go b/main.go
index 99f104b..abc80fa 100644
--- a/main.go
+++ b/main.go
@@ -81,10 +81,6 @@ func run() error {
return err
}
- if err = cfg.Validate(); err != nil {
- return fmt.Errorf("Configuration invalid: %w", err)
- }
-
state, err := feed.NewState(cfg)
if err != nil {
return err