1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
package main import "log" func main() { crt, err := scanFiles(*baseDir) if err != nil { log.Fatal(err) } for _, c := range crt { log.Printf("%+v\n", c) } if len(*emails) > 0 && len(*domains) > 0 { log.Println(*emails) log.Println(*domains) } }