Golang loop until key pressed
<p>I'm using Go and I need to be able to run a loop until a certain key is pressed.  Are there any libraries or is there any functionality that allows this to happen? I just need to detect if a key is <em>down</em> on each iteration of the loop.  I've tried using azul3d, but it wasn't quite what I was looking for...</p>

<p>This is what I'm hoping for:</p>

<pre><code>exit := false
for !exit {
    exit = watcher.Down(keyboard.Space)
}
</code></pre>

<p>or something similar</p>