Work in progress
This commit is contained in:
parent
66a8182942
commit
cfa9601efe
10
main.go
10
main.go
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user