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

accept interface, return pointer struct #75

Open
najibjodiansyah opened this issue Apr 24, 2023 · 0 comments
Open

accept interface, return pointer struct #75

najibjodiansyah opened this issue Apr 24, 2023 · 0 comments

Comments

@najibjodiansyah
Copy link

when creating a constructor in the repository and use case, besides returning an interface, why don't we return the pointer of a struct? any concern about it? maybe in performance or something else?

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