aboutsummaryrefslogtreecommitdiff
path: root/.config/startpage/server.go
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2023-01-12 19:30:21 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2023-01-12 19:30:21 +0530
commita417515939c2b5a6e6ca1791fd8d4b99bf3590d7 (patch)
tree4eb40209e0ae9e9133ed1016be7ea132e87e180f /.config/startpage/server.go
parent56be6e6401ab3c007aa2a023071cbf65d111cdcd (diff)
added alternatives to frequently used modal keybindings
Diffstat (limited to '.config/startpage/server.go')
-rw-r--r--.config/startpage/server.go22
1 files changed, 0 insertions, 22 deletions
diff --git a/.config/startpage/server.go b/.config/startpage/server.go
deleted file mode 100644
index b2eef0c..0000000
--- a/.config/startpage/server.go
+++ /dev/null
@@ -1,22 +0,0 @@
-package main
-
-import (
- "github.com/gin-gonic/gin"
- "net/http"
- "time"
-)
-
-func main() {
- router := gin.New()
- router.LoadHTMLGlob("/home/zt/.config/startpage/index.html")
- router.Static("main", "/home/zt/.config/startpage/")
-
- router.GET("/", func (c *gin.Context) {
- time := time.Now().Format("15:04 02 Jan (Monday)")
- c.HTML(http.StatusOK, "index.html", gin.H{
- "time": time,
- })
- })
-
- router.Run(":8081")
-}