summaryrefslogtreecommitdiff
path: root/lib/go
diff options
context:
space:
mode:
authorJens Geyer <jensg@apache.org>2014-04-14 22:42:01 +0200
committerJens Geyer <jensg@apache.org>2014-04-14 22:42:01 +0200
commita6c63deb065a3fb211ab977252c69e872b129659 (patch)
treef071e67699835bba169af904dddd902d2e07117c /lib/go
parentc2ccca8e4b4fd1b421e2d30b754aee8c24e90b34 (diff)
downloadthrift-a6c63deb065a3fb211ab977252c69e872b129659.tar.gz
THRIFT-2458 Generated golang server code for "oneway" methods is incorrect
Client: Go compiler Patch: Jens Geyer & Aleksey Pesternikov This closes #99 commit 5f4833d0dda663e8432c6ed61dae38fa42d52ed9 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local> Date: 2014-04-14T12:59:39Z THRIFT-2458 Generated code for oneway function
Diffstat (limited to 'lib/go')
-rw-r--r--lib/go/test/OnewayTest.thrift19
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/go/test/OnewayTest.thrift b/lib/go/test/OnewayTest.thrift
index 9ba75253b..cabb5da4b 100644
--- a/lib/go/test/OnewayTest.thrift
+++ b/lib/go/test/OnewayTest.thrift
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
service OneWay {
oneway void hi(1: i64 i, 2: string s)
void emptyfunc()