mirror of
https://github.com/go-admin-team/go-admin.git
synced 2026-09-21 02:04:09 +00:00
IndexAction closes over one dto.Index and serves every request to the route from it; Generate exists so each request gets its own instance, and every implementation in this repository returns a copy for that reason. The probe returned the receiver, which made it the one shape IndexAction is not written against - and inconsistent with probeRow in the same file, which already copied. A single-request test cannot tell the two apart, so the assertion is on Generate itself rather than on the action's behaviour. Claude-Session: https://claude.ai/code/session_01HPTAw8b8tAdFNFn8rKdPYx