mirror of
https://github.com/kataras/iris.git
synced 2026-02-10 12:46:17 +00:00
update dependencies
This commit is contained in:
@@ -78,7 +78,7 @@ func newApp() *iris.Application {
|
||||
return
|
||||
}
|
||||
|
||||
ctx.JSON(map[string]interface{}{
|
||||
ctx.JSON(map[string]any{
|
||||
// you can pass any custom structured go value of course.
|
||||
"user_id": userID,
|
||||
})
|
||||
|
||||
@@ -35,7 +35,7 @@ func TestRoutingBasic(t *testing.T) {
|
||||
expectedUUintResponse = expectedUResponse("uid", "uint", "42")
|
||||
expectedUAlphabeticalResponse = expectedUResponse("firstname", "alphabetical", "abcd")
|
||||
|
||||
expectedAPIUsersIndexResponse = map[string]interface{}{"user_id": 42}
|
||||
expectedAPIUsersIndexResponse = map[string]any{"user_id": 42}
|
||||
|
||||
expectedAdminIndexResponse = "<h1>Hello from admin/</h1>"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user