blob: 66723f28c60a4559af0d4dae0c80584e13f4ae5c [file] [log] [blame]
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "jsonutils",
srcs = ["jsonutils.go"],
importpath = "go.skia.org/infra/go/jsonutils",
visibility = ["//visibility:public"],
)
go_test(
name = "jsonutils_test",
srcs = ["jsonutils_test.go"],
data = glob(["testdata/**"]),
embed = [":jsonutils"],
deps = [
"//go/testutils",
"//go/testutils/unittest",
"@com_github_stretchr_testify//assert",
"@com_github_stretchr_testify//require",
],
)