Skip to content

Instantly share code, notes, and snippets.

@PxyUp
Created October 9, 2019 21:42
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/7d3317a2a7f48469b66895376e03d9ea to your computer and use it in GitHub Desktop.
Save PxyUp/7d3317a2a7f48469b66895376e03d9ea to your computer and use it in GitHub Desktop.
Application BUILD
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_test")
go_binary(
name = "main_app",
srcs = ["main.go"],
importpath = "go_monogrepo/packages/main",
deps = [
"//packages/main_app/router:router"
],
)
go_test(
name = "mainTest",
srcs = ["main_test.go"],
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment