Lorenz Brun | 62a1edd | 2023-06-20 16:01:44 +0200 | [diff] [blame] | 1 | load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") |
2 | |||||
3 | go_library( | ||||
4 | name = "msguid", | ||||
5 | srcs = ["msguid.go"], | ||||
6 | importpath = "source.monogon.dev/metropolis/pkg/msguid", | ||||
7 | visibility = ["//visibility:public"], | ||||
8 | deps = ["@com_github_google_uuid//:uuid"], | ||||
9 | ) | ||||
10 | |||||
11 | go_test( | ||||
12 | name = "msguid_test", | ||||
13 | srcs = ["msguid_test.go"], | ||||
14 | embed = [":msguid"], | ||||
15 | deps = [ | ||||
16 | "@com_github_google_go_cmp//cmp", | ||||
17 | "@com_github_google_uuid//:uuid", | ||||
18 | ], | ||||
19 | ) |