1package model 2 3// TODO shouldn't this rather be TemplateLoader? 4 5// WorkflowLoader is a loader interface required for workflow initialization. 6type WorkflowLoader interface { 7 // GetTemplatePathsByTags returns a list of template paths based on the provided tags from the templates directory 8 GetTemplatePathsByTags(tags []string) []string 9 10 // GetTemplatePaths takes a list of templates and returns paths for them 11 GetTemplatePaths(templatesList []string, noValidate bool) []string 12} 13 14