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.59.1
Published
Oct 31, 2019
Platform
linux/amd64
Imports
9 packages
Last checked
4 hours ago

Tools for package owners.