pages

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PagesToGob

func PagesToGob(contentDir string, gobDest string) error

function that gets the pages and saves it to a gob file

Types

type Page

type Page struct {
	Title       string
	Description string
	Content     string
	Keywords    []string
	Slug        string
}

func PagesFromGob

func PagesFromGob(path string) ([]Page, error)

Jump to

Keyboard shortcuts

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