first commit

This commit is contained in:
gari 2021-11-30 14:58:33 +01:00
commit 32d1cf26d6
7 changed files with 174 additions and 0 deletions

19
store/store.go Normal file
View file

@ -0,0 +1,19 @@
package store
import (
"github.com/mehdioa/nlog"
"time"
)
type Store struct {
TargetPath []string
SourcePath []string
GracePeriod time.Duration
Logger *nlog.Logger
}
func NewStore(Logger *nlog.Logger) *Store{
store := &Store{Logger: Logger}
return store
}