code: func (t *Repository) LoadDir(templatePath string) error {
  	err := filepath.Walk(templatePath, func(path string, info os.FileInfo, err error) error {
  
  		if strings.HasSuffix(path, ".gotmpl") {
  			if assetName, e := filepath.Rel(templatePath, path); e == nil {
  				if data, e := ioutil.ReadFile(path); e == nil {
  					if ee := t.AddFile(assetName, string(data)); ee != nil {
  						// Fatality is decided by caller
  						// log.Fatal(ee)
  						return fmt.Errorf("Could not add template: %v", ee)
  					}
  				}
  				// Non-readable files are skipped
  			}
  		}
  		if err != nil {
  			return err
  		}
  		// Non-template files are skipped
  		return nil
  	})
  	if err != nil {
  		return fmt.Errorf("Could not complete template processing in directory \"%s\": %v", templatePath, err)
  	}
  	return nil
  }
docs: // LoadDir will walk the specified path and add each .gotmpl file it finds to the repository