chore: 打包程序restagent变更omc

This commit is contained in:
TsMask
2024-03-19 20:20:12 +08:00
parent a4c71a4d70
commit b01bc44578
84 changed files with 308 additions and 190 deletions

View File

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