Skip to content

Instantly share code, notes, and snippets.

@PxyUp
Created October 9, 2019 21:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PxyUp/bb7eb6043b8c46092a6ffaf6860ac27a to your computer and use it in GitHub Desktop.
Save PxyUp/bb7eb6043b8c46092a6ffaf6860ac27a to your computer and use it in GitHub Desktop.
Build file for router in main_app
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "router",
srcs = ["router.go"],
importpath = "go_monogrepo/packages/main_app/router",
visibility = ["//visibility:public"],
deps = [
"//packages/shared/handlers/health:health",
"@com_github_gin_gonic_gin//:go_default_library"
]
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment