xref: /aosp_15_r20/external/bazelbuild-rules_go/examples/basic-gazelle/deps.bzl (revision 9bb1b549b6a84214c53be0924760be030e66b93a)
1load("@bazel_gazelle//:deps.bzl", "go_repository")
2
3def go_dependencies():
4    go_repository(
5        name = "com_github_cpuguy83_go_md2man_v2",
6        importpath = "github.com/cpuguy83/go-md2man/v2",
7        sum = "h1:p1EgwI/C7NhT0JmVkwCD2ZBK8j4aeHQX2pMHHBfMQ6w=",
8        version = "v2.0.2",
9    )
10    go_repository(
11        name = "com_github_go_logr_logr",
12        importpath = "github.com/go-logr/logr",
13        sum = "h1:QK40JKJyMdUDz+h+xvCsru/bJhvG0UxvePV0ufL/AcE=",
14        version = "v1.2.0",
15    )
16
17    go_repository(
18        name = "com_github_inconshreveable_mousetrap",
19        importpath = "github.com/inconshreveable/mousetrap",
20        sum = "h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM=",
21        version = "v1.0.0",
22    )
23
24    go_repository(
25        name = "com_github_russross_blackfriday_v2",
26        importpath = "github.com/russross/blackfriday/v2",
27        sum = "h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk=",
28        version = "v2.1.0",
29    )
30    go_repository(
31        name = "com_github_spf13_cobra",
32        importpath = "github.com/spf13/cobra",
33        sum = "h1:X+jTBEBqF0bHN+9cSMgmfuvv2VHJ9ezmFNf9Y/XstYU=",
34        version = "v1.5.0",
35    )
36    go_repository(
37        name = "com_github_spf13_pflag",
38        importpath = "github.com/spf13/pflag",
39        sum = "h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=",
40        version = "v1.0.5",
41    )
42
43    go_repository(
44        name = "in_gopkg_check_v1",
45        importpath = "gopkg.in/check.v1",
46        sum = "h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=",
47        version = "v0.0.0-20161208181325-20d25e280405",
48    )
49
50    go_repository(
51        name = "in_gopkg_yaml_v2",
52        importpath = "gopkg.in/yaml.v2",
53        sum = "h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=",
54        version = "v2.4.0",
55    )
56    go_repository(
57        name = "io_k8s_klog_v2",
58        importpath = "k8s.io/klog/v2",
59        sum = "h1:atnLQ121W371wYYFawwYx1aEY2eUfs4l3J72wtgAwV4=",
60        version = "v2.80.1",
61    )
62