Go · Golang

Create a Boolean Yes or No prompt in Go


In this post, I will create a simple function that will allow you to ask the user a question, receive a valid response, and return it as a Boolean type. And if needed, the user will be able to tap Ctrl+C at any time to exit the program. Also importantly, despite using the operating system… Continue reading Create a Boolean Yes or No prompt in Go