• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pace / bricks / 12827718001

17 Jan 2025 10:57AM UTC coverage: 56.909% (-0.3%) from 57.237%
12827718001

Pull #384

github

monstermunchkin
Satisfy linters
Pull Request #384: Extend linting

478 of 946 new or added lines in 109 files covered. (50.53%)

133 existing lines in 53 files now uncovered.

5667 of 9958 relevant lines covered (56.91%)

21.51 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/tools/testserver/math/math.pb.go
1
// Code generated by protoc-gen-go. DO NOT EDIT.
2
// versions:
3
//         protoc-gen-go v1.36.3
4
//         protoc        v5.29.3
5
// source: tools/testserver/math/math.proto
6

7
package math
8

9
import (
10
        protoreflect "google.golang.org/protobuf/reflect/protoreflect"
11
        protoimpl "google.golang.org/protobuf/runtime/protoimpl"
12
        reflect "reflect"
13
        sync "sync"
14
)
15

16
const (
17
        // Verify that this generated code is sufficiently up-to-date.
18
        _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
19
        // Verify that runtime/protoimpl is sufficiently up-to-date.
20
        _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
21
)
22

23
type Input struct {
24
        state         protoimpl.MessageState `protogen:"open.v1"`
25
        A             int64                  `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"`
26
        B             int64                  `protobuf:"varint,2,opt,name=b,proto3" json:"b,omitempty"`
27
        unknownFields protoimpl.UnknownFields
28
        sizeCache     protoimpl.SizeCache
29
}
30

31
func (x *Input) Reset() {
×
32
        *x = Input{}
×
NEW
33
        mi := &file_tools_testserver_math_math_proto_msgTypes[0]
×
NEW
34
        ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
NEW
35
        ms.StoreMessageInfo(mi)
×
UNCOV
36
}
×
37

38
func (x *Input) String() string {
×
39
        return protoimpl.X.MessageStringOf(x)
×
40
}
×
41

42
func (*Input) ProtoMessage() {}
×
43

44
func (x *Input) ProtoReflect() protoreflect.Message {
×
45
        mi := &file_tools_testserver_math_math_proto_msgTypes[0]
×
NEW
46
        if x != nil {
×
47
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
48
                if ms.LoadMessageInfo() == nil {
×
49
                        ms.StoreMessageInfo(mi)
×
50
                }
×
51
                return ms
×
52
        }
53
        return mi.MessageOf(x)
×
54
}
55

56
// Deprecated: Use Input.ProtoReflect.Descriptor instead.
57
func (*Input) Descriptor() ([]byte, []int) {
×
58
        return file_tools_testserver_math_math_proto_rawDescGZIP(), []int{0}
×
59
}
×
60

61
func (x *Input) GetA() int64 {
×
62
        if x != nil {
×
63
                return x.A
×
64
        }
×
65
        return 0
×
66
}
67

68
func (x *Input) GetB() int64 {
×
69
        if x != nil {
×
70
                return x.B
×
71
        }
×
72
        return 0
×
73
}
74

75
type Output struct {
76
        state         protoimpl.MessageState `protogen:"open.v1"`
77
        C             int64                  `protobuf:"varint,1,opt,name=c,proto3" json:"c,omitempty"`
78
        unknownFields protoimpl.UnknownFields
79
        sizeCache     protoimpl.SizeCache
80
}
81

82
func (x *Output) Reset() {
×
83
        *x = Output{}
×
NEW
84
        mi := &file_tools_testserver_math_math_proto_msgTypes[1]
×
NEW
85
        ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
NEW
86
        ms.StoreMessageInfo(mi)
×
UNCOV
87
}
×
88

89
func (x *Output) String() string {
×
90
        return protoimpl.X.MessageStringOf(x)
×
91
}
×
92

93
func (*Output) ProtoMessage() {}
×
94

95
func (x *Output) ProtoReflect() protoreflect.Message {
×
96
        mi := &file_tools_testserver_math_math_proto_msgTypes[1]
×
NEW
97
        if x != nil {
×
98
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
99
                if ms.LoadMessageInfo() == nil {
×
100
                        ms.StoreMessageInfo(mi)
×
101
                }
×
102
                return ms
×
103
        }
104
        return mi.MessageOf(x)
×
105
}
106

107
// Deprecated: Use Output.ProtoReflect.Descriptor instead.
108
func (*Output) Descriptor() ([]byte, []int) {
×
109
        return file_tools_testserver_math_math_proto_rawDescGZIP(), []int{1}
×
110
}
×
111

112
func (x *Output) GetC() int64 {
×
113
        if x != nil {
×
114
                return x.C
×
115
        }
×
116
        return 0
×
117
}
118

119
var File_tools_testserver_math_math_proto protoreflect.FileDescriptor
120

121
var file_tools_testserver_math_math_proto_rawDesc = []byte{
122
        0x0a, 0x20, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x73, 0x65, 0x72, 0x76,
123
        0x65, 0x72, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x70, 0x72, 0x6f,
124
        0x74, 0x6f, 0x12, 0x04, 0x4d, 0x61, 0x74, 0x68, 0x22, 0x23, 0x0a, 0x05, 0x49, 0x6e, 0x70, 0x75,
125
        0x74, 0x12, 0x0c, 0x0a, 0x01, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x01, 0x61, 0x12,
126
        0x0c, 0x0a, 0x01, 0x62, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x01, 0x62, 0x22, 0x16, 0x0a,
127
        0x06, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x0c, 0x0a, 0x01, 0x63, 0x18, 0x01, 0x20, 0x01,
128
        0x28, 0x03, 0x52, 0x01, 0x63, 0x32, 0x56, 0x0a, 0x0b, 0x4d, 0x61, 0x74, 0x68, 0x53, 0x65, 0x72,
129
        0x76, 0x69, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x03, 0x41, 0x64, 0x64, 0x12, 0x0b, 0x2e, 0x4d, 0x61,
130
        0x74, 0x68, 0x2e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x1a, 0x0c, 0x2e, 0x4d, 0x61, 0x74, 0x68, 0x2e,
131
        0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x25, 0x0a, 0x08, 0x53, 0x75, 0x62, 0x74, 0x72, 0x61,
132
        0x63, 0x74, 0x12, 0x0b, 0x2e, 0x4d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x1a,
133
        0x0c, 0x2e, 0x4d, 0x61, 0x74, 0x68, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x42, 0x17, 0x5a,
134
        0x15, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x73, 0x65, 0x72, 0x76, 0x65,
135
        0x72, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
136
}
137

138
var (
139
        file_tools_testserver_math_math_proto_rawDescOnce sync.Once
140
        file_tools_testserver_math_math_proto_rawDescData = file_tools_testserver_math_math_proto_rawDesc
141
)
142

143
func file_tools_testserver_math_math_proto_rawDescGZIP() []byte {
×
144
        file_tools_testserver_math_math_proto_rawDescOnce.Do(func() {
×
145
                file_tools_testserver_math_math_proto_rawDescData = protoimpl.X.CompressGZIP(file_tools_testserver_math_math_proto_rawDescData)
×
146
        })
×
147
        return file_tools_testserver_math_math_proto_rawDescData
×
148
}
149

150
var file_tools_testserver_math_math_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
151
var file_tools_testserver_math_math_proto_goTypes = []any{
152
        (*Input)(nil),  // 0: Math.Input
153
        (*Output)(nil), // 1: Math.Output
154
}
155
var file_tools_testserver_math_math_proto_depIdxs = []int32{
156
        0, // 0: Math.MathService.Add:input_type -> Math.Input
157
        0, // 1: Math.MathService.Subtract:input_type -> Math.Input
158
        1, // 2: Math.MathService.Add:output_type -> Math.Output
159
        1, // 3: Math.MathService.Subtract:output_type -> Math.Output
160
        2, // [2:4] is the sub-list for method output_type
161
        0, // [0:2] is the sub-list for method input_type
162
        0, // [0:0] is the sub-list for extension type_name
163
        0, // [0:0] is the sub-list for extension extendee
164
        0, // [0:0] is the sub-list for field type_name
165
}
166

167
func init() { file_tools_testserver_math_math_proto_init() }
×
168
func file_tools_testserver_math_math_proto_init() {
×
169
        if File_tools_testserver_math_math_proto != nil {
×
170
                return
×
171
        }
×
172
        type x struct{}
×
173
        out := protoimpl.TypeBuilder{
×
174
                File: protoimpl.DescBuilder{
×
175
                        GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
×
176
                        RawDescriptor: file_tools_testserver_math_math_proto_rawDesc,
×
177
                        NumEnums:      0,
×
178
                        NumMessages:   2,
×
179
                        NumExtensions: 0,
×
180
                        NumServices:   1,
×
181
                },
×
182
                GoTypes:           file_tools_testserver_math_math_proto_goTypes,
×
183
                DependencyIndexes: file_tools_testserver_math_math_proto_depIdxs,
×
184
                MessageInfos:      file_tools_testserver_math_math_proto_msgTypes,
×
185
        }.Build()
×
186
        File_tools_testserver_math_math_proto = out.File
×
187
        file_tools_testserver_math_math_proto_rawDesc = nil
×
188
        file_tools_testserver_math_math_proto_goTypes = nil
×
189
        file_tools_testserver_math_math_proto_depIdxs = nil
×
190
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc