package service import ( "xps/datasource" "xps/repositories" ) type DashboardService interface { } type dashboardService struct { dashboardRepo *repositories.DashboardRepo } func NewDashboardService() DashboardService { return &dashboardService{ dashboardRepo: repositories.NewDashboardRepo(datasource.InstanceMaster()), } }