[ https://issues.apache.org/jira/browse/THRIFT-3339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15032234#comment-15032234 ]
Adam Beberg commented on THRIFT-3339: ------------------------------------- Patch attached > Support for database/sql > ------------------------ > > Key: THRIFT-3339 > URL: https://issues.apache.org/jira/browse/THRIFT-3339 > Project: Thrift > Issue Type: Improvement > Components: Go - Compiler > Reporter: Adam Beberg > Assignee: Adam Beberg > Fix For: 0.9.4 > > Attachments: THRIFT-3339-support-optionals.patch > > Original Estimate: 24h > Remaining Estimate: 24h > > For use by database/sql the generated code needs: > 1. Generated enums need to implement sql.Scanner and driver.Valuer > 2. Struct fields need db: annotations with the original field names. -- This message was sent by Atlassian JIRA (v6.3.4#6332)