You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the application manually initializes and wires dependencies in the Routes file. This approach can become difficult to maintain as the application grows and dependencies become more complex.
Implementation Plan:
Each service (EmailService, UserService, TokenService, AuthService, etc) will have a provider defined in a new wire.go file, specifying how these services are initialized.
A wire_gen.go file will be automatically generated by Google Wire to manage dependencies.
The text was updated successfully, but these errors were encountered:
@indrayyana I would like to work on this issue. By creating a new file wire.go which will wires dependencies in the services currently mentioned in them. Shall I implement the file in router package?
Currently, the application manually initializes and wires dependencies in the
Routes
file. This approach can become difficult to maintain as the application grows and dependencies become more complex.Implementation Plan:
wire.go
file, specifying how these services are initialized.wire_gen.go
file will be automatically generated by Google Wire to manage dependencies.The text was updated successfully, but these errors were encountered: