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

Make "x/mongo/driver/uuid" package an internal package

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Unknown Unknown
    • None
    • None
    • None

    Description

      Move the x/mongo/driver/uuid package to an internal package to prevent external users from consuming it.

      The x/mongo/driver/uuid package is based on the github.com/google/uuid package, but significantly simplified and with a pseudo-random number source instead of a cryptographically-secure random number source. For those reasons, it's only suitable for specific use cases in the driver. Move the package to an internal package to prevent users from accidentally using it without understanding the differences.

      Attachments

        Activity

          People

            qingyang.hu@mongodb.com Qingyang Hu
            matt.dale@mongodb.com Matt Dale
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: