We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERR Key "github.com/gin-contrib/sessions" does not exist E:/work/project/pkg/mod/github.com/gin-gonic/[email protected]/context.go:272 (0xdf5798) (*Context).MustGet: panic("Key "" + key + "" does not exist") E:/work/project/pkg/mod/github.com/gin-contrib/[email protected]/sessions.go:146 (0xdf5718) Default: return c.MustGet(DefaultKey).(Session) E:/work/learn/gin_study/controller/sessionController.go:11 (0xdf5c8f) SetSession: session := sessions.Default(c) E:/work/learn/gin_study/controller/loginController.go:32 (0xdf5aa4) LoginController.Login: SetSession(c) E:/work/project/pkg/mod/github.com/gin-gonic/[email protected]/context.go:173 (0xdeb761) (*Context).Next: c.handlersc.index E:/work/project/pkg/mod/github.com/gin-gonic/[email protected]/recovery.go:101 (0xdeb74c) CustomRecoveryWithWriter.func1: c.Next() E:/work/project/pkg/mod/github.com/gin-gonic/[email protected]/context.go:173 (0xdea846) (*Context).Next: c.handlersc.index E:/work/project/pkg/mod/github.com/gin-gonic/[email protected]/logger.go:240 (0xdea829) LoggerWithConfig.func1: c.Next() C:/Program Files/Go/src/net/http/server.go:1966 (0xc53d36) (*conn).serve: serverHandler{c.server}.ServeHTTP(w, w.req) C:/Program Files/Go/src/runtime/asm_amd64.s:1571 (0xaa3aa0) goexit: BYTE $0x90 // NOP
The text was updated successfully, but these errors were encountered:
I have this problem too
Sorry, something went wrong.
No branches or pull requests
ERR
Key "github.com/gin-contrib/sessions" does not exist
E:/work/project/pkg/mod/github.com/gin-gonic/[email protected]/context.go:272 (0xdf5798)
(*Context).MustGet: panic("Key "" + key + "" does not exist")
E:/work/project/pkg/mod/github.com/gin-contrib/[email protected]/sessions.go:146 (0xdf5718)
Default: return c.MustGet(DefaultKey).(Session)
E:/work/learn/gin_study/controller/sessionController.go:11 (0xdf5c8f)
SetSession: session := sessions.Default(c)
E:/work/learn/gin_study/controller/loginController.go:32 (0xdf5aa4)
LoginController.Login: SetSession(c)
E:/work/project/pkg/mod/github.com/gin-gonic/[email protected]/context.go:173 (0xdeb761)
(*Context).Next: c.handlersc.index
E:/work/project/pkg/mod/github.com/gin-gonic/[email protected]/recovery.go:101 (0xdeb74c)
CustomRecoveryWithWriter.func1: c.Next()
E:/work/project/pkg/mod/github.com/gin-gonic/[email protected]/context.go:173 (0xdea846)
(*Context).Next: c.handlersc.index
E:/work/project/pkg/mod/github.com/gin-gonic/[email protected]/logger.go:240 (0xdea829)
LoggerWithConfig.func1: c.Next()
C:/Program Files/Go/src/net/http/server.go:1966 (0xc53d36)
(*conn).serve: serverHandler{c.server}.ServeHTTP(w, w.req)
C:/Program Files/Go/src/runtime/asm_amd64.s:1571 (0xaa3aa0)
goexit: BYTE $0x90 // NOP
The text was updated successfully, but these errors were encountered: