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.48.0-rc.1
- Published
- Aug 21, 2022
- Platform
- js/wasm
- Imports
- 8 packages
- Last checked
- 1 minute ago –
Tools for package owners.