Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUpToDate = errors.New("local posts is up to date with remote posts")
)
Functions ¶
Types ¶
type Post ¶
type Post struct {
ID string
Title string
Content string
Tags []string
Status PostStatus
}
type PostStatus ¶
type PostStatus int
const ( PostStatusDraft PostStatus = iota PostStatusPublished )
Click to show internal directories.
Click to hide internal directories.