view

package
v0.0.0-...-e5aaa3f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReaderArticle

func ReaderArticle(writer io.Writer, articleName string) error

func RenderIndex

func RenderIndex(writer io.Writer) error

Types

type Article

type Article struct {
	Title   string
	Content template.HTML
}

type Index

type Index struct {
	Title   string
	Content template.HTML
}

func (*Index) LoadContents

func (i *Index) LoadContents() error

type View

type View struct {
	Title       string `json:"title"`
	Description string `json:"description"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL