Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Relationship ¶
type Relationship struct {
Links Links `json:"links"`
}
type Resource ¶
type Resource struct { Id string `json:"id,omitempty"` Type string `json:"type"` Relationships map[string]*Relationship `json:"relationships"` }
func (*Resource) GetRelationships ¶
func (r *Resource) GetRelationships() map[string]*Relationship
Click to show internal directories.
Click to hide internal directories.