code: func (tpl *Template) RegisterPartialFiles(filePaths ...string) error {
  	if len(filePaths) == 0 {
  		return nil
  	}
  
  	for _, filePath := range filePaths {
  		name := fileBase(filePath)
  
  		if err := tpl.RegisterPartialFile(filePath, name); err != nil {
  			return err
  		}
  	}
  
  	return nil
  }
docs: // RegisterPartialFiles reads several files and registers them as partials, the filename base is used as the partial name.