Work in progress

This commit is contained in:
Alex Yatskov 2015-03-31 21:06:45 +09:00
parent 66a8182942
commit cfa9601efe

10
main.go
View File

@ -62,6 +62,10 @@ func parse(filename string) (*config, error) {
return conf, nil
}
func (conf *config) prepare() {
}
func process(src, dst string) error {
return nil
}
@ -72,5 +76,11 @@ func main() {
log.Fatal(err)
}
conf.prepare()
if err := process("/mnt/storage/sync/Dropbox", "/mnt/storage/projects/blah"); err != nil {
log.Fatal(err)
}
log.Print(conf)
}