[ https://issues.apache.org/jira/browse/THRIFT-3799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15260015#comment-15260015 ]
ASF GitHub Bot commented on THRIFT-3799: ---------------------------------------- GitHub user astromahi opened a pull request: https://github.com/apache/thrift/pull/995 THRIFT-3799 Make constants to use iota https://issues.apache.org/jira/browse/THRIFT-3799 Converted constant declaration to use `iota` construct rather than manually specifying value. You can merge this pull request into a Git repository by running: $ git pull https://github.com/astromahi/thrift THRIFT-3799 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/thrift/pull/995.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #995 ---- commit 370d51180be2af520a4c2a3a7fddf4a44a43e0e7 Author: Mahendran Kathirvel <astrom...@gmail.com> Date: 2016-04-27T11:54:31Z THRIFT-3799 Make constants to use iota ---- > Make constants to use iota > -------------------------- > > Key: THRIFT-3799 > URL: https://issues.apache.org/jira/browse/THRIFT-3799 > Project: Thrift > Issue Type: Improvement > Components: Go - Library > Reporter: Mahendran Kathirvel > Priority: Minor > Labels: mentor, newbie > Original Estimate: 24h > Remaining Estimate: 24h > > Now, the constants and enumerations are using hardcoded values but Go has a > elegant way of doing this by using `Iota` -- This message was sent by Atlassian JIRA (v6.3.4#6332)