🔥 remove unused code

Co-authored-by: haraldnilsen <harald_998@hotmail.com>
Signed-off-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>
This commit is contained in:
Sindre Kjelsrud 2023-12-23 15:54:23 +01:00
parent c8590308b0
commit d56893e9dd
Signed by untrusted user who does not match committer: sidski
GPG key ID: D2BBDF3EDE6BA9A6

View file

@ -2,7 +2,6 @@ package main
import ( import (
"fmt" "fmt"
"net/http"
"helseveileder/db" "helseveileder/db"
@ -19,13 +18,6 @@ type FormData struct {
func main() { func main() {
router := gin.Default() router := gin.Default()
// Define a basic GET request handler
router.GET("/ping", func(c *gin.Context) {
c.JSON(http.StatusOK, gin.H{
"message": "pong",
})
})
// Info about user // Info about user
router.POST("/submitform", func(c *gin.Context) { router.POST("/submitform", func(c *gin.Context) {