mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 09:57:01 +00:00
update code for go version 1.24
This commit is contained in:
@@ -93,7 +93,7 @@ func testSessions(t *testing.T, app *iris.Application) {
|
||||
ctx.Next()
|
||||
}, func(ctx *context.Context) {
|
||||
s := sessions.Get(ctx)
|
||||
_, err := ctx.Writef(s.GetString("key"))
|
||||
_, err := ctx.WriteString(s.GetString("key"))
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user