Skip to content

refactor(interface): Move the PlayerMove impl to service

Summary

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

Related Issues

#97 (closed)

Changes Made

  • Refactor
    • internal/application/service/player_move_service.go
    • internal/interfaces/api_player_move_service.go
      • Moved the implementation into application/service
    • internal/domain/value/version/platform_value.go
      • Defined the platform type web
  • Other
    • internal/infrastructure/wires/wire.go
    • internal/infrastructure/wires/wire_gen.go
      • Recreated the wires.

Testing

  • Build success

Checklist

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

Merge request reports