func (k *Key) Equal(o *Key) bool {
	for k != nil && o != nil {
		if k.kind != o.kind || k.stringID != o.stringID || k.intID != o.intID || k.appID != o.appID || k.namespace != o.namespace {
			return false
		}
		k, o = k.parent, o.parent
	}
	return k == o
}
func (k *Key) Equal(o *Key) bool {
	for k != nil && o != nil {
		if k.kind != o.kind || k.stringID != o.stringID || k.intID != o.intID || k.appID != o.appID || k.namespace != o.namespace {
			return false
		}
		k, o = k.parent, o.parent
	}
	return k == o
}
func ( k * Key ) Equal ( o * Key ) bool { for k != nil && o != nil { if k . kind != o . kind || k . stringID != o . stringID || k . intID != o . intID || k . appID != o . appID || k . namespace != o . namespace { return false } k , o = k . parent , o . parent } return k == o }
// Equal returns whether two keys are equal.
Equal returns whether two keys are equal .