MCPcopy Create free account
hub / github.com/google/go-cmp / Equal

Method Equal

cmp/example_test.go:222–224  ·  view source on GitHub ↗
(y otherString)

Source from the content-addressed store, hash-verified

220type otherString string
221
222func (x otherString) Equal(y otherString) bool {
223 return strings.EqualFold(string(x), string(y))
224}
225
226// If the Equal method defined on a type is not suitable, the type can be
227// dynamically transformed to be stripped of the Equal method (or any method

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected