UnimplementedSearchServiceServer must be embedded to have forward compatible implementations. NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
| 91 | // NOTE: this should be embedded by value instead of pointer to avoid a nil |
| 92 | // pointer dereference when methods are called. |
| 93 | type UnimplementedSearchServiceServer struct{} |
| 94 | |
| 95 | func (UnimplementedSearchServiceServer) Search(context.Context, *SearchRequest) (*SearchResponse, error) { |
| 96 | return nil, status.Error(codes.Unimplemented, "method Search not implemented") |
nothing calls this directly
no outgoing calls
no test coverage detected