46 lines
1.2 KiB
Python
46 lines
1.2 KiB
Python
package(default_visibility = ["//visibility:public"])
|
|
|
|
load(
|
|
"@io_bazel_rules_go//go:def.bzl",
|
|
"go_library",
|
|
)
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"item_likes.go",
|
|
"like.go",
|
|
"service.go",
|
|
"user_likes.go",
|
|
],
|
|
importpath = "go-common/app/job/main/thumbup/service",
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//app/job/main/thumbup/conf:go_default_library",
|
|
"//app/job/main/thumbup/dao:go_default_library",
|
|
"//app/job/main/thumbup/model:go_default_library",
|
|
"//app/service/main/thumbup/model:go_default_library",
|
|
"//library/ecode:go_default_library",
|
|
"//library/log:go_default_library",
|
|
"//library/queue/databus:go_default_library",
|
|
"//library/queue/databus/databusutil:go_default_library",
|
|
"//library/sync/pipeline:go_default_library",
|
|
"//library/time:go_default_library",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [":package-srcs"],
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:public"],
|
|
)
|