Go-MultipleChoice
If you're building a CLI application in GO and require the user to make a selection out of given options, you can use this package.
📦
Install import (
"github.com/thewolfnl/go-multiplechoice"
)
🔘
Usage // Single selection
selection := MultipleChoice.Selection("Select one: ", []string{"option1", "option2", "option3"}])
// Multi selection
selections := MultipleChoice.MultiSelection("Select one: ", []string{"option1", "option2", "option3"}])
💭
Suggestions Please create an issue if you have a suggestion.