blob

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderHTML

func RenderHTML(filename string, data any) (string, error)

func RenderText

func RenderText(filename string, data any) (string, error)

Types

type RenderArtifact

type RenderArtifact struct {
	HTML string
	Text string
}

func RenderPair

func RenderPair(name string, data any) (*RenderArtifact, error)

Jump to

Keyboard shortcuts

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