workspace : https://github.com/energye/workspace.git
Module name | Repository addr | Use depend | Desc | Type |
---|---|---|---|---|
lcl | https://github.com/energye/lcl.git | ✓ | LCL basic library | public |
cef | https://github.com/energye/cef.git | ✓ | CEF basic library | public |
wv | https://github.com/energye/wv.git | ✓ | Webview2,Webkit2 basic library | public |
energy | https://github.com/energye/energy.git | ✓ | Energy framework | public |
examples | https://github.com/energye/examples.git | ✓ | All examples | public |
assetserve | https://github.com/energye/assetserve.git | ✓ | Built-in http static resource service | public |
lib | https://github.com/energye/lib.git | x | Binary dynamic link library | private |
gen | https://gitee.com/energye/gen.git | x | Code generation | private |
doc-api | https://gitee.com/energye/energy-doc-api.git | x | Server API, Website publishing and binary file reception | private |
workflows | https://github.com/energye/workflows.git | x | Workflows: Automatic publishing | private |
gitpp | https://gitee.com/snxamdf/gitpp.git | x | Git auto pull push cmd | public |
energy-doc | https://github.com/energye/energye.github.io | x | Energy DOC | public |
Go Version >= 1.20
- 初始化 go workspace
go work init
- 将使用的模块添加到工作区
go work use [module name]
go build -ldflags="-H windowsgui -w -s"
go build -ldflags="-w -s"