Commit Graph

2 Commits

Author SHA1 Message Date
Akshay Gaikwad
25a3cd007f Move entity_dao.go to common
This includes:
 - Move entity_dao.go to common since it is generic database operation
 interface for all the components.
 - Added `GetX` method to EntityDAO interface. It get entity that matches
 provided field and value both. It is useful in case where service
 lookup for database entities not based on id, name.

Signed-off-by: Akshay Gaikwad <akshay.gaikwad@rafay.co>
2022-01-10 11:49:18 +05:30
nirav-rafay
fcc6f0be90 initial commit for adminsrv 2021-12-28 14:23:52 +05:30