verifier

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Verify

func Verify(actualData, expectedTemplate string) error

Verify checks if the actual data match the expected template.

Types

type MismatchError

type MismatchError struct {
	Err error
	// contains filtered or unexported fields
}

MismatchError is the error type returned by the Verify functions. It contains the diff content.

func (*MismatchError) Error

func (e *MismatchError) Error() string

func (*MismatchError) Unwrap

func (e *MismatchError) Unwrap() error

Jump to

Keyboard shortcuts

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