()
| 7 | ) |
| 8 | |
| 9 | func main() { |
| 10 | file := model.NewFile("./test_file.txt", "") |
| 11 | lineFunc := func(line string) { fmt.Println(line) } |
| 12 | fmt.Println("read file by line:") |
| 13 | file.ReadLine(lineFunc) |
| 14 | fmt.Println("\nread file by line, no comment c type:") |
| 15 | file.ReadLineNoComment(model.CTypeComment, lineFunc) |
| 16 | fmt.Println("\nread file by line, no comment python type:") |
| 17 | file.ReadLineNoComment(model.PythonTypeComment, lineFunc) |
| 18 | } |
nothing calls this directly
no test coverage detected