golden

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package golden provides golden-file test helpers — read/write expected payloads from disk so consumer tests can diff output against checked-in fixtures rather than maintaining inline expected strings.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertEqualFile

func AssertEqualFile(t *testing.T, filePath string, content io.Reader, updateGoldenFile bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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