parser

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Page

type Page struct {
	Title   string
	Content string
	URL     string
	HTML    template.HTML
}

func ParseDir

func ParseDir(srcDir string) []Page

func ParsePagesFromSummaryMD

func ParsePagesFromSummaryMD(filePath string) ([]Page, error)
type PageLink struct {
	Header   string
	FilePath string
}
func ParseLinks(reader io.Reader, dirPath string) ([]PageLink, error)

Jump to

Keyboard shortcuts

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