genutil

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2025 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFilesystemStorage

func NewFilesystemStorage(root, base string) interfaces.StorageProvider

NewFilesystemStorage returns an interfaces.StorageProvider that writes artifacts to disk. The base argument should match the generator OutputDir so duplicated prefixes are trimmed.

func NewGoTemplateRenderer

func NewGoTemplateRenderer(baseDir string) (interfaces.TemplateRenderer, error)

NewGoTemplateRenderer returns a generator-compatible template renderer backed by html/template.

func NewThemeAssetResolver

func NewThemeAssetResolver() generator.AssetResolver

NewThemeAssetResolver returns an AssetResolver that resolves theme-relative files.

Types

This section is empty.

Jump to

Keyboard shortcuts

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