add tests for main method

This commit is contained in:
Dominic Breuker committed 2018-03-16 09:33:22 +01:00
1 parent 3eed2c29aa
commit 72bbfac3e0
4 files changed
+125 -14

No files matched your search

+10 -5
View File
@@ -1,12 +1,17 @@
package config
import "fmt"
import (
"fmt"
"time"
)
type Config struct {
RDirs []string
Dirs []string
LogFS bool
LogPS bool
RDirs []string
Dirs []string
LogFS bool
LogPS bool
DrainFor time.Duration
TriggerEvery time.Duration
}
func (c Config) String() string {