Lines Matching defs:Blog
46 Blog anonMember
78 type Blog struct { struct
79 ID int `jsonapi:"primary,blogs"`
80 ClientID string `jsonapi:"client-id"`
81 Title string `jsonapi:"attr,title"`
82 Posts []*Post `jsonapi:"relation,posts"`
83 CurrentPost *Post `jsonapi:"relation,current_post"`
84 CurrentPostID int `jsonapi:"attr,current_post_id"`
85 CreatedAt time.Time `jsonapi:"attr,created_at"`
86 ViewCount int `jsonapi:"attr,view_count"`
88 Links Links `jsonapi:"links,omitempty"`
91 func (b *Blog) JSONAPILinks() *Links {
106 func (b *Blog) JSONAPIRelationshipLinks(relation string) *Links {
128 func (b *Blog) JSONAPIMeta() *Meta {
134 func (b *Blog) JSONAPIRelationshipMeta(relation string) *Meta {