title: Infinite loop - press any key to exit
body: <p>I've infinite loop in my app and I need add one more functionality. Something like, "Press any key to exit...".</p>
  
  <p>It's my code. Who knows the golden idea?</p>
  
  <pre><code>func main() {
     for {
        doAll()
     }
  }
  </code></pre>