mirror of
https://gitee.com/johng/gf
synced 2026-07-05 13:22:16 +08:00
fix unit test cases for ghttp/gres
This commit is contained in:
@ -9,7 +9,6 @@ import (
|
||||
func main() {
|
||||
s := g.Server()
|
||||
s.SetSessionMaxAge(60)
|
||||
s.SetSessionIdName("gpadminssid")
|
||||
s.BindHandler("/set", func(r *ghttp.Request) {
|
||||
r.Session.Set("time", gtime.Second())
|
||||
r.Response.Write("ok")
|
||||
|
||||
Reference in New Issue
Block a user