package htmldiff
import "github.com/a-h/templ/generator/htmldiff"
Index ¶
- func Diff(input templ.Component, expected string) (diff string, err error)
- func DiffCtx(ctx context.Context, input templ.Component, expected string) (formattedInput, diff string, err error)
- func DiffStrings(expected, actual string) (diff string, err error)
Functions ¶
func Diff ¶
func DiffCtx ¶
func DiffCtx(ctx context.Context, input templ.Component, expected string) (formattedInput, diff string, err error)
func DiffStrings ¶
Source Files ¶
- Version
- v0.3.924 (latest)
- Published
- Jul 26, 2025
- Platform
- linux/amd64
- Imports
- 9 packages
- Last checked
- 1 week ago –
Tools for package owners.