mager: 合并11.3版本,包名和主线一样方便复制
This commit is contained in:
@@ -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 指定配置文件读取
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# 外层 lib 和 features 粘合层
|
||||
|
||||
- config.go 配置合并: omc.yaml 文件内容,主要是数据库配置
|
||||
- config.go 配置合并: restagent.yaml 文件内容,主要是数据库配置
|
||||
|
||||
|
||||
Reference in New Issue
Block a user