Skip to content

session.Get will never get error #5

@zn-cn

Description

@zn-cn

Today I use this package test the function of session, but I found when I firstly enter the website, in that time the request don't have session, but use Sesson.Get can't get error. But I think if the session is empty, maybe should return a error.
eg:
code: sess, err := session.Get("userInfo", c)
but in the first time the err is nil.
Can you answer my question?
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions