testhelper

package
v2.31.5 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compare

func Compare(
	t *testing.T,
	goldenFilename string,
	got []byte,
)

Compare :

func ConvertToJSON

func ConvertToJSON(src interface{}) []byte

ConvertToJSON :

func SaveToFile

func SaveToFile(name string, b []byte) error

SaveToFile :

func UpdateFile

func UpdateFile(t *testing.T, filename string, b []byte)

UpdateFile :

Types

This section is empty.

Jump to

Keyboard shortcuts

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