package main import ( "log" ) func main() { if err := run(); err != nil { log.Fatal(err) } } func run() error { site, err := LoadSite("src") if err != nil { return err } if err := site.Manipulate(site.Directory); err != nil { return err } if err := site.Write("dst"); err != nil { return err } return nil }