[
https://issues.apache.org/jira/browse/THRIFT-3776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15227298#comment-15227298
]
Jens Geyer commented on THRIFT-3776:
------------------------------------
{quote}
For example, one of my projects has 109 thrift structures. I don't even want to
think about how it would work in a single file.
{quote}
Because you mentioned that, I just counted one of mine, just to get a feeling
of what we are talking about. the good news is: You win by 2 structures. I have
"only" 107, plus 26 service methods, 1 exception (which is kind of a struct),
and 26 enums. All together is a nifty 1530 lines, including lots of comments. I
would say it is indeed readable, but actually I don't have to read it. I only
generate it out of some other stuff and feed it to the Thrift compiler.
> Go code from multiple thrift files with the same namespace
> ----------------------------------------------------------
>
> Key: THRIFT-3776
> URL: https://issues.apache.org/jira/browse/THRIFT-3776
> Project: Thrift
> Issue Type: Improvement
> Components: Go - Compiler
> Affects Versions: 0.9.3
> Reporter: artem antonenko
>
> Currently compiler puts all generated Go code into two files - ttypes.go and
> constants.go. Because of that you can't compile multiple thrift files with
> the same namespace. They will just overwrite each other.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)