swift (original) (raw)

package swift provides methods to check offline the validity of an IBAN (and to retrieve some BIC codes). https://code.pfad.fr/swift/

banking iban

218 commits 1 branch 37 tags

1.8 MiB

Go 98.3%

Makefile 1.7%

Find a file

Cite this repository

BibTeX

oliverpool (bot) bce2bfb0ed All checks were successful ci/woodpecker/push/checks Pipeline was successful Details Update registry data (#30) Reviewed-on: #30 Co-authored-by: oliverpool (bot) bot@olivier.pfad.fr Co-committed-by: oliverpool (bot) bot@olivier.pfad.fr 2025-11-18 11:10:00 +01:00
.woodpecker disable generate-registry in cron 2025-06-19 14:44:13 +02:00
bic Update registry data (#30) 2025-11-18 11:10:00 +01:00
cmd/iban cmd/iban renamed 2024-03-01 22:38:58 +01:00
internal Update registry data (#30) 2025-11-18 11:10:00 +01:00
LICENSES add missing licenses 2024-02-26 17:29:29 +01:00
bban.go use smaller uint8 2025-01-02 15:07:20 +01:00
bban_registry.go registry: update workarounds and data 2025-01-01 21:13:41 +01:00
bban_registry_test.go Update registry data (#20) 2025-01-01 20:24:18 +00:00
bban_test.go change LICENSE to EUPL-1.2 2024-01-10 21:39:57 +01:00
bic.go parse incomplete BIC 2024-03-01 22:08:24 +01:00
bic_test.go upgrade code.pfad.fr/check 2025-07-06 21:45:34 +02:00
columns.go use smaller uint8 2025-01-02 15:07:20 +01:00
columns_test.go upgrade code.pfad.fr/check 2025-02-17 10:44:28 +01:00
COPYING add copyright header to COPYING file 2024-01-10 21:59:07 +01:00
country.go change LICENSE to EUPL-1.2 2024-01-10 21:39:57 +01:00
country_test.go upgrade code.pfad.fr/check 2025-07-06 21:45:34 +02:00
example_test.go example: public domain 2024-02-27 11:41:14 +01:00
go.mod upgrade code.pfad.fr/check 2025-07-06 21:45:34 +02:00
go.sum upgrade code.pfad.fr/check 2025-07-06 21:45:34 +02:00
go.sum.license go get code.pfad.fr/check 2024-05-21 11:43:32 +02:00
iban.go use smaller uint8 2025-01-02 15:07:20 +01:00
iban_test.go go get code.pfad.fr/check 2024-05-21 11:43:32 +02:00
Makefile prevent license check for coverage data 2025-01-06 22:04:19 +01:00
README.md make generate: drop go:generate 2024-02-29 08:57:49 +01:00

README.md

Swift Gopher - based on Gopherize.me output - Artwork by Ashley McNamara - inspired by Renee French - Web app by Mat Ryer

Package code.pfad.fr/swift provides methods to check offline the validity of an IBAN (and to retrieve some BIC codes). Example and documentation are available on https://code.pfad.fr/swift/ and on pkg.go.dev.

Updating the registry data

To update the BBAN registry and BIC data, run make generate, commit the changes and push a new tag.

License

European Union Public License 1.2 or later (EUPL-1.2+).

I consider that importing this library (unmodified) within a larger work (as long as it does more than just validation and IBAN or BIC codes manipulation) not to be a "Derivative Work" (so you don't need to release your work under a EUPL-1.2 compatible license in such a case).