Archive the differentiated YuXinGu product docs, AI engineering system, design contract, and Go/Vue scaffold. Next execution prioritizes Cece-parity over early innovation (see .ai/product/STRATEGY.md). Co-authored-by: Cursor <cursoragent@cursor.com>
393 B
393 B
Pattern: CRUD slice
For a resource Foo:
- Migration
footable (id, created_at, updated_at, deleted_at, …) model.Foorepositorymethods: Get / List / Create / Update / SoftDeleteservicewith authz + validationhandlerREST routes- OpenAPI paths
- SDK methods + types
- UI only if user-facing
List endpoints always paginate (page, page_size, total).