title: In Go, is it possible to write to the console and read back?
body: <p>I'm writing a wizard for a CLI in Go.  What I'd like to do is ask the user what he wants to do, prepare the appropriate CLI command, and write it to the console.  The user then would submit the command to the CLI by pressing Enter, possibly after editing it first.  In other words, I want to write output to stdout that becomes input to stdin when the user presses Enter.  Is there a way to do this in Go?</p>