Skip to content

accept interface, return pointer struct #75

@najibjodiansyah

Description

@najibjodiansyah

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions