mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-22 17:42:14 +08:00
fix code style
This commit is contained in:
parent
711f77e3ed
commit
d944de715a
@ -313,7 +313,7 @@ func TestBindUri(t *testing.T) {
|
|||||||
|
|
||||||
type Person struct {
|
type Person struct {
|
||||||
Name string `uri:"name" binding:"required"`
|
Name string `uri:"name" binding:"required"`
|
||||||
Id string `uri:"id" binding:"required"`
|
Id string `uri:"id" binding:"required"`
|
||||||
}
|
}
|
||||||
router.Handle("GET", "/rest/:name/:id", func(c *Context) {
|
router.Handle("GET", "/rest/:name/:id", func(c *Context) {
|
||||||
var person Person
|
var person Person
|
||||||
|
Loading…
x
Reference in New Issue
Block a user