prepare

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package prepare provides a function to validate configuration recursively.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Prepare

func Prepare(src any) error

Prepare calls Prepare() method on the object and its fields recursively.

Types

type Preparer

type Preparer interface {
	// Prepare validates something.
	Prepare() error
}

Preparer is used for recursive validation of configuration structures.

Jump to

Keyboard shortcuts

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