Documentation
¶
Overview ¶
Package seed writes the pages a new site starts with.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Store ¶
type Store interface {
ArticleByName(ctx context.Context, siteID int64, ref string) (*db.Article, error)
CreateArticle(ctx context.Context, siteID int64, category, name, title string, authorID *int64, at time.Time) (int64, error)
CreateArticleVersion(ctx context.Context, w db.VersionWrite) (db.Revision, error)
}
Click to show internal directories.
Click to hide internal directories.