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/fiddlek/go/types", | |
visibility = ["//visibility:public"], | |
deps = ["//fiddlek/go/linenumbers"], | |
) | |
go_test( | |
name = "types_test", | |
srcs = ["types_test.go"], | |
embed = [":types"], | |
deps = ["@com_github_stretchr_testify//assert"], | |
) |