(path string)
| 81 | } |
| 82 | |
| 83 | func whichLexer(path string) string { |
| 84 | if strings.HasSuffix(path, ".go") { |
| 85 | return "go" |
| 86 | } else if strings.HasSuffix(path, ".sh") { |
| 87 | return "console" |
| 88 | } |
| 89 | panic("No lexer for " + path) |
| 90 | } |
| 91 | |
| 92 | func debug(msg string) { |
| 93 | if os.Getenv("DEBUG") == "1" { |
no outgoing calls
no test coverage detected