Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUpToDate = errors.New("local posts is up to date with remote posts")
)
Functions ¶
func PostStatusText ¶ added in v0.2.0
func PostStatusText(status PostStatus) string
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.