Skip to content

refactor(interface): Move the PlayerTutorial impl to service

Summary

This PR refactores the api_player_tutorial_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_tutorial_service.go
    • internal/interfaces/api_player_tutorial_service.go
      • Moved the implementation into application/service
    • internal/interfaces/model_add_player_tutorial_step_response_transfer.go
    • internal/interfaces/model_add_player_tutorial_tip_response_transfer.go
      • They were verbosed so combined into interface directly.
  • Fix
    • internal\application\service\player_resume_service.go
      • Changed wrong span message
  • 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