1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
- go_library(
- name = "go_default_library",
- srcs = [
- "dce.go",
- "doc.go",
- "hash.go",
- "marshal.go",
- "node.go",
- "node_net.go",
- "sql.go",
- "time.go",
- "util.go",
- "uuid.go",
- "version1.go",
- "version4.go",
- ],
- importmap = "go-common/vendor/github.com/google/uuid",
- importpath = "github.com/google/uuid",
- visibility = ["//visibility:public"],
- )
- go_test(
- name = "go_default_test",
- srcs = [
- "json_test.go",
- "seq_test.go",
- "sql_test.go",
- "uuid_test.go",
- ],
- embed = [":go_default_library"],
- )
- filegroup(
- name = "package-srcs",
- srcs = glob(["**"]),
- tags = ["automanaged"],
- visibility = ["//visibility:private"],
- )
- filegroup(
- name = "all-srcs",
- srcs = [":package-srcs"],
- tags = ["automanaged"],
- visibility = ["//visibility:public"],
- )
|