package
Version:
v0.0.0-...-873507f
Opens a new window with list of versions in this module.
Published: Apr 29, 2019
License: GPL-2.0, GPL-2.0-only
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Metadata struct {
Title string `json:"title"`
Tags []string `json:"tags"`
Modified time.Time `json:"modified"`
}
Metadata contains the metadata for the page
type Page struct {
Contents string `json:"contents"`
Metadata Metadata `json:"metadata"`
}
Page represents a single wiki page
New generates a new empty page instance
Source Files
¶
Click to show internal directories.
Click to hide internal directories.