load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( name = "apperror", srcs = [ "abort.go", "app.go", "error.go", "fosite.go", "json.go", "redirect.go", "status.go", ], importpath = "edge-infra.dev/pkg/edge/iam/apperror", visibility = ["//visibility:public"], ) go_test( name = "apperror_test", srcs = [ "abort_test.go", "json_test.go", "redirect_test.go", "status_test.go", ], deps = [ ":apperror", "//pkg/lib/fog", "@com_github_gin_gonic_gin//:gin", "@com_github_go_logr_logr//:logr", "@com_github_pkg_errors//:errors", "@com_github_stretchr_testify//assert", ], )