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