[GODRIVER-2286] Make "x/mongo/driver/uuid" package an internal package Created: 27/Jan/22  Updated: 22/Dec/22  Resolved: 26/Apr/22

Status: Closed
Project: Go Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Unknown
Reporter: Matt Dale Assignee: Qingyang Hu
Resolution: Done Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to GODRIVER-2206 Move test utilities to internal Closed
Quarter: FY23Q4

 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.



 Comments   
Comment by Githook User [ 26/Apr/22 ]

Author:

{'name': 'Qingyang Hu', 'email': '103950869+qingyang-hu@users.noreply.github.com', 'username': 'qingyang-hu'}

Message: GODRIVER-2286 Make uuid package an internal package (#921)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/13d795d395f14c7c3207964a1d61775af8e87d8f

Comment by Qingyang Hu [ 25/Apr/22 ]

https://github.com/mongodb/mongo-go-driver/pull/921

Generated at Thu Feb 08 08:38:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.