MCPcopy Create free account
hub / github.com/conforma/cli / RenderFromTemplatesWithMain

Function RenderFromTemplatesWithMain

internal/utils/templates.go:59–61  ·  view source on GitHub ↗
(input any, main string, efs embed.FS)

Source from the content-addressed store, hash-verified

57}
58
59func RenderFromTemplatesWithMain(input any, main string, efs embed.FS) ([]byte, error) {
60 return RenderFromTemplatesWithGlob(input, main, []string{defaultGlob}, efs)
61}
62
63func RenderFromTemplatesWithGlob(input any, main string, glob []string, efs embed.FS) ([]byte, error) {
64 t, err := SetupTemplateWithGlob(glob, efs)

Callers 2

generateTextReportFunction · 0.92
generateTextReportFunction · 0.92

Calls 1

Tested by

no test coverage detected