serpro69 / kotlin-faker

Port of a popular ruby faker gem written in kotlin. Generate realistically looking fake data such as names, addresses, banking details, and many more, that can be used for testing and data anonymization purposes.
https://serpro69.github.io/kotlin-faker/
MIT License
472 stars 44 forks source link

Fix postcode for en-GB locale #188

Closed cosmin-marginean closed 1 year ago

cosmin-marginean commented 1 year ago

This is a fix for https://github.com/serpro69/kotlin-faker/issues/187 which is related to address postcode generation for en-GB locale.

cosmin-marginean commented 1 year ago

@serpro69 Thanks for reviewing this! Yes, you can get really creative with UK postcodes as there are many inconsistencies and exceptions. But for the purposes of kotlin-faker I believe this should do.