kaptinlin/gozod

Go port of TypeScript Zod validation library with full API compatibility and type safety

This repository also configures its own agents. See what gozod tells them →

25Stars on the repository
9Mods indexed here, across every type
2mo agoLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

kaptinlin/gozod

Cursor rule Cursor

This document provides implementation guidelines for GoZod validation checks based on the current architecture. All checks follow a unified factory function pattern that directly creates core.ZodCheckInternals instances with optional JSON Schema support.

not rated 25 2mo ago A 2,843 tokens original MIT

coding-standards

02

kaptinlin/gozod

Cursor rule Cursor

This document defines comprehensive coding standards and best practices for the GoZod validation library. It provides guiding principles for implementing Go code that ensures full compatibility with the TypeScript Zod v4 API while following Go language idioms and performance optimization principles.

not rated 25 2mo ago A 0 tokens original MIT

kaptinlin/gozod

Cursor rule Cursor

This document provides comprehensive performance optimization guidelines specific to the GoZod validation library, focusing on Go 1.24+ enhancements, Parse vs StrictParse performance characteristics, and advanced optimization patterns.

not rated 25 2mo ago A 0 tokens original MIT

project-structure

04

kaptinlin/gozod

Cursor rule Cursor

GoZod follows a type-safe, layered architecture that mirrors the API surface of Zod v4 while embracing Go idioms.

not rated 25 2mo ago A 0 tokens original MIT

kaptinlin/gozod

Cursor rule Cursor

A practical reference for building new schema types inside the GoZod code-base. It targets Cursor AI and human contributors alike: every rule here exists to keep implementations consistent, type-safe and performant.

not rated 25 2mo ago A 5,523 tokens original MIT

kaptinlin/gozod

Cursor rule Cursor

A concise and practical guide for building GoZod Schema test files, updated with the latest practices from stringtest.go, objecttest.go, and complextest.go.

not rated 25 2mo ago A 4,495 tokens original MIT

At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: