WithRelationship
Method
func (Resource) WithRelationship( resourceBuilder Resource, type_ string,) ResourceSignature
method
WithRelationship builderAdds a relationship to another resource using its builder.
WithRelationship( resourceBuilder Resource, type_ string,) ResourceParameters
resourceBuilder ResourceThe resource builder that the relationship is to.type_stringThe relationship type.Returns
ResourceA resource builder.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: