load("@io_bazel_rules_go//go:def.bzl", "go_library") | |
load("//bazel/go:go_test.bzl", "go_test") | |
go_library( | |
name = "email", | |
srcs = ["email.go"], | |
importpath = "go.skia.org/infra/go/email", | |
visibility = ["//visibility:public"], | |
deps = ["//go/skerr"], | |
) | |
go_test( | |
name = "email_test", | |
srcs = ["email_test.go"], | |
embed = [":email"], | |
deps = ["@com_github_stretchr_testify//require"], | |
) |