You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Aalok Shah (JIRA)" <ji...@apache.org> on 2011/02/19 04:15:39 UTC

[jira] Commented: (THRIFT-625) Add support for 'Go'

    [ https://issues.apache.org/jira/browse/THRIFT-625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12996688#comment-12996688 ] 

Aalok Shah commented on THRIFT-625:
-----------------------------------

I've uploaded a code review for adding Go support to Thrift at http://codereview.appspot.com/4168058/
The source code and a README are available at https://github.com/pomack/thrift4go
Tutorial included

I haven't submitted anything to ASF before, so please let me know if there's something I should do


As stated in the README
generates code for the following protocols:
1) Binary Protocol (with test cases)
2) Fast Binary Protocol (with test cases)
3) Standard Thrift JSON Protocol (with test cases)
4) A (custom) simple JSON Protocol (with test cases)
5) Services (compiles and runs against Java, assumed to work elsewhere) 

Tested on Mac OS X 10.6 (Snow Leopard)

To install in your Go Repository do:
goinstall github.com/pomack/thrift4go/lib/go/thrift
goinstall -a -log

4 files for thrift compiler (last tested on February 17, 2010):
1) configure.ac
2) lib/Makefile.am
3) compiler/cpp/Makefile.am
4) compiler/cpp/src/generate/t_go_generator.cc


> Add support for 'Go'
> --------------------
>
>                 Key: THRIFT-625
>                 URL: https://issues.apache.org/jira/browse/THRIFT-625
>             Project: Thrift
>          Issue Type: Wish
>            Reporter: Mathias Herberts
>         Attachments: go-language-support-4thrift.diff
>
>
> Add code generation for 'Go' http://golang.org/

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira