Add namespace type for options in mongo package.

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 0.0.2
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently the documentation for the options is the first thing in godoc and there isn't an explanation of what they are. Add a type (potentially Options) to namespace the options together. Then add a global variable (mongo.O or mongo.Opt) so that users can access them. This will change things from mongo.AllowDiskUse(true) to mongo.Opt.AllowDiskUse(true).

              Assignee:
              Samuel Rossi (Inactive)
              Reporter:
              Kristofer Brandow (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: