style: 去除Impl接口声明层聚焦服务函数

This commit is contained in:
TsMask committed 2024-10-14 10:51:43 +08:00
1 parent 00ff6217c8
commit 873dadf014
33 files changed
+1000 -1198

No files matched your search

@@ -9,15 +9,14 @@ import (
// 实例化控制层 SystemInfoController 结构体
var NewSystemInfo = &SystemInfoController{
systemInfogService: service.NewSystemInfoImpl,
systemInfogService: service.NewSystemInfo,
}
// 服务器监控信息
//
// PATH /monitor/system-info
type SystemInfoController struct {
// 服务器系统相关信息服务
systemInfogService service.ISystemInfo
systemInfogService *service.SystemInfo // 服务器系统相关信息服务
}
// 服务器信息