Documentation
¶
Overview ¶
Package identity compares open interface values without imposing comparability on implementations supplied by component users.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Same ¶
Same reports whether a and b demonstrably name the same object.
Interface equality is not an identity primitive: it panics when a caller's concrete component contains a slice, map, or function. Comparable values can answer directly. Maps have stable runtime identity despite not being comparable as interface values. Everything else is conservatively different; an ownership boundary may repeat a focus transition, but it must never retain a gesture or a lease merely because two values happen to have equal-looking storage.
Types ¶
This section is empty.