2024-08-06 10:09:15 +08:00
2024-08-06 10:02:32 +08:00
2024-08-06 09:24:09 +08:00
2024-08-06 10:02:32 +08:00
2024-08-06 10:02:32 +08:00
2024-08-06 10:02:32 +08:00
2024-08-06 10:02:32 +08:00
2024-08-06 09:24:09 +08:00
2024-08-06 09:24:09 +08:00
2024-08-06 10:02:32 +08:00
2024-08-06 10:02:32 +08:00
2024-08-06 09:24:09 +08:00
2024-08-06 10:09:15 +08:00
2024-08-06 09:24:09 +08:00

bazel 的 golang 示例

  1. 更新依赖关系
    参考地址: https://github.com/bazelbuild/rules_go/blob/master/docs/go/core/bzlmod.md bazel mod tidy

  2. 包 BUILD.bazel 文件更新 bazel run //:gazelle

  3. 编译命令 bazel build //:hello

  4. 运行命令 bazel run //:hello

  5. 整个项目参考https://github.com/werkt/bf-client/tree/429121110bcdba3673a1423c71a183b9145d17ec 制作

S
Description
No description provided
Readme
77 KiB
Languages
Makefile 83.7%
Starlark 10.6%
Go 5.7%