code: func (p *Plugin) GetTemplate(name string) (*process.Template, error) {
  	if p.tReader == nil {
  		return nil, errors.Errorf("cannot read process template %s: reader is nil (no path was defined)", name)
  	}
  	templates, err := p.tReader.GetAllTemplates()
  	if err != nil {
  		return nil, err
  	}
  	for _, tmp := range templates {
  		if tmp.Name == name {
  			return tmp, nil
  		}
  	}
  	return nil, nil
  }
docs: // GetTemplate returns template with given name