mirror of
https://github.com/chai2010/advanced-go-programming-book.git
synced 2025-05-30 08:37:27 +00:00
33 lines
767 B
Python
Executable File
33 lines
767 B
Python
Executable File
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
package(default_visibility = ["//:generators"])
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"compile.go",
|
|
"parse.go",
|
|
"types.go",
|
|
],
|
|
importpath = "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/httprule",
|
|
deps = [
|
|
"//utilities:go_default_library",
|
|
"@com_github_golang_glog//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
size = "small",
|
|
srcs = [
|
|
"compile_test.go",
|
|
"parse_test.go",
|
|
"types_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//utilities:go_default_library",
|
|
"@com_github_golang_glog//:go_default_library",
|
|
],
|
|
)
|