8 "github.com/zyedidia/micro/cmd/micro/highlight"
12 files, _ := ioutil.ReadDir(".")
15 for _, f := range files {
16 if strings.HasSuffix(f.Name(), ".yaml") {
17 input, _ := ioutil.ReadFile(f.Name())
18 //fmt.Println("Checking file -> ", f.Name())
19 file, err := highlight.ParseFile(input)
22 fmt.Printf("Could not parse file -> %s:\n", f.Name())
26 _, err1 := highlight.ParseDef(file, nil)
29 fmt.Printf("Could not parse input file using highlight.ParseDef(%s):\n", f.Name())
36 fmt.Println("No issues found!")