MCPcopy Index your code
hub / github.com/DataDog/jsonapi / Linkable

Interface Linkable

jsonapi.go:357–359  ·  view source on GitHub ↗

Linkable can be implemented to marshal resource object links as defined by https://jsonapi.org/format/1.0/#document-resource-object-links.

Source from the content-addressed store, hash-verified

355
356// Linkable can be implemented to marshal resource object links as defined by https://jsonapi.org/format/1.0/#document-resource-object-links.
357type Linkable interface {
358 Link() *Link
359}
360
361// LinkableRelation can be implemented to marshal resource object related resource links as defined by https://jsonapi.org/format/1.0/#document-resource-object-related-resource-links.
362type LinkableRelation interface {

Callers 1

makeResourceObjectMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected