Lines Matching defs:Blog
42 Blog anonMember
70 type Blog struct { struct
71 ID int `jsonapi:"primary,blogs"`
72 ClientID string `jsonapi:"client-id"`
73 Title string `jsonapi:"attr,title"`
74 Posts []*Post `jsonapi:"relation,posts"`
75 CurrentPost *Post `jsonapi:"relation,current_post"`
76 CurrentPostID int `jsonapi:"attr,current_post_id"`
77 CreatedAt time.Time `jsonapi:"attr,created_at"`
78 ViewCount int `jsonapi:"attr,view_count"`
81 func (b *Blog) JSONAPILinks() *Links {
96 func (b *Blog) JSONAPIRelationshipLinks(relation string) *Links {
118 func (b *Blog) JSONAPIMeta() *Meta {
124 func (b *Blog) JSONAPIRelationshipMeta(relation string) *Meta {