blob: 33ba5fee0587db9f84b6f30de57c463c6a4e5468 [file] [log] [blame]
load("//bazel/go:go_test.bzl", "go_test")
load("@io_bazel_rules_go//go:def.bzl", "go_library")
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",
],
)