markdown

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderReadme

func RenderReadme(saveDirectory string) (string, error)

Types

type Entry

type Entry struct {
	SavePath   string
	Title      string
	Body       string
	Category   string
	DateString string
}

func (Entry) Render

func (e Entry) Render() (string, error)

func (Entry) Save

func (e Entry) Save(saveDirectory string) error

func (Entry) UpdateReadme

func (e Entry) UpdateReadme(saveDirectory string) error

type ReadmeContents

type ReadmeContents struct {
	Categories []string
	Entries    map[string][]Entry
	TotalCount int
}

Jump to

Keyboard shortcuts

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