testkit

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MkBookSite

func MkBookSite() (string, func(), error)

func MkTestConfig

func MkTestConfig() (string, func(), error)

func MkTestContent

func MkTestContent() (string, func(), error)

func MkTestContentHub

func MkTestContentHub() (string, func(), error)

func MkTestModule

func MkTestModule() (string, func(), error)

func MkTestResource

func MkTestResource() (string, func(), error)

func MkTestSite

func MkTestSite() (string, func(), error)

func MkTestTempDir

func MkTestTempDir(fs afero.Fs, prefix string) (string, func(), error)

func MkTestTemplate

func MkTestTemplate() (string, func(), error)

Types

type TemplateIndex

type TemplateIndex struct {
	Title   string
	Content string
}

func NewTemplateIndex

func NewTemplateIndex(title string, content string) *TemplateIndex

Jump to

Keyboard shortcuts

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