title: Is it possible to get Enum name without creating String() in Golang
body: <p>Is it possible to get Enum name without creating <code>func (TheEnum) String() string</code> in Golang?</p>
  
  <pre><code>const (
   MERCURY = 1
   VENUS = iota
   EARTH
   MARS
   JUPITER
   SATURN
   URANUS
   NEPTUNE
   PLUTO
  )
  </code></pre>
  
  <p>or is there a way to define constants on the fly? 
  I found two ways <a href="http://golang-basic.blogspot.com/2014/07/enumeration-example-golang.html" rel="noreferrer">struct</a>-based and <a href="http://play.golang.org/p/ewMKl6K302" rel="noreferrer">string</a>-based, but both way make us retype each  labels 1 more time (or copy-paste and quoting or using editor's macro)</p>