code

package
v0.0.0-...-a18fae3 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Format

type Format struct {
	Fun   bool
	Theme string
}

func (Format) Body

func (t Format) Body(rootUrl, fileUri, filePath, fileName, prefix, mime string) (string, error)

func (Format) CSS

func (t Format) CSS() string

func (Format) Extensions

func (t Format) Extensions() map[string]string

func (Format) MediaType

func (t Format) MediaType(extension string) string

func (Format) Title

func (t Format) Title(rootUrl, fileUri, filePath, fileName, prefix, mime string) (string, error)

func (Format) Type

func (t Format) Type() string

func (Format) Validate

func (t Format) Validate(filePath string) bool

Jump to

Keyboard shortcuts

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