Ref defines an opaque "quad store reference" type. However the backend wishes to implement it, a Ref is merely a token to a quad or a node that the backing store itself understands, and the base iterators pass around. For example, in a very traditional, graphd-style graph, these are int64s (guids o
| 18 | // |
| 19 | // These must be comparable, or return a comparable version on Key. |
| 20 | type Ref interface { |
| 21 | // Key returns a dynamic type that is comparable according to the Go language specification. |
| 22 | // The returned value must be unique for each receiver value. |
| 23 | Key() interface{} |
| 24 | } |
| 25 | |
| 26 | // Value is an alias for Ref. |
| 27 | // |
no outgoing calls
no test coverage detected