aboutsummaryrefslogtreecommitdiff
path: root/backend/main.go
diff options
context:
space:
mode:
authorjackyzha0 <[email protected]>2020-05-09 20:15:59 -0700
committerjackyzha0 <[email protected]>2020-05-09 20:15:59 -0700
commitdedabf41a18820527aed9e77b75564e69c9030ce (patch)
tree9258832576f9c1bcad6126cf76ef8f7f6a128e82 /backend/main.go
parentMerge pull request #3 from jackyzha0/doc-expiry (diff)
downloadctrl-v-dedabf41a18820527aed9e77b75564e69c9030ce.tar.xz
ctrl-v-dedabf41a18820527aed9e77b75564e69c9030ce.zip
folder refactor
Diffstat (limited to 'backend/main.go')
-rw-r--r--backend/main.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/backend/main.go b/backend/main.go
new file mode 100644
index 0000000..18e141d
--- /dev/null
+++ b/backend/main.go
@@ -0,0 +1,11 @@
+package main
+
+import (
+ "github.com/jackyzha0/ctrl-v/api"
+ _ "github.com/jackyzha0/ctrl-v/cache" // setup cache
+ _ "github.com/jackyzha0/ctrl-v/db" // setup db
+)
+
+func main() {
+ api.Serve(8080)
+}