16 lines
377 B
Python
16 lines
377 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
|
|
|
|
go_library(
|
|
name = "example_lib",
|
|
srcs = ["example.go"],
|
|
importpath = "git.wntrmute.dev/kyle/goutils/logging/example",
|
|
visibility = ["//visibility:private"],
|
|
deps = ["//logging"],
|
|
)
|
|
|
|
go_binary(
|
|
name = "example",
|
|
embed = [":example_lib"],
|
|
visibility = ["//visibility:public"],
|
|
)
|