You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by davinchia <gi...@git.apache.org> on 2017/07/20 20:40:20 UTC

[GitHub] thrift issue #1311: Fix for constant assignments to optional fields in Go.

Github user davinchia commented on the issue:

    https://github.com/apache/thrift/pull/1311
  
    https://stackoverflow.com/questions/30716354/how-do-i-do-a-literal-int64-in-go is a good summary of the different ways to assign constant values in Go.
    
    I decided to use an anonymous struct since it seems to be the most self contained and efficient way to do so.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---