title: Reverse int golang
body: <p>How to change <code>12345</code> to <code>54321</code>?
  With a string, you can change the string to a <code>rune</code>, and reverse it, but you cannot do the same for an integer. I have searched and found no one talking about this. Examples<br>
  <code>131415</code> >>> <code>514131</code><br>
  <code>1357</code> >>> <code>7531</code><br>
  <code>123a</code> >>> <strong>ERROR</strong><br>
   -EDIT-<br>
  I was thinking, why not create a <code>slice</code> and index that?<br>
  Then I realized that you can't index <code>int</code><br>
  (<a href="http://play.golang.org/p/SUSg04tZsc" rel="nofollow">http://play.golang.org/p/SUSg04tZsc</a>)<br>
  <strong>MY NEW QUESTION IS</strong><br>
  How do you index an int?
  <strong>OR</strong><br>
  How do you reverse a int?</p>