mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-30 04:20:53 +00:00
Upgrade gin-gonic to latest master, fix compatibility issues
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
# 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(200, "Hello World") })
|
||||
ginS.Run()
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user