protobuf/plugin/raftproxy/raftproxy.go
Method raftProxyGen.genClientServerStreamingMethod
has 60 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func (g *raftProxyGen) genClientServerStreamingMethod(s *descriptor.ServiceDescriptorProto, m *descriptor.MethodDescriptorProto) {
streamType := s.GetName() + "_" + m.GetName() + "Server"
g.genStreamWrapper(streamType)