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
Click to show internal directories.
Click to hide internal directories.