英文: go build not working when used with workspaces 问题 以下是我的golang代码结构: ├── go.work ├── moda │ ├── go...
无法从其他标签的源代码构建和安装 Go 语言。
英文: Cannot build and install go from source code from another tag 问题 我正在尝试使用这个文档中的源代码构建和安装Go。当我按照以下步...
go build -mod=mod with no go.mod
英文: go build -mod=mod with no go.mod 问题 如果我运行类似以下命令的命令: go build -mod=mod -o xyz.exe github.com/some...
使用`go build`命令为iPhone模拟器构建静态库。
英文: Building a static library with go build for Iphone simulator 问题 我正在使用以下命令在我的iOS项目中构建一个C存档: GOOS=...
预编译 Golang 项目的依赖项以进行缓存
英文: Pre-compiling Golang project dependencies to cache 问题 简而言之,我的当前用例涉及在Docker容器内动态创建一个Golang插件。编译过程...
Golang构建多平台问题
英文: Golang Building Multi Platform Issue 问题 Golang构建多平台问题 我正在构建一个Go应用程序,希望能够在Linux和Windows上构建。对于Wind...
将会构建打包未使用的外部依赖吗?
英文: Will go build pack unused external dependencies? 问题 我有一个计划在多个项目中使用的lib模块。它将依赖于许多其他模块。 但并不是所有的项目都...
将多个包中的Go测试构建为单个文件。
英文: Building go tests from multiple packages into single file 问题 有没有办法将位于多个包内的项目中的所有测试文件构建成一个单独的二进制文...
如何在不执行测试的情况下编译整个代码库中的所有测试?
英文: How to compile all tests across a repo without executing them 问题 我有一个存储库,多个团队贡献了集成测试。 所有这些测试都隐藏在...
GO Monorepo: 需要使用 go build 重新构建的文件列表
英文: GO Monorepo: List of Files that need to be re-built using go build 问题 我有一个用于我的Go项目的monorepo设置。如果...