Skip to content

Instantly share code, notes, and snippets.

@luizbranco luizbranco/main.go
Last active Nov 23, 2017

Embed
What would you like to do?
promptui demo step 5
list := promptui.Select{
Label: "Recipe",
Items: res.Results,
}
idx, _, err := list.Run()
if err != nil {
fmt.Println(err)
os.Exit(1)
}
fmt.Println(res.Results[idx].Href)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.