mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-22 17:42:14 +08:00
fix bug
This commit is contained in:
parent
4cfbd9c7b3
commit
711f77e3ed
@ -334,7 +334,7 @@ func TestBindUriError(t *testing.T) {
|
||||
router := Default()
|
||||
|
||||
type Member struct {
|
||||
number string `uri:"num" binding:"required,uuid"`
|
||||
Number string `uri:"num" binding:"required,uuid"`
|
||||
}
|
||||
router.Handle("GET", "/new/rest/:num", func(c *Context) {
|
||||
var m Member
|
||||
|
Loading…
x
Reference in New Issue
Block a user