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
current behaviour:
we can only use one router instance in the main func of our application
expected behaviour:
what if we need to split our router into to multiple files (multiple apps inside one project).
thats where we need to make a method called Use() on the Router struct, so that it takes in another router instance.
current behaviour:
we can only use one router instance in the main func of our application
expected behaviour:
what if we need to split our router into to multiple files (multiple apps inside one project).
thats where we need to make a method called Use() on the Router struct, so that it takes in another router instance.
example
some_module.go
The text was updated successfully, but these errors were encountered: