Skip to content

refactor(interface): Move the PlayerSignup impl to service

Summary

This PR refactores the api_player_signup_service.go. It makes no implementation at interface directly, and make more easy to read the codes.

Related Issues

closes #97 (closed)

Changes Made

  • Refactor
    • internal/application/service/player_signup_service.go
    • internal/interfaces/api_player_signup_service.go
      • Moved the implementation into application/service
  • Other
    • internal/infrastructure/wires/wire.go
    • internal/infrastructure/wires/wire_gen.go
      • Recreated the wires.

Testing

  • Build success
  • The account creation is working correctly.

Checklist

  • No extra unnecessary files are included.
  • No extra fmt.Println() or fmt.Printf() statements are present.

Additional info

  • It was long journey, but now the all endpoints doesn't have implementation at interface!

Merge request reports