我是一个golang菜鸟,所以我正在通过为基于gorilla的网络应用程序设置种子项目来制作我的第一个玩具应用程序。一切顺利,但session代码无法正常工作,hereisthefullcode,这里只是相关的片段:funcgetMyCounter(whttp.ResponseWriter,r*http.Request){session,_:=sessionStore.Get(r,counterSession)ifsession.IsNew{session.Values[myCounter]=0}val:=session.Values[myCounter].(int)log.Print