load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( name = "opcode", srcs = ["opcode.go"], importpath = "github.com/pingcap/tidb/parser/opcode", visibility = ["//visibility:public"], deps = ["//parser/format"], ) go_test( name = "opcode_test", timeout = "short", srcs = ["opcode_test.go"], embed = [":opcode"], flaky = True, )