()
| 127 | } |
| 128 | |
| 129 | func (t *RelationTuple) String() string { |
| 130 | if t == nil { |
| 131 | return "" |
| 132 | } |
| 133 | return fmt.Sprintf("%s:%s#%s@%s", t.Namespace, t.Object, t.Relation, t.Subject) |
| 134 | } |
| 135 | |
| 136 | func (t *RelationTuple) FromProto(proto *rts.RelationTuple) *RelationTuple { |
| 137 | // TODO(hperl) |
no outgoing calls