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.

12 lines
319 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

## bazel 的golang示例
1. 更新依赖命令
bazel run //:gazelle-update-repos
2. 编译命令
bazel build //:hello
3. 运行命令
bazel run //:hello
4. 每一个BUILD.bazel都需要配置单独的deps,内容参考deps.bzl,找不到包申明的可以上github上搜索找到对应的bazel_deps配置作参考