Skip to content

Commit

Permalink
✨ sample application
Browse files Browse the repository at this point in the history
  • Loading branch information
Shion1305 committed Oct 9, 2024
1 parent 209e303 commit bbcd7c2
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package main

import "github.com/gin-gonic/gin"

func main() {
e := gin.Default()

e.GET("/", func(c *gin.Context) {
c.JSON(200, gin.H{
"message": "Hello World",
})
})
e.Run(":8080")
}

0 comments on commit bbcd7c2

Please sign in to comment.