aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/go/bin/bin.go
diff options
context:
space:
mode:
Diffstat (limited to 'examples/go/bin/bin.go')
-rw-r--r--examples/go/bin/bin.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/go/bin/bin.go b/examples/go/bin/bin.go
new file mode 100644
index 0000000000..b0c5917145
--- /dev/null
+++ b/examples/go/bin/bin.go
@@ -0,0 +1,14 @@
+package main
+
+import (
+ "fmt"
+
+ "github_com/user/vendored"
+
+ "github.com/bazelbuild/bazel/examples/go/lib"
+)
+
+func main() {
+ fmt.Println("meaning: ", lib.Meaning())
+ fmt.Println("vendored: ", vendored.Vendored())
+}