3 ways to read input with a Go CLI

Tutorial with examples showing 3 different ways to read user input when building a command line interface (CLI) with Go...

February 23, 2023 · 7 min · Sam Anglin

Go CLI User Input Experiment

While building a CLI with Go, I ran a few little experiments without business logic to ensure that I was able to read user input exactly as expected.