| 12 | } |
| 13 | |
| 14 | type Comment struct { |
| 15 | ID string `jsonapi:"primary,comments"` |
| 16 | Body string `jsonapi:"attribute" json:"comment"` |
| 17 | Author *Author `jsonapi:"relationship"` |
| 18 | } |
| 19 | |
| 20 | func (c *Comment) LinkRelation(relation string) *jsonapi.Link { |
| 21 | return &jsonapi.Link{ |
nothing calls this directly
no outgoing calls
no test coverage detected