Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAdminRepository ¶
func NewAdminRepository() admin.Repository
NewAdminRepository will create new an AdminRepository object representation of admin.Repository interface
Types ¶
type AdminRepository ¶
type AdminRepository struct { }
AdminRepository repository
func (*AdminRepository) GetByID ¶
func (r *AdminRepository) GetByID(id string) (data interface{}, err error)
GetByID will get data by ID
Click to show internal directories.
Click to hide internal directories.