From: Jens Geyer Date: Mon, 14 Apr 2014 20:42:01 +0000 (+0200) Subject: THRIFT-2458 Generated golang server code for "oneway" methods is incorrect X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=a6c63deb065a3fb211ab977252c69e872b129659;p=common%2Fthrift.git 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 Date: 2014-04-14T12:59:39Z THRIFT-2458 Generated code for oneway function --- diff --git a/lib/go/test/OnewayTest.thrift b/lib/go/test/OnewayTest.thrift index 9ba75253..cabb5da4 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()