aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-07-19 19:55:39 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-07-19 19:55:39 +0530
commite63a518433fe636596d5b61631f906af186341ea (patch)
treeec12af388bb693aef6d03505e5674e556e7799b9 /main.go
parent529849fabcfafaac573de22b1aa550c3df5b898e (diff)
Removed GoLang Heroku Server
Diffstat (limited to 'main.go')
-rw-r--r--main.go17
1 files changed, 0 insertions, 17 deletions
diff --git a/main.go b/main.go
deleted file mode 100644
index c9d0e56..0000000
--- a/main.go
+++ /dev/null
@@ -1,17 +0,0 @@
-package main
-
-import (
- "github.com/gin-gonic/gin"
- "github.com/gin-gonic/contrib/static"
- "os"
-)
-
-func main() {
- r := gin.New()
- r.Use(gin.Logger())
-
- r.Use(static.Serve("/",
- static.LocalFile("./build", true)))
-
- r.Run(":" + os.Getenv("PORT"))
-}