Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-229

Add namespace type for options in mongo package.

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 0.0.2
    • None
    • None
    • None

    Description

      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).

      Attachments

        Activity

          People

            sam.rossi@mongodb.com Samuel Rossi (Inactive)
            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: