Skip to content
New issue

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

Fix comment typo #1

Merged
merged 2 commits into from
Jan 8, 2015
Merged

Fix comment typo #1

merged 2 commits into from
Jan 8, 2015

Conversation

sendyhalim
Copy link
Contributor

If I'm not mistaken, shouldn't it be like this

session := c.Env["session"].(*Session)
if session == nil {
    sh := c.Env["sessionholder"].(SessionHolder)
    session = sh.Create()
}

to create a session?

philpearl pushed a commit that referenced this pull request Jan 8, 2015
Fix comment typo - thanks sendhalim!
@philpearl philpearl merged commit 9744b98 into philpearl:master Jan 8, 2015
philpearl pushed a commit that referenced this pull request Jan 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants