title: How to use the clipboard in Go?
body: <p>How can I copy to the clipboard, or get data from it, using Go?</p>
  
  <p>I'm a bit concerned that there are <a href="http://golang.org/search?q=clipboard" rel="nofollow noreferrer">no results in the documentation</a> and <a href="https://groups.google.com/forum/#!msg/golang-nuts/-ptPFfL3a6o/9NzqhPIRiY4J" rel="nofollow noreferrer">Google has yielded me this result</a>, but I want this to work cross-platform... then I found <a href="http://play.golang.org/p/ekKyppCEEC" rel="nofollow noreferrer">this playground snippet</a> (from that page) but it doesn't compile (because the "unsafe" package can't be used in the playground, I get this, but it still looks platform-dependent).</p>
  
  <p>So is this even possible, cross-platform?</p>