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

Struct ArticleLinkedOnlySelf

jsonapi_test.go:297–299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

295}
296
297type ArticleLinkedOnlySelf struct {
298 ID string `jsonapi:"primary,articles"`
299}
300
301func (a *ArticleLinkedOnlySelf) Link() *Link {
302 return &Link{Self: fmt.Sprintf("https://example.com/articles/%s", a.ID)}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected