Files
slacker-bot/slackerbot/internal/config/BUILD.bazel
T
2026-11-01 14:59:37 -05:00

21 lines
492 B
Python

load("@rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "config",
srcs = ["config.go"],
importpath = "slackerbot/internal/config",
visibility = ["//slackerbot:__subpackages__"],
deps = [
"//slackerbot/internal/model",
"//slackerbot/internal/units",
"@com_github_burntsushi_toml//:toml",
],
)
go_test(
name = "config_test",
srcs = ["config_test.go"],
data = ["//:config.example.toml"],
embed = [":config"],
)