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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None

      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.

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

              Created:
              Updated:
              Resolved: