Esempio n. 1
0
func main() {
	root := "./data"
	filepath.Walk(root, util.BuildParsingVisitor(parseNative))

	log.Printf("Parsed %d files in %f seconds with Native implementation.\n", util.Counter, util.Time)
}
Esempio n. 2
0
func main() {
	root := "./data"
	filepath.Walk(root, util.BuildParsingVisitor(parseGMime))

	log.Printf("Parsed %d files in %f seconds with GMime binding.\n", util.Counter, util.Time)
}