John Boiles | d9019fc | 2019-06-28 23:07:10 -0700 | [diff] [blame] | 1 | # |
| 2 | # Licensed to the Apache Software Foundation (ASF) under one |
| 3 | # or more contributor license agreements. See the NOTICE file |
| 4 | # distributed with this work for additional information |
| 5 | # regarding copyright ownership. The ASF licenses this file |
| 6 | # to you under the Apache License, Version 2.0 (the |
| 7 | # "License"); you may not use this file except in compliance |
| 8 | # with the License. You may obtain a copy of the License at |
| 9 | # |
| 10 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | # |
| 12 | # Unless required by applicable law or agreed to in writing, |
| 13 | # software distributed under the License is distributed on an |
| 14 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 15 | # KIND, either express or implied. See the License for the |
| 16 | # specific language governing permissions and limitations |
| 17 | # under the License. |
| 18 | # |
Yuxuan 'fishy' Wang | 2c78047 | 2021-07-31 13:44:41 -0700 | [diff] [blame] | 19 | namespace go conflict.super |
| 20 | |
John Boiles | d9019fc | 2019-06-28 23:07:10 -0700 | [diff] [blame] | 21 | include "ConflictNamespaceTestA.thrift" |
| 22 | include "ConflictNamespaceTestB.thrift" |
| 23 | include "ConflictNamespaceTestC.thrift" |
| 24 | include "ConflictNamespaceTestD.thrift" |
Yuxuan 'fishy' Wang | 2c78047 | 2021-07-31 13:44:41 -0700 | [diff] [blame] | 25 | include "ConflictNamespaceTestE.thrift" |
| 26 | include "ConflictNamespaceTestF.thrift" |
John Boiles | d9019fc | 2019-06-28 23:07:10 -0700 | [diff] [blame] | 27 | |
| 28 | struct SuperThing { |
| 29 | 1: ConflictNamespaceTestA.ThingA thing_a |
| 30 | 2: ConflictNamespaceTestB.ThingB thing_b |
| 31 | 3: ConflictNamespaceTestC.ThingC thing_c |
| 32 | 4: ConflictNamespaceTestD.ThingD thing_d |
Yuxuan 'fishy' Wang | 2c78047 | 2021-07-31 13:44:41 -0700 | [diff] [blame] | 33 | 5: ConflictNamespaceTestE.ThingE thing_e |
| 34 | 6: ConflictNamespaceTestF.ThingF thing_f |
| 35 | } |
| 36 | |
| 37 | // Define an enum to force the import of database/sql/driver |
| 38 | enum Enum { |
| 39 | One = 1 |
| 40 | Two = 2 |
John Boiles | d9019fc | 2019-06-28 23:07:10 -0700 | [diff] [blame] | 41 | } |