load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( name = "errors", srcs = ["errors.go"], importpath = "edge-infra.dev/pkg/sds/interlock/internal/errors", visibility = ["//visibility:public"], deps = [ "@com_github_gin_gonic_gin//:gin", "@com_github_go_playground_validator_v10//:validator", ], ) go_test( name = "errors_test", srcs = ["errors_test.go"], embed = [":errors"], deps = [ "@com_github_go_playground_validator_v10//:validator", "@com_github_stretchr_testify//assert", ], )