(comment *parsedComment, line string)
| 73 | } |
| 74 | |
| 75 | func (p *commentParser) parseID(comment *parsedComment, line string) { |
| 76 | p.t.Helper() |
| 77 | |
| 78 | tkns := strings.Split(line, ": ") |
| 79 | require.Len(p.t, tkns, 2) |
| 80 | require.Equal(p.t, "Id", tkns[0]) |
| 81 | |
| 82 | comment.id = tkns[1] |
| 83 | p.fn = p.parseDate |
| 84 | } |
| 85 | |
| 86 | func (p *commentParser) parseDate(comment *parsedComment, line string) { |
| 87 | p.t.Helper() |