fixtureload

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package fixtureload encapsulates contract schema/fixture file reads. All path inputs are validated by callers in tests/contracttest against an allow-list (in-dir or <contractsRoot>/shared/) before this helper is invoked.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadFixture

func LoadFixture(path string) ([]byte, error)

LoadFixture reads a contract schema or fixture file. The path is caller-validated (see tests/contracttest.compileSchemaFile for the allow-list) — both real contracts/ trees and testdata/contracts/ trees flow through here.

Types

This section is empty.

Jump to

Keyboard shortcuts

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