kaptinlin/gozod

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

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

kaptinlin/gozod

Cursor rule Codex

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.

24 1mo ago A 2,843 tokens original MIT

coding-standards

02

kaptinlin/gozod

Cursor rule Codex

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.

24 1mo ago A 0 tokens original MIT

kaptinlin/gozod

Cursor rule Codex

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.

24 1mo ago A 0 tokens original MIT

project-structure

04

kaptinlin/gozod

Cursor rule Codex

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

24 1mo ago A 0 tokens original MIT

kaptinlin/gozod

Cursor rule Codex

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.

24 1mo ago A 5,523 tokens original MIT

kaptinlin/gozod

Cursor rule Codex

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

24 1mo ago A 4,495 tokens original MIT