Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor : CommandService & MainService #64

Open
joyguptaa opened this issue Feb 26, 2025 · 0 comments
Open

Refactor : CommandService & MainService #64

joyguptaa opened this issue Feb 26, 2025 · 0 comments

Comments

@joyguptaa
Copy link
Contributor

          @pankajjs  and @joyguptaa

for me Looking at above two function signatures, they're syntactically different but functionally similar.
@joyguptaa's code explicitly returns a function with the HTTP handler signature, while @pankajjs your suggestions returns the same function but uses the type alias http.HandlerFunc. so please help me to understand about your suggestions looks like NIT to me

Originally posted by @iamitprakash in #55 (comment)

@joyguptaa joyguptaa mentioned this issue Feb 26, 2025
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant