template-monorepo/internal/model/member/repository
王性驊 713a81f70b feat(auth): add unified registration/login module with Zitadel + lint cleanup
- Introduce auth module: handlers, logic, domain/repository/usecase, JWT
  middleware, and Zitadel OIDC client (password + authorization code +
  userinfo + JWKS verification)
- Wire member rate-limit, structured errors, and refactored member/
  notification usecases (introduce shared errors, drop repo_errors.go)
- Bring the codebase to zero golangci-lint issues:
  * goimports formatting
  * errcheck on io.ReadAll/Unlock cleanup paths
  * contextcheck: HandlerContext now takes (ctx, *http.Request)
  * gocritic: rename shadowed `max`, use http.NoBody
  * goconst: extract test fixtures and bsonOpSet
  * testifylint: switch to assert inside httptest handlers

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-21 14:45:35 +08:00
..
identity_mongo.go add member totp 2026-05-21 07:51:22 +08:00
index.go feat(auth): add unified registration/login module with Zitadel + lint cleanup 2026-05-21 14:45:35 +08:00
member_mongo.go feat(auth): add unified registration/login module with Zitadel + lint cleanup 2026-05-21 14:45:35 +08:00
otp_store_redis.go add member totp 2026-05-20 21:03:59 +08:00
tenant_mongo.go add member totp 2026-05-21 07:51:22 +08:00
totp_profile_memory.go add member totp 2026-05-20 21:03:59 +08:00
totp_profile_mongo.go feat(auth): add unified registration/login module with Zitadel + lint cleanup 2026-05-21 14:45:35 +08:00
totp_store_redis.go add member totp 2026-05-20 21:03:59 +08:00
uid_redis.go add member totp 2026-05-21 07:51:22 +08:00