Added some comments for myself

This commit is contained in:
2025-09-16 12:18:35 +03:30
parent f136ae58b3
commit 5680f9471f

View File

@@ -13,6 +13,9 @@ import (
) )
// fx.In allows fx to inject multiple dependencies // fx.In allows fx to inject multiple dependencies
// I think we could just put all thses in SetupRouter() but in this way we are first defining the dependencies we need
// and by using fx.In we say that whenever RouterParams was needed, inject dependensies into it and give it to SetupRouter()
type RouterParams struct { type RouterParams struct {
fx.In fx.In