wifky

package module
v0.0.0-...-61d8253 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Enc = strings.NewReplacer(
	"&", "&",
	"<", "&lt;",
	">", "&gt;",
	"\"", "&quot;",
	"'", "&#39;",
	"\r", "",
	"\a", "",
	"\b", "")

Functions

func SafeName

func SafeName(s string) string

Types

type Contents

type Contents struct {
	Pages map[string]*Page
	Misc  []string
	// contains filtered or unexported fields
}

func ReadDir

func ReadDir(dirName string) (*Contents, error)

type Page

type Page struct {
	Source string
	Assets map[string]string
}

Jump to

Keyboard shortcuts

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