15 lines
303 B
Python
15 lines
303 B
Python
load("@rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "units",
|
|
srcs = ["units.go"],
|
|
importpath = "slackerbot/internal/units",
|
|
visibility = ["//slackerbot:__subpackages__"],
|
|
)
|
|
|
|
go_test(
|
|
name = "units_test",
|
|
srcs = ["units_test.go"],
|
|
embed = [":units"],
|
|
)
|