Skip to content

refactor: use value_user.UserId value model everywhere

Dosugamea requested to merge Dosugamea/server:refactor/user-id-value-model into main

Summary

This PR refactores the userId value. It was int64 or uint and it made mixed type sometimes. With this PR, the userId field always uses value_user.UserId(uint).

Related Issues

Changes Made

  • Refactor
    • Usecase
    • Repository
    • Persistence
    • Model
    • Value
      • Use value_user.UserId value model at everywhere

Testing

  • Build still success

Checklist

  • No extra unnecessary files are included.
  • No extra fmt.Println() or fmt.Printf() statements are present.
  • The game client can accept the response (optional)

Additional Information

  • Too big change to review...
Edited by Dosugamea

Merge request reports