{"modulePath":"github.com/ambientkit/plugin","version":"v0.0.0-20220330114152-ecdd364f93e8","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package templatebuffer\n\nPackage templatebuffer parses and executes templates since execute can do partial writes on error.\n\n## Functions\n\n```go\nfunc ParseExistingTemplateWithResponse(w http.ResponseWriter, r *http.Request, tmpl *template.Template, status int, data map[string]interface{}) error\n```\nParseExistingTemplateWithResponse will parse a template and return the string and an error.\n\n```go\nfunc ParseTemplate(body string, fm template.FuncMap, data map[string]interface{}) (string, error)\n```\nParseTemplate will parse a template and return the string and an error.\n\n```go\nfunc ParseTemplateFS(assets fs.FS, templatePath string, fm template.FuncMap, data map[string]interface{}) (string, error)\n```\nParseTemplateFS will parse a template and return the string and an error.\n\n","path":"github.com/ambientkit/plugin/pkg/templatebuffer","name":"templatebuffer","synopsis":"Package templatebuffer parses and executes templates since execute can do partial writes on error.","isRedistributable":true}
