title: How to ask "Yes" or "No" using Golang
body: <p>I'm using <code>promptUi</code> to create a select list. Now I want to prompt a "Yes" or "No" question after a selection: </p>
  
  <pre><code>bold := color.New(color.Bold).SprintFunc()
  cellTemplate := &amp;promptui.SelectTemplates{
      Label:    "{{ . }}",
      Active:   "\U000027A4 {{ .| bold }}",
      Inactive: "  {{ . | faint }}",
      Help:     util.Faint("[Use arrow keys]"),
  }
  
  cellPrompt := promptui.Select{
      Label:     util.YellowBold("?") + " Select an environment to be installed",
      Items:     getCreateEnvironmentList(),
      Templates: cellTemplate,
  }
  _, value, err := cellPrompt.Run()
  if err != nil {
      return fmt.Errorf("Failed to select: %v", err)
  }
  
  switch value {
  case constants.CELLERY_CREATE_LOCAL:
      {
          // Prompt yes or no
      }
  case constants.CELLERY_CREATE_GCP:
      {
          // Prompt yes or no
      }
  default:
      {
          Back()
      }
  }
  </code></pre>
  
  <p>Is there a similar way to prompt that in an elegant way?</p>