pages/cli/cli_vs_gen.md
gorm.io/gen arrived before Go generics. It generates full DAO structs and its own query layer. The newer CLI (gorm cmd) leans on generics, keeps the generated surface small, and sticks close to existing gorm APIs. It emphasizes type safety—if it compiles, it works—and a small, predictable surface that fits the AI coding era.
gorm patterns.internal/generated).generated.Query[...] and gorm.G[...] instead of DAO structs.vet (tag and association validation) and migration.Head back to the CLI overview or read the gorm/gen documentation.