]> git.puffer.fish Git - matthieu/nova.git/commitdiff
base for the manager
authorMatthieu <matthieu@developershouse.xyz>
Sat, 25 Sep 2021 07:18:46 +0000 (11:18 +0400)
committerMatthieu <matthieu@developershouse.xyz>
Sat, 25 Sep 2021 07:18:46 +0000 (11:18 +0400)
manager/BUILD.bazel [new file with mode: 0644]
manager/main.go [new file with mode: 0644]

diff --git a/manager/BUILD.bazel b/manager/BUILD.bazel
new file mode 100644 (file)
index 0000000..6588d89
--- /dev/null
@@ -0,0 +1,14 @@
+load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
+
+go_library(
+    name = "manager_lib",
+    srcs = ["main.go"],
+    importpath = "github.com/discordnova/nova/manager",
+    visibility = ["//visibility:private"],
+)
+
+go_binary(
+    name = "manager",
+    embed = [":manager_lib"],
+    visibility = ["//visibility:public"],
+)
diff --git a/manager/main.go b/manager/main.go
new file mode 100644 (file)
index 0000000..0507461
--- /dev/null
@@ -0,0 +1,7 @@
+package main
+
+import "fmt"
+
+func main() {
+       fmt.Println("Hi! I am the nova manager :)")
+}
\ No newline at end of file