Skip to content

Releases: neumachen/randata

v0.3.0

04 Jul 23:15
Compare
Choose a tag to compare

v0.2.1

04 Jul 01:42
Compare
Choose a tag to compare

This release fixes the module path from the old username of magicalbanana, to neumachen.

v0.2.0

03 Jul 18:03
Compare
Choose a tag to compare

Release Summary:

This release introduces significant enhancements and features to the randata package. Here are the key highlights:

  1. Address Improvements: The Address struct now includes additional methods for validating latitude, longitude, and empty postal codes. These methods enhance the address validation capabilities and provide more flexibility for handling address data.

  2. Random Address Generation: The RandomUSAddress function has been improved to ensure that the selected address has a valid postal code, latitude, and longitude. The latitude and longitude values are now rounded to the 6th decimal place for consistency and accuracy.

  3. Multi-Goroutine Support: The RandomUSStateAddress function now supports multiple goroutines for improved performance. The number of goroutines can be specified, and the default has been increased to 15 for faster address generation.

  4. Social Security Number (SSN) Generation: A new feature has been added to generate random SSNs using the RandomSSN function. It attempts to generate valid SSNs within a specified number of retries and provides options for formatting the generated SSNs.

  5. SSN Validation: The ValidateSSN function allows for validating SSNs, checking for length, leading zeros, all-zero groups, and conformity to the SSN regular expression. This functionality ensures the generated SSNs are valid and usable.

These improvements enhance the functionality, reliability, and performance of the randata package, making it easier to generate random addresses and SSNs in Go applications.

v0.1.3

16 Jul 14:48
Compare
Choose a tag to compare

Enhance validation for SSN (the goal is so that this stops generating TIN).

v0.1.2

21 Sep 14:27
Compare
Choose a tag to compare

Add SSN generator (valida SSNs).

v0.1.1

06 Jul 01:24
Compare
Choose a tag to compare
Forgot this method

v0.1.0

06 Jul 01:22
Compare
Choose a tag to compare
Change package manager