12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- package(default_visibility = ["//visibility:public"])
- load(
- "@io_bazel_rules_go//go:def.bzl",
- "go_library",
- )
- go_library(
- name = "go_default_library",
- srcs = [
- "http.go",
- "up.go",
- "up_card.go",
- "up_group.go",
- "up_stat.go",
- "up_switch.go",
- ],
- importpath = "go-common/app/service/main/up/server/http",
- tags = ["automanaged"],
- visibility = ["//visibility:public"],
- deps = [
- "//app/service/main/up/api/v1:go_default_library",
- "//app/service/main/up/conf:go_default_library",
- "//app/service/main/up/model:go_default_library",
- "//app/service/main/up/service:go_default_library",
- "//library/ecode:go_default_library",
- "//library/log:go_default_library",
- "//library/net/http/blademaster:go_default_library",
- "//library/net/http/blademaster/middleware/permit:go_default_library",
- "//library/net/http/blademaster/middleware/verify:go_default_library",
- "//library/net/metadata:go_default_library",
- "//vendor/github.com/go-sql-driver/mysql:go_default_library",
- "//vendor/github.com/siddontang/go-mysql/mysql: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"],
- )
|