From 25642eff642e8679cae02f4ee38ec0e026a57ec4 Mon Sep 17 00:00:00 2001 From: Kyle Isom Date: Sat, 29 Apr 2023 23:49:04 -0700 Subject: [PATCH] run gazelle on logger --- deps.bzl | 6 ++++++ log/BUILD.bazel | 9 +++++++++ 2 files changed, 15 insertions(+) create mode 100644 log/BUILD.bazel diff --git a/deps.bzl b/deps.bzl index 7163a95..07450d8 100644 --- a/deps.bzl +++ b/deps.bzl @@ -7,3 +7,9 @@ def go_dependencies(): sum = "h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=", version = "v1.1.1", ) + go_repository( + name = "com_github_hashicorp_go_syslog", + importpath = "github.com/hashicorp/go-syslog", + sum = "h1:KaodqZuhUoZereWVIYmpUgZysurB1kBLX2j0MwMrUAE=", + version = "v1.0.0", + ) diff --git a/log/BUILD.bazel b/log/BUILD.bazel new file mode 100644 index 0000000..a73a852 --- /dev/null +++ b/log/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "log", + srcs = ["logger.go"], + importpath = "git.wntrmute.dev/kyle/kdhcp/log", + visibility = ["//visibility:public"], + deps = ["@com_github_hashicorp_go_syslog//:go-syslog"], +)