validation

package module
v0.0.0-...-468ee88 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Patch

func Patch(t *testing.T, mode PatchMode, basic map[string]any, patch any, fields ...string) map[string]any

func Validate

func Validate(t *testing.T, path string, cases []Case)

Types

type Case

type Case struct {
	// contains filtered or unexported fields
}

type PatchMode

type PatchMode string
const (
	PatchModeSet   PatchMode = "set"
	PatchModeMerge PatchMode = "merge"
)

Jump to

Keyboard shortcuts

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