How to think interfaces in a CRUD app ?

Hello, I have a designing question regarding interfaces and CRUD design. I usually end up with some sort of repo interfaces as such : type UserRepo { Create(name, email string) (int, error) Read(id int) (User, error)...

Read More