fixtures

package
v0.0.0-...-7621e06 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package fixtures contains test data

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CodeShreds

func CodeShreds(t testing.TB, network string, slot uint64) [][]byte

func DataShreds

func DataShreds(t testing.TB, network string, slot uint64) [][]byte

func Load

func Load(t testing.TB, strs ...string) []byte

Load returns the fixture at the given path.

func Open

func Open(t testing.TB, strs ...string) *os.File

Open returns a file handle for a fixture.

func Path

func Path(t testing.TB, strs ...string) string

Path returns the absolute path for the fixture at the given relative path.

Types

This section is empty.

Jump to

Keyboard shortcuts

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