2023-05-04 21:00:30 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "mwc",
|
|
|
|
srcs = ["mwc.go"],
|
|
|
|
importpath = "git.wntrmute.dev/kyle/goutils/mwc",
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "mwc_test",
|
|
|
|
srcs = ["mwc_test.go"],
|
|
|
|
embed = [":mwc"],
|
|
|
|
deps = [
|
2023-05-04 22:11:15 +00:00
|
|
|
"//assert",
|
|
|
|
"//testio",
|
2023-05-04 21:00:30 +00:00
|
|
|
],
|
2023-05-04 22:11:15 +00:00
|
|
|
size = "small",
|
2023-05-04 21:00:30 +00:00
|
|
|
)
|