remove interfaces

This commit is contained in:
yanghao05
2023-02-09 14:57:32 +08:00
parent 45400ae272
commit aceac5d8eb
16 changed files with 74 additions and 137 deletions

View File

@@ -4,13 +4,10 @@ import (
"atom/modules/system/dao"
)
type SystemService interface {
}
type systemService struct {
type SystemService struct {
dao dao.Dao
}
func NewSystemService(dao dao.Dao) SystemService {
return &systemService{dao: dao}
func NewSystemService(dao dao.Dao) *SystemService {
return &SystemService{dao: dao}
}