Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/google/go-cmp
/ Equal
Function
Equal
cmp/internal/testprotos/protos.go:7–12 ·
view source on GitHub ↗
(x, y Message)
Source
from the content-addressed store, hash-verified
5
package
testprotos
6
7
func
Equal(x, y Message) bool {
8
if
x == nil || y == nil {
9
return
x == nil && y == nil
10
}
11
return
x.String() == y.String()
12
}
13
14
type
Message
interface
{
15
Proto()
Callers
nothing calls this directly
Calls
1
String
Method · 0.65
Tested by
no test coverage detected