18 lines
244 B
Markdown
18 lines
244 B
Markdown
#Gin Default Server
|
|
|
|
This is API experiment for Gin.
|
|
|
|
```go
|
|
package main
|
|
|
|
import (
|
|
"github.com/gin-gonic/gin"
|
|
"github.com/gin-gonic/gin/ginS"
|
|
)
|
|
|
|
func main() {
|
|
ginS.GET("/", func(c *gin.Context) { c.String("Hello World") })
|
|
ginS.Run()
|
|
}
|
|
```
|