add tests for main method

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

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 {