formats

command
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package formats demonstrates the builtin format constraints in validate/.

Each constraint validates a common string format (email, UUID, URL, etc.) and also annotates the codec's schema so the format appears in OpenAPI output automatically — no extra work needed.

Run with: go run ./examples/formats

Jump to

Keyboard shortcuts

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