testhelper

package
v2.0.0-...-a5f1813 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2023 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