code: func CompileResult(name string, rslt *result, opts *Options) (*template.Template, error) {
  	// Initialize the options.
  	opts = InitializeOptions(opts)
  
  	// Create a template.
  	t := template.New(name)
  
  	return CompileResultWithTemplate(t, rslt, opts)
  }
docs: // CompileResult compiles the parsed result to the template.Template.