chmod *.go files
This commit is contained in:
Родитель
cafb588ebe
Коммит
065d080169
|
@ -1,44 +1,12 @@
|
|||
/*
|
||||
*
|
||||
* Copyright 2014, Google Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are
|
||||
* met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above
|
||||
* copyright notice, this list of conditions and the following disclaimer
|
||||
* in the documentation and/or other materials provided with the
|
||||
* distribution.
|
||||
* * Neither the name of Google Inc. nor the names of its
|
||||
* contributors may be used to endorse or promote products derived from
|
||||
* this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
*/
|
||||
// Code generated by protoc-gen-go.
|
||||
// source: net/grpc/go/test/test.proto
|
||||
// source: test.proto
|
||||
// DO NOT EDIT!
|
||||
|
||||
/*
|
||||
Package test is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
net/grpc/go/test/test.proto
|
||||
test.proto
|
||||
|
||||
It has these top-level messages:
|
||||
DivArgs
|
||||
|
@ -62,10 +30,9 @@ type DivArgs struct {
|
|||
XXX_unrecognized []byte `json:"-"`
|
||||
}
|
||||
|
||||
func (m *DivArgs) Reset() { *m = DivArgs{} }
|
||||
func (m *DivArgs) String() string { return proto.CompactTextString(m) }
|
||||
func (*DivArgs) ProtoMessage() {}
|
||||
func (*DivArgs) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
func (m *DivArgs) Reset() { *m = DivArgs{} }
|
||||
func (m *DivArgs) String() string { return proto.CompactTextString(m) }
|
||||
func (*DivArgs) ProtoMessage() {}
|
||||
|
||||
func (m *DivArgs) GetDividend() int64 {
|
||||
if m != nil && m.Dividend != nil {
|
||||
|
@ -87,10 +54,9 @@ type DivReply struct {
|
|||
XXX_unrecognized []byte `json:"-"`
|
||||
}
|
||||
|
||||
func (m *DivReply) Reset() { *m = DivReply{} }
|
||||
func (m *DivReply) String() string { return proto.CompactTextString(m) }
|
||||
func (*DivReply) ProtoMessage() {}
|
||||
func (*DivReply) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
||||
func (m *DivReply) Reset() { *m = DivReply{} }
|
||||
func (m *DivReply) String() string { return proto.CompactTextString(m) }
|
||||
func (*DivReply) ProtoMessage() {}
|
||||
|
||||
func (m *DivReply) GetQuotient() int64 {
|
||||
if m != nil && m.Quotient != nil {
|
||||
|
@ -111,10 +77,9 @@ type FibArgs struct {
|
|||
XXX_unrecognized []byte `json:"-"`
|
||||
}
|
||||
|
||||
func (m *FibArgs) Reset() { *m = FibArgs{} }
|
||||
func (m *FibArgs) String() string { return proto.CompactTextString(m) }
|
||||
func (*FibArgs) ProtoMessage() {}
|
||||
func (*FibArgs) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
|
||||
func (m *FibArgs) Reset() { *m = FibArgs{} }
|
||||
func (m *FibArgs) String() string { return proto.CompactTextString(m) }
|
||||
func (*FibArgs) ProtoMessage() {}
|
||||
|
||||
func (m *FibArgs) GetLimit() int64 {
|
||||
if m != nil && m.Limit != nil {
|
||||
|
@ -128,10 +93,9 @@ type Num struct {
|
|||
XXX_unrecognized []byte `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Num) Reset() { *m = Num{} }
|
||||
func (m *Num) String() string { return proto.CompactTextString(m) }
|
||||
func (*Num) ProtoMessage() {}
|
||||
func (*Num) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
|
||||
func (m *Num) Reset() { *m = Num{} }
|
||||
func (m *Num) String() string { return proto.CompactTextString(m) }
|
||||
func (*Num) ProtoMessage() {}
|
||||
|
||||
func (m *Num) GetNum() int64 {
|
||||
if m != nil && m.Num != nil {
|
||||
|
@ -145,10 +109,9 @@ type FibReply struct {
|
|||
XXX_unrecognized []byte `json:"-"`
|
||||
}
|
||||
|
||||
func (m *FibReply) Reset() { *m = FibReply{} }
|
||||
func (m *FibReply) String() string { return proto.CompactTextString(m) }
|
||||
func (*FibReply) ProtoMessage() {}
|
||||
func (*FibReply) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
|
||||
func (m *FibReply) Reset() { *m = FibReply{} }
|
||||
func (m *FibReply) String() string { return proto.CompactTextString(m) }
|
||||
func (*FibReply) ProtoMessage() {}
|
||||
|
||||
func (m *FibReply) GetCount() int64 {
|
||||
if m != nil && m.Count != nil {
|
||||
|
@ -159,24 +122,3 @@ func (m *FibReply) GetCount() int64 {
|
|||
|
||||
func init() {
|
||||
}
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
// 268 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x84, 0x90, 0xbf, 0x4e, 0xc3, 0x30,
|
||||
0x10, 0x87, 0xb9, 0xba, 0x34, 0xe9, 0xa1, 0xf2, 0xc7, 0x53, 0x28, 0x0b, 0xf2, 0x80, 0x3a, 0xa0,
|
||||
0x06, 0x21, 0x5e, 0x00, 0x84, 0xd8, 0xca, 0x00, 0x1b, 0x5b, 0x68, 0xac, 0x60, 0xa9, 0xb1, 0x83,
|
||||
0xe3, 0x54, 0xea, 0xdb, 0x64, 0x64, 0xe4, 0x11, 0x39, 0x3b, 0x09, 0x88, 0xa9, 0x4b, 0x94, 0xbb,
|
||||
0xfb, 0xee, 0xa7, 0xef, 0x8c, 0x17, 0x5a, 0xba, 0xb4, 0xb0, 0xd5, 0x3a, 0x2d, 0x4c, 0xea, 0x64,
|
||||
0xed, 0xc2, 0x67, 0x59, 0x59, 0xe3, 0x0c, 0x1f, 0xfb, 0x7f, 0x71, 0x8d, 0xd1, 0xa3, 0xda, 0xde,
|
||||
0xdb, 0xa2, 0xe6, 0xa7, 0x18, 0xe7, 0x6a, 0xab, 0x72, 0xa9, 0xf3, 0x04, 0x2e, 0x47, 0x0b, 0xc6,
|
||||
0x4f, 0x30, 0xf2, 0x9d, 0xda, 0xd8, 0x64, 0xe4, 0x1b, 0x22, 0xc5, 0x98, 0xe8, 0x17, 0x59, 0x6d,
|
||||
0x76, 0x1e, 0xff, 0x6c, 0x8c, 0x53, 0x52, 0xbb, 0x1e, 0x3f, 0xc3, 0xa9, 0x95, 0x65, 0xa6, 0x74,
|
||||
0x2e, 0x87, 0x85, 0x04, 0xa3, 0x27, 0xf5, 0x1e, 0xe2, 0x67, 0x78, 0xb8, 0x51, 0xa5, 0xf2, 0x30,
|
||||
0xd0, 0x84, 0x23, 0x7b, 0x6e, 0x4a, 0x7e, 0x84, 0x4c, 0x37, 0x65, 0x17, 0x20, 0xce, 0x31, 0x26,
|
||||
0xba, 0x8b, 0x27, 0x7c, 0x6d, 0x9a, 0x21, 0xfb, 0xf6, 0x1b, 0x70, 0xbc, 0xca, 0xdc, 0x07, 0xbf,
|
||||
0x42, 0x46, 0x0a, 0x7c, 0xb6, 0x0c, 0xa7, 0xf4, 0xee, 0xf3, 0xe3, 0xdf, 0x32, 0x6c, 0x8b, 0x03,
|
||||
0x7e, 0x17, 0x0e, 0x5b, 0x65, 0x7a, 0xb7, 0x8f, 0x9d, 0xb4, 0x00, 0x5f, 0x00, 0x0b, 0xb8, 0x01,
|
||||
0x9f, 0x4e, 0x06, 0xc3, 0x46, 0xaf, 0x3e, 0x9f, 0x76, 0x25, 0xf9, 0x0a, 0x46, 0x24, 0x71, 0x02,
|
||||
0xd9, 0x2b, 0xd9, 0xff, 0x0d, 0xfe, 0x31, 0xad, 0x4f, 0x7b, 0x98, 0xbc, 0x85, 0x27, 0xfe, 0x09,
|
||||
0x00, 0x00, 0xff, 0xff, 0x5d, 0x79, 0x02, 0xec, 0x86, 0x01, 0x00, 0x00,
|
||||
}
|
||||
|
|
|
@ -1,35 +1,3 @@
|
|||
/*
|
||||
*
|
||||
* Copyright 2014, Google Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are
|
||||
* met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above
|
||||
* copyright notice, this list of conditions and the following disclaimer
|
||||
* in the documentation and/or other materials provided with the
|
||||
* distribution.
|
||||
* * Neither the name of Google Inc. nor the names of its
|
||||
* contributors may be used to endorse or promote products derived from
|
||||
* this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
*/
|
||||
package test
|
||||
|
||||
import (
|
||||
|
|
Загрузка…
Ссылка в новой задаче