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

Docs: Updated to show registration of custom types & session.Save error handling. #14

Merged
merged 1 commit into from
Aug 2, 2013

Conversation

elithrar
Copy link
Contributor

@elithrar elithrar commented Aug 2, 2013

As per #13 I've updated the documentation to clarify how to register custom types for storage in sessions using encoding/gob.

I've also added a short paragraph on the importance of checking for errors from sessions.Save(). I've left the existing examples alone in an effort to keep them concise.

@kisielk
Copy link
Contributor

kisielk commented Aug 2, 2013

Excellent, thank you very much.

kisielk added a commit that referenced this pull request Aug 2, 2013
Docs: Updated to show registration of custom types & session.Save error handling.
@kisielk kisielk merged commit ba63748 into gorilla:master Aug 2, 2013
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.

2 participants