mager: 合并11.3版本,包名和主线一样方便复制

This commit is contained in:
TsMask
2024-11-23 18:54:02 +08:00
parent c0368c07ef
commit d5954d40c8
514 changed files with 24451 additions and 17932 deletions

View File

@@ -3,16 +3,15 @@ package libfeatures
import (
"fmt"
libConf "nms_cxy/lib/core/conf"
libGlobal "nms_cxy/lib/global"
libConfig "nms_cxy/omc/config"
libConf "be.ems/lib/core/conf"
libGlobal "be.ems/lib/global"
libConfig "be.ems/restagent/config"
"github.com/spf13/viper"
)
// BuildInfo 程序-V查看编译版本号信息
func BuildInfo() string {
return fmt.Sprintf("OMC Version: %s\n%s\n%s\n\n", libGlobal.Version, libGlobal.BuildTime, libGlobal.GoVer)
return fmt.Sprintf("OMC restagent version: %s\n%s\n%s\n\n", libGlobal.Version, libGlobal.BuildTime, libGlobal.GoVer)
}
// ConfigRead 指定配置文件读取

View File

@@ -1,4 +1,4 @@
# 外层 lib 和 features 粘合层
- config.go 配置合并: omc.yaml 文件内容,主要是数据库配置
- config.go 配置合并: restagent.yaml 文件内容,主要是数据库配置