code: func expandTemplate(tmpl string) (pkg string, err error) {
  	pkg, err = template.DefaultExpander().Expand(tmpl)
  	if err != nil {
  		err = commandLineError{err}
  	}
  	return
  }
docs: // TODO(vadimsh): Add some tests.