package htesting

import "github.com/gohugoio/hugo/resources/resource_transformers/htesting"

Index

Functions

func NewResourceTransformer

func NewResourceTransformer(filename, content string) (resources.ResourceTransformer, error)

func NewResourceTransformerForSpec

func NewResourceTransformerForSpec(spec *resources.Spec, filename, content string) (resources.ResourceTransformer, error)

func NewTestResourceSpec

func NewTestResourceSpec() (*resources.Spec, error)

Source Files

testhelpers.go

Version
v0.68.3
Published
Mar 24, 2020
Platform
linux/amd64
Imports
9 packages
Last checked
4 hours ago

Tools for package owners.