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

Rename yamgo and the Client type

    XMLWordPrintableJSON

Details

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

    Description

      After discussions with engineering and product management, we've agreed on the following changes:

      • The 'yamgo' package will be renamed to 'mongo' (as will the directory name containing the files of that package).
      • The 'yamgo.Client' type will be rename to 'mongo.MongoClient' for consistency with other drivers

      I think the source file 'client.go' can keep its name and I think we can continue to use 'mongo.NewClient(uri)' as the constructor function for a MongoClient. (Or we can change it to mongo.NewMongoClient(uri)' if we feel that is more idiomatic.)

      Attachments

        Activity

          People

            sam.rossi@mongodb.com Samuel Rossi (Inactive)
            david.golden@mongodb.com David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: