aboutsummaryrefslogtreecommitdiff
path: root/server/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'server/main.go')
-rw-r--r--server/main.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/server/main.go b/server/main.go
new file mode 100644
index 0000000..b0d3f9d
--- /dev/null
+++ b/server/main.go
@@ -0,0 +1,15 @@
+package main
+
+import (
+ "github.com/gin-gonic/gin"
+ // "net/http"
+)
+
+func main() {
+ myRouter := gin.New()
+ // myRouter.Use(gin.Logger())
+
+ myRouter.Static("/app", "./app")
+
+ myRouter.Run(":8080")
+}