govcl template repo
govcl repo: https://github.com/ying32/govcl
适配Go 1.15以上版本.
CI构建使用Go 1.18.
Go project (go.mod)
两种方法:
- 把
go.mod文件里的包名改成自己的.(可能会出现未知错误) - 把
go.mod删了,重新go mod init 包名.
Govcl GUI (project.lpi)
改个项目名行了.
CI 构建 (go-build.yml)
把.github\workflows\go-build.yml里面的所有govcl-template替换成自己的项目名.
自带忽略非代码文件
和编译Artifacts.
可以先用init.sh升级下包.
然后,对应相应的系统运行批处理脚本
| System | File |
|---|---|
| Windows(默认64bit) | build-win.bat |
| Linux | build-linux.sh |
| MacOS | 穷,谁帮我写个 |
别忘了把.github\FUNDING.yml文件删了.
.gitignore文件可以增减,里面有注释.
LICENSE是本项目的许可证,可以在自己项目里替换.
其他随意.