fake

package
v0.3.0-20260727164855-... Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package fake provides a validator.Validator that always passes and a validator.Factory that returns it. Intended for examples, tests, and default wiring when no custom validation is needed.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() validator.Validator

New returns a validator.Validator that always passes (returns nil).

func NewFactory

func NewFactory() validator.Factory

NewFactory returns a validator.Factory that always returns a passing validator.

Types

This section is empty.

Jump to

Keyboard shortcuts

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