load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( name = "ghappman", srcs = [ "client.go", "ghappman.go", "session.go", ], embedsrcs = ["templates/form.tmpl"], importpath = "edge-infra.dev/pkg/f8n/devinfra/ghappman", visibility = ["//visibility:public"], deps = [ "@com_github_gin_gonic_gin//:gin", "@com_github_google_go_github_v33//github", "@com_google_cloud_go_iam//credentials/apiv1", "@com_google_cloud_go_iam//credentials/apiv1/credentialspb", "@org_golang_x_crypto//bcrypt", "@org_golang_x_oauth2//:oauth2", ], ) go_test( name = "ghappman_test", srcs = [ "client_test.go", "ghappman_test.go", "session_test.go", ], embed = [":ghappman"], race = "on", )