mirror of
https://github.com/go-admin-team/go-admin.git
synced 2026-09-20 17:57:54 +00:00
The code generator writes Go files, and its templates still spelled the old import paths, so a module generated after this migration did not compile: the router it emits declares InitBusinessRouter with the v1 *GinJWTMiddleware while common.AuthInit now returns the v2 type. Two of the paths moved rather than gaining a /v2 segment - the jwtauth and response shims under sdk/pkg are gone in v2 - so this is not the same rewrite the Go files got.