load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( name = "fog", srcs = [ "adapter.go", "context.go", "doc.go", "encoder.go", "flags.go", "fog.go", "middleware.go", "operation.go", "options.go", "types.go", ], importpath = "edge-infra.dev/pkg/lib/fog", visibility = ["//visibility:public"], deps = [ "@com_github_go_logr_logr//:logr", "@com_github_google_uuid//:uuid", "@org_uber_go_zap//:zap", "@org_uber_go_zap//buffer", "@org_uber_go_zap//zapcore", ], ) go_test( name = "fog_test", srcs = [ "examples_test.go", "fog_test.go", "middleware_test.go", ], embed = [":fog"], deps = [ "@com_github_go_logr_logr//:logr", "@com_github_stretchr_testify//assert", ], )