load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")

package(default_visibility = ["//:__subpackages__"])  # keep

go_library(
    name = "random",
    srcs = ["random.go"],
    importpath = "github.com/google/tink/go/subtle/random",
    visibility = ["//visibility:public"],
)

go_test(
    name = "random_test",
    srcs = ["random_test.go"],
    deps = [":random"],
)

alias(
    name = "go_default_library",
    actual = ":random",
    visibility = ["//visibility:public"],
)
