func counterpartRole(r RelationRole) RelationRole {
	switch r {
	case RoleProvider:
		return RoleRequirer
	case RoleRequirer:
		return RoleProvider
	case RolePeer:
		return RolePeer
	}
	panic(fmt.Errorf("unknown relation role %q", r))
}
// counterpartRole returns the RelationRole that the given RelationRole
// can relate to.
counterpartRole returns the RelationRole that the given RelationRole
can relate to.
// counterpartRole returns the RelationRole that the given RelationRole // can relate to .
func counterpartRole(r RelationRole) RelationRole {
	switch r {
	case RoleProvider:
		return RoleRequirer
	case RoleRequirer:
		return RoleProvider
	case RolePeer:
		return RolePeer
	}
	panic(fmt.Errorf("unknown relation role %q", r))
}
func counterpartRole ( r RelationRole ) RelationRole { switch r { case RoleProvider : return RoleRequirer case RoleRequirer : return RoleProvider case RolePeer : return RolePeer } panic ( fmt . Errorf ( " " , r ) ) }
counterpartRole returns the RelationRole that the given RelationRole
can relate to.
counterpartRole returns the RelationRole that the given RelationRole can relate to .