Skip to content

Clarification of entity and repository #31

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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