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

make the mode type public #151

Merged
merged 1 commit into from
Aug 21, 2015
Merged

make the mode type public #151

merged 1 commit into from
Aug 21, 2015

Conversation

gabrielrussell
Copy link
Contributor

Having the type "mode" of the constants Eventual, Monotonic, and Strong be private means that you can't create variables of that type, or store the results of Mode() in a data structure.

@niemeyer
Copy link
Contributor

Looks good, thanks.

niemeyer added a commit that referenced this pull request Aug 21, 2015
Makes Go 1.5 happy, and fixes #151.
niemeyer added a commit that referenced this pull request Aug 21, 2015
@niemeyer niemeyer merged commit 70655d4 into go-mgo:v2-unstable Aug 21, 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
2 participants