Closed antfroger closed 7 months ago
Hey @antfroger thank you very much for the PR, my only general comment would be related to code organization, instead of having part of the code in payment.go
/payment_test.go
can you move everything to the iban.go
/iban_test.go
files?
This way we keep logic related to IBAN's in their proper files. Then you can use IBAN's methods in Payment to also generate IBAN's from Payment instances.
@antfroger LGTM, I merged and release it under v2.3.0. Congratulations on your first PR 🎉
Description
Implement IBAN generation. Generated IBANs are random but valid. IBAN format is based on the country format of the IBAN. Support many countries, based on PHP's faker implementation.
Are you trying to fix an existing issue?
https://github.com/jaswdr/faker/issues/168
Go Version
Go Tests