Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PartialResource ¶
type PartialResource struct { Identifier string `json:"identifier,omitempty"` Name string `json:"name,omitempty"` }
PartialResource represents a linked resource
func (PartialResource) MarshalJSON ¶
func (pr PartialResource) MarshalJSON() ([]byte, error)
MarshalJSON unfolds the resource to its identifier
Click to show internal directories.
Click to hide internal directories.