You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lucas
34c2cb5d28
|
3 months ago | |
---|---|---|
constant | 4 months ago | |
.gitignore | 4 months ago | |
IotaData.go | 4 months ago | |
LICENSE | 4 months ago | |
README.md | 4 months ago | |
aggData.go | 4 months ago | |
alarm.go | 4 months ago | |
alarmMsg.go | 4 months ago | |
cacheData.go | 3 months ago | |
constant.go | 4 months ago | |
dataTrace.go | 4 months ago | |
dataUnit.go | 4 months ago | |
deviceData.go | 4 months ago | |
deviceFactorProto.go | 4 months ago | |
deviceInfo.go | 4 months ago | |
deviceMeta.go | 4 months ago | |
esGroupTheme.go | 3 months ago | |
esRaw.go | 4 months ago | |
esTheme.go | 3 months ago | |
esVbRaw.go | 4 months ago | |
factor.go | 4 months ago | |
filter.go | 4 months ago | |
formula.go | 4 months ago | |
formulaType.go | 4 months ago | |
go.mod | 4 months ago | |
go.sum | 4 months ago | |
iotaAlarm.go | 4 months ago | |
iotaDeploy.go | 4 months ago | |
iotaDevice.go | 4 months ago | |
iotaScheme.go | 4 months ago | |
processData.go | 4 months ago | |
rpc_node.go | 4 months ago | |
staionGroup.go | 4 months ago | |
station.go | 4 months ago | |
stationGroup_test.go | 4 months ago | |
structure.go | 4 months ago | |
threshold.go | 4 months ago | |
threshold_agg.go | 4 months ago |
README.md
common_models 通用结构体模块
开发语言和版本
golang ,版本 go1.23.1
平台支持
安心云4.0
使用方式:
- 设置 go 环境
set GOPRIVATE=gitea.anxinyun.cn - 查询go 版本
go list -m -versions gitea.anxinyun.cn/container/common_models
如若 GOPRIVATE=gitea.anxinyun.cn 生效,则会返回 common_models 的版本信息。
如若无版本信息返回,有可能是没有 container 的权限,也有可能环境变量设置没有生效。
异常情况处理:
- 无 https://gitea.anxinyun.cn/container 访问权限,可以联系下管理员(刘歆毅)。
- 环境变量设置不生效
解决方法,在GoLand工具中进行设置:
1)打开 Settings
2)Go > GOROOT,Download Go SDK
3)Go > Go Modules,设置环境变量 GOPRIVATE=gitea.anxinyun.cn
依赖包管理
common_models 如若有修改,必须需要同步升级 common_utils、et-go