code: func NewRepository(funcs template.FuncMap) *Repository {
  	repo := Repository{
  		files:     make(map[string]string),
  		templates: make(map[string]*template.Template),
  		funcs:     funcs,
  	}
  
  	if repo.funcs == nil {
  		repo.funcs = make(template.FuncMap)
  	}
  
  	return &repo
  }
docs: // NewRepository creates a new template repository with the provided functions defined