Created
November 3, 2020 07:14
-
-
Save dipeshhkc/9acc1590349ee1fd5c1f2baf58945fb7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"net/http" | |
"github.com/gin-gonic/gin" | |
) | |
func main() { | |
r := gin.New() | |
r.GET("/", func(c *gin.Context) { | |
c.String(http.StatusOK, "Hello World") | |
}) | |
r.Run() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment