load("@io_bazel_rules_go//extras:bindata.bzl", "bindata") load("@io_bazel_rules_go//go:def.bzl", "go_library") bindata( name = "templates_bindata", srcs = glob(["*"]), extra_args = ["."], package = "templates", ) go_library( name = "templates", srcs = [ ":templates_bindata", # keep ], importpath = "code.hackerspace.pl/hscloud/bgpwtf/invoice/templates", # keep visibility = ["//bgpwtf/invoice:__subpackages__"], )