| 13 | var _ Printer = &GoTemplatePrinter{} |
| 14 | |
| 15 | type GoTemplatePrinter struct { |
| 16 | rawTemplate string |
| 17 | template *template.Template |
| 18 | } |
| 19 | |
| 20 | func NewGoTemplatePrinter(tmpl []byte) (*GoTemplatePrinter, error) { |
| 21 | t, err := template.New("output").Parse(string(tmpl)) |
nothing calls this directly
no outgoing calls
no test coverage detected