Help us shape the future of Go! Take the 2026 Go Developer Survey

validation

package
v1.21.2 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package validation owns request-DTO validation independently from the application composition root. Transport handlers can depend on this package without receiving the application composition root.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Validate

func Validate(value any) error

Validate checks a request DTO using the process-wide immutable validator. validator.Validate is safe for concurrent use after registrations finish.

Types

This section is empty.

Jump to

Keyboard shortcuts

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