github.com/pingcap/tidb/parser@v0.0.0-20231013125129-93a834a6bf8d/format/BUILD.bazel (about)

     1  load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
     2  
     3  go_library(
     4      name = "format",
     5      srcs = ["format.go"],
     6      importpath = "github.com/pingcap/tidb/parser/format",
     7      visibility = ["//visibility:public"],
     8  )
     9  
    10  go_test(
    11      name = "format_test",
    12      timeout = "short",
    13      srcs = ["format_test.go"],
    14      embed = [":format"],
    15      flaky = True,
    16      shard_count = 3,
    17      deps = [
    18          "@com_github_pingcap_errors//:errors",
    19          "@com_github_stretchr_testify//require",
    20      ],
    21  )