2 files changed, 3 insertions(+), 2 deletions(-)
M main.go
R config.go => vdirsyncer/config.go
M main.go => main.go +2 -1
@@ 12,6 12,7 @@ import (
"time"
"github.com/fsnotify/fsnotify"
+ vdirsyncer "git.sr.ht/~whynothugo/autovdirsyncer/vdirsyncer"
)
var (
@@ 138,7 139,7 @@ func main() {
defer watcher.Close()
// Get the paths we'll monitor.
- storagePaths, err := GetVdirsyncerStoragePaths()
+ storagePaths, err := vdirsyncer.GetVdirsyncerStoragePaths()
if err != nil {
fmt.Println(err)
os.Exit(2)
R config.go => vdirsyncer/config.go +1 -1
@@ 1,4 1,4 @@
-package main
+package vdirsyncer
import (
"encoding/json"