accept interface, return pointer struct

Author: najibjodiansyahCreated Apr 24, 2023Updated Apr 24, 2023

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?