Skip to content

Clarification of entity and repository #31

@lapnd

Description

@lapnd

I might be mistaken, but I was expecting adapter/repository/mysql/example_repo.go to be used as the repository implementation. However, I noticed that the code is actually using adapter/repository/mysql/entity/example.go for the ExampleRepo.

The example.go file inside the entity folder doesn't seem to contain any SQL connection or database logic.

Could you please clarify which file should be used for the repository implementation, and how MySQL is intended to be integrated in this setup?

Thanks!

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