gozodgen

command
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Overview

Package main implements the gozodgen code generation tool. This file contains the core code generation logic that integrates with the existing pkg/tags infrastructure to generate optimized Schema methods.

Package main implements the gozodgen code generation tool. This tool generates optimized Schema methods for Go structs with gozod tags, enabling zero-reflection validation at runtime.

Usage:

gozodgen [flags] [packages...]

Flags:

-suffix string     Output file suffix (default: "_gen.go")
-package string    Specify package name (default: auto-detect)
-tags string       Build tags
-verbose          Verbose output
-dry-run          Preview generated code without writing files
-force            Force regeneration of all files

Jump to

Keyboard shortcuts

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