()
| 83 | } |
| 84 | |
| 85 | func (c *Context) parseFormat() (*template.Template, error) { |
| 86 | tmpl, err := templates.Parse(c.Format.templateString()) |
| 87 | if err != nil { |
| 88 | return nil, fmt.Errorf("template parsing error: %w", err) |
| 89 | } |
| 90 | return tmpl, nil |
| 91 | } |
| 92 | |
| 93 | func (c *Context) postFormat(tmpl *template.Template, subContext SubContext) { |
| 94 | out := c.Output |
no test coverage detected