Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-619

Move connection-related functions from common/util

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: 3.0.0-rc8
    • Component/s: All Tools
    • None

      See http://godoc.org/github.com/mongodb/mongo-tools/common/util

      Many Go style guides warn against broad "util" packages, but I think there is a case to be made for util packages that are only utilities for basic programming tasks (int conversion, slice manipulation, etc.). However, our util package holds a few functions that should probably be in common/db, like collection validation and connection string parsing. Let's move them there!

            Assignee:
            david.golden@mongodb.com David Golden
            Reporter:
            kyle.erf Kyle Erf (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: