mirror of
https://github.com/go-admin-team/go-admin.git
synced 2026-09-29 12:31:11 +00:00
The five routes use actions.Index, View, Create, Update and Delete. The control request's GenerateM becomes ToModel, returning the model type itself, and the Generate methods on the model and the three request types go, along with the tests that held them to returning copies: nothing calls them any more. Recorded before the change and replayed after it, the same 18 requests - creates, lists with filters and paging, details, updates and deletes, found and missing - get byte-identical responses.