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!
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!