Skip to main content

Pedantigo

Pydantic-inspired validation for Go

Struct Tag Validation

Define validation rules using familiar Go struct tags. Just like encoding/json, but for validation.

validate:"required,email,min=18"

JSON Schema Generation

Auto-generate JSON schemas from your Go structs with built-in caching. First call ~10ms, subsequent calls <100ns (240x faster).

Streaming Validation

Validate partial JSON as it streams - perfect for LLM outputs. Catch malformed data before the response completes.