Use NastroConvogliatore in main.

This commit is contained in:
Blallo 2019-05-16 21:03:35 +02:00
parent 1e7fa8a26e
commit 4dc8e924e0
No known key found for this signature in database
GPG key ID: 0CBE577C9B72DC3F

View file

@ -13,6 +13,7 @@ func main() {
flag.BoolVar(&debug, "debug", false, "Toggle debug messages.") flag.BoolVar(&debug, "debug", false, "Toggle debug messages.")
flag.Parse() flag.Parse()
sizer.Debug = debug sizer.Debug = debug
rootINode := sizer.NewINode(sizer.FileTypes["dir"], 0, path) // rootINode := sizer.NewINode(sizer.FileTypes["dir"], 0, path)
rootINode.Sizer() // rootINode.Sizer()
sizer.NastroConvogliatore(path)
} }