| 277 | } |
| 278 | |
| 279 | type ArticleLinked struct { |
| 280 | ID string `jsonapi:"primary,articles"` |
| 281 | Title string `jsonapi:"attribute" json:"title"` |
| 282 | |
| 283 | // Ignored is included to ensure un-tagged fields are ignored |
| 284 | Ignored string `json:"ignored"` |
| 285 | } |
| 286 | |
| 287 | func (a *ArticleLinked) Link() *Link { |
| 288 | return &Link{ |
nothing calls this directly
no outgoing calls
no test coverage detected