package htmldiff

import "github.com/a-h/templ/generator/htmldiff"

Index

Functions

func Diff

func Diff(input templ.Component, expected string) (diff string, err error)

func DiffCtx

func DiffCtx(ctx context.Context, input templ.Component, expected string) (formattedInput, diff string, err error)

func DiffStrings

func DiffStrings(expected, actual string) (diff string, err error)

Source Files

diff.go

Version
v0.3.924 (latest)
Published
Jul 26, 2025
Platform
linux/amd64
Imports
9 packages
Last checked
1 week ago

Tools for package owners.