fix(deps): update module github.com/brianvoe/gofakeit/v7 to v7.9.0 #108
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v7.7.1->v7.9.0Release Notes
brianvoe/gofakeit (github.com/brianvoe/gofakeit/v7)
v7.9.0: ID GeneratorCompare Source
New:
ID()— Fast, Human-Readable Random Identifier(GoFakeIt v7.9.0)
gofakeit.ID()is a new high-performance identifier generator designed for speed, readability, and practically zero collision probability.Unlike UUID v4 or XID, this generator is intentionally random-first, not structure-based.
Perfect for mock APIs, test data, fixtures, seed data, and temporary identifiers.
Highlights
→
23456789abcdefghjkmnpqrstuvwxyz(no 1, l, i or 0, o to alleviate confusion)Example
Performance Benchmarks
Measured on Go 1.25
gofakeit.ID()gofakeit.UUIDv4()github.com/rs/xidgithub.com/google/uuid(v4)Takeaway:
gofakeit.ID()is ~2× faster than XID and ~10× faster than UUID v4, while being shorter and human-readable.Collision Probability (Randomness Math)
Collision probability when generating
nIDs within 1 second (birthday bound)gofakeit.ID()collision probabilityFor comparison (same n):
RNG Behavior
gofakeit.ID())NewFaker(source.NewCrypto()))New(seed))Example Usage
v7.8.2Compare Source
v7.8.1Compare Source
v7.8.0Compare Source
v7.7.3Compare Source
v7.7.2Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.