Documentation
¶
Index ¶
- type Blog
- func (b *Blog) CheckDelete() error
- func (b *Blog) CreatedAt() time.Time
- func (b *Blog) ETag() string
- func (b *Blog) FeedURL() string
- func (b *Blog) ID() uuid.UUID
- func (b *Blog) LastModified() string
- func (b *Blog) SetETag(etag string) error
- func (b *Blog) SetLastModified(lastModified string) error
- func (b *Blog) SetSyncedAt(syncedAt time.Time)
- func (b *Blog) SetUpdatedAt(updatedAt time.Time) error
- func (b *Blog) SiteURL() string
- func (b *Blog) SyncedAt() time.Time
- func (b *Blog) Title() string
- func (b *Blog) UpdatedAt() time.Time
- type Post
- func (p *Post) BlogID() uuid.UUID
- func (p *Post) CheckDelete() error
- func (p *Post) Content() string
- func (p *Post) CreatedAt() time.Time
- func (p *Post) ID() uuid.UUID
- func (p *Post) PublishedAt() time.Time
- func (p *Post) SetContent(content string) error
- func (p *Post) SetUpdatedAt(updatedAt time.Time) error
- func (p *Post) Title() string
- func (p *Post) URL() string
- func (p *Post) UpdatedAt() time.Time
- type Tag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Blog ¶
type Blog struct {
// contains filtered or unexported fields
}
func (*Blog) CheckDelete ¶
func (*Blog) LastModified ¶
func (*Blog) SetLastModified ¶
func (*Blog) SetSyncedAt ¶
type Post ¶
type Post struct {
// contains filtered or unexported fields
}
func (*Post) CheckDelete ¶
func (*Post) PublishedAt ¶
func (*Post) SetContent ¶
Click to show internal directories.
Click to hide internal directories.