code: func nameOfValue(t *ast.ValueSpec) string {
  	if len(t.Names) != 1 {
  		fmt.Println("unexpected names", t.Names)
  		panic("unexpected names")
  	}
  	return t.Names[0].Name
  }
docs: // nameOfValue extracts the name of an enum value, ex. EDemoCommands_DEM_Packet