package gold
import "github.com/ClickHouse/ch-go/internal/gold"
Package gold implements golden files.
Index ¶
- func Bytes(t testing.TB, data []byte, name ...string)
- func Init()
- func Str(t testing.TB, s string, name ...string)
Functions ¶
func Bytes ¶
Bytes check binary golden file.
func Init ¶
func Init()
Init should be called in TestMain.
func Str ¶
Str checks text golden file.
Source Files ¶
- Version
- v0.47.2
- Published
- Jul 26, 2022
- Platform
- js/wasm
- Imports
- 8 packages
- Last checked
- 4 minutes ago –
Tools for package owners.