ReadLineNoComment 按行读取文件内容 忽略注释
(t *CommentType, do func(line string))
| 66 | |
| 67 | // ReadLineNoComment 按行读取文件内容 忽略注释 |
| 68 | func (file File) ReadLineNoComment(t *CommentType, do func(line string)) { |
| 69 | file.OpenReader(func(reader io.Reader) { |
| 70 | ReadLineNoComment(reader, t, do) |
| 71 | }) |
| 72 | } |
| 73 | |
| 74 | // 注释类型 |
| 75 | type CommentType struct { |
no test coverage detected