blob: e314df8b936c9022b431d73a4d10ffbe57a05e4e [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",
"@com_github_stretchr_testify//assert",
"@com_github_stretchr_testify//require",
],
)