| load("@io_bazel_rules_go//go:def.bzl", "go_library") | |
| load("//bazel/go:go_test.bzl", "go_test") | |
| 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 = ["@com_github_stretchr_testify//require"], | |
| ) |