title: Goroutine: time.Sleep or time.After
body: <p>I wonder what is the better way to do a wait in a goroutine, <code>time.Sleep()</code> or <code>&lt;-time.After()</code>?  What's the difference between the two and how to make choices? Thanks.</p>