goldenfile

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2022 License: Apache-2.0 Imports: 9 Imported by: 3

Documentation

Index

Constants

View Source
const (
	GoldenFilePath  = "test"
	ResultsFilename = "results.golden.json"
)

Variables

View Source
var Update = flag.String("update", "", "name of test to update")

Functions

func FileExists

func FileExists(dirname, f string) bool

func ReadFile

func ReadFile(p string, name string) []byte

func WriteFile

func WriteFile(p string, content []byte, name string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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