示例#1
0
文件: test.go 项目: partkyle/go-gmime
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)
}
示例#2
0
文件: test.go 项目: partkyle/go-gmime
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)
}