load("//bazel/go:go_test.bzl", "go_test") | |
load("@io_bazel_rules_go//go:def.bzl", "go_library") | |
go_library( | |
name = "types", | |
srcs = ["types.go"], | |
importpath = "go.skia.org/infra/bugs-central/go/types", | |
visibility = ["//visibility:public"], | |
deps = ["@com_github_hako_durafmt//:durafmt"], | |
) | |
go_test( | |
name = "types_test", | |
srcs = ["types_test.go"], | |
embed = [":types"], | |
deps = [ | |
"//go/testutils/unittest", | |
"@com_github_stretchr_testify//require", | |
], | |
) |