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.
Xinwei Xiong
c795304df1
🚀 Enhancements in Offline Deployment Documentation, CICD Process Upgrades, Deployment Optimization, and Additional Fixes (#1721)
* feat: support openim prom enbels
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* feat: support openim prom enbels
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* feat: support openim prom enbels
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* feat: support openim prom enbels
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* feat: support openim prom enbels
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* feat: support openim prom enbels
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* feat: support openim prom enbels
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* feat: support openim prom enbels
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* feat: add go formity checker
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* feat: add openim offline deployment docs
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* feat: add openim offline deployment docs
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* feat: add openim offline deployment docs
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* feat: add openim support arm arch
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* fix: fox openim support arm arch
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* fix: fox openim support arm arch
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* feat: add openim v3.4 and v3.5 changelog
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* feat: add devcontainer.json file
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* feat: add openim v3.4 and v3.5 changelog
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* feat: add openim v3.4 and v3.5 changelog
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* Update util.sh
amend shell get pid command fd on mac.
* feat: Add To start developing OpenIM Docs
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* docs: update openim readme and dov container
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* feat: set openim lint
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
* feat: fix go release scripts
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* feat: fix go release scripts
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* docs(changelog): add CHANGELOG-3.5.0+6.a09200e.md
* docs(changelog): add CHANGELOG-3.5.0+2.e0bd54f.md
* docs(changelog): add CHANGELOG-3.5.0+2.e0bd54f-1-g4ce6a0fa6.md
* feat: set openim lint
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
* docs(changelog): add CHANGELOG-3.5.0+2.e0bd54f-3-g52f9fc209.md
* docs(changelog): add CHANGELOG-3.5.0+2.e0bd54f-4-g87f685b17.md
* docs(changelog): add CHANGELOG-3.5.0.md
* feat: set openim lint
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
* fix: fix scripts functions upload
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* fix: fix scripts functions upload
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* docs(changelog): add CHANGELOG-3.5.0.md
* fix: fix scripts functions upload
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* fix: fix scripts functions upload
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* feat: set openim lint
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
---------
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
Co-authored-by: mrwenhui <mr.wenhui@gmail.com>
|
11 months ago |
.. |
README.md
|
✨Large refactoring projects: OpenIM automation, scripting, and openimctl refactoring (#825)
|
1 year ago |
go.mod
|
feat(release-v3.4): Enhanced Build, Deployment, and Configuration Management for Optimized Performance and Automation (#1255)
|
1 year ago |
go.sum
|
✨Large refactoring projects: OpenIM automation, scripting, and openimctl refactoring (#825)
|
1 year ago |
typecheck.go
|
🚀 Enhancements in Offline Deployment Documentation, CICD Process Upgrades, Deployment Optimization, and Additional Fixes (#1721)
|
11 months ago |
typecheck_test.go
|
☀️ feat: Enhancing OpenIM with Integrated E2E Testing and CI/CD Enhancements (#1359)
|
1 year ago |
OpenIM Typecheck
OpenIM Typecheck 为所有 Go 构建平台进行跨平台源代码类型检查。
优点
- 速度:OpenIM 完整编译大约需要 3 分钟,而使用 Typecheck 只需数秒。
- 资源消耗:与需要 >40GB 的 RAM 不同,Typecheck 只需 <8GB 的 RAM。
实现
OpenIM Typecheck 使用 Go 内置的解析和类型检查库 (go/parser
和 go/types
)。然而,这些库并不是 go 编译器所使用的。偶尔会出现不匹配的情况,但总的来说,它们是相当接近的。
错误处理
如果错误不会阻止构建,可以忽略。
go/types
报告的错误,但 go build
不会:
- 真正的错误(根据规范):
- 应尽量修复。如果无法修复或正在进行中(例如,已被外部引用的代码),则可以忽略。
- 不真实的错误:
- 应忽略并在适当的情况下向上游报告。
- 例如:staging 和 generated 类型之间的类型检查不匹配
go build
报告的错误,但我们不会: