2 devlogs
38m 22s
A CLI tool that gives you quotes based on your mood :) (written in Go so I can learn Go)
A CLI tool that gives you quotes based on your mood :) (written in Go so I can learn Go)
I added better logic (swapping from a switch to a for loop + calling a function to process the input) and used a for true loop to prompt the user over and over until they enter accepted input.
Log in to leave a comment
I got the user input set up, a basic welcome message + option list and a switch to determine what to do for each input, with a default case for unrecognised input. Next I’ll move the code into a different function so I can call it again if the user enters unrecognised input.
Log in to leave a comment