commit | f4475ff76fe3dcc1b3774d52bf28b333ab9acd01 | [log] [tgz] |
---|---|---|
author | Duru Can Celasun <dcelasun@apache.org> | Wed Nov 20 15:31:35 2019 +0000 |
committer | GitHub <noreply@github.com> | Wed Nov 20 15:31:35 2019 +0000 |
tree | 0b27f2354f15fd680ede8711de5033dd0bf90fad | |
parent | 225646b554e6c37de31657e11d907bf35d50679d [diff] [blame] |
THRIFT-5019: Duplicate imports from multiple includes from a namespace If a thrift file includes two files from the same namespace into a separate file, the generated Go code has duplicate imports for that namespace. This fixes that. Client: go
diff --git a/lib/go/test/common/b.thrift b/lib/go/test/common/b.thrift new file mode 100644 index 0000000..19930e7 --- /dev/null +++ b/lib/go/test/common/b.thrift
@@ -0,0 +1,5 @@ +namespace go common + +struct B { + 1: optional string b +}