Skip to content

fistandards is a set of methods to validate a number of banking and financial coding standards

License

Notifications You must be signed in to change notification settings

pedro-leitao/fistandards

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fistandards

fistandards is an implementation of a number of banking standards in Go, for the validation and handling of various data items.

For now the following is available:

  • IBAN identifiers
  • PAN

Coming next:

  • BBAN
  • BIC
  • LEI (Legal Entity Identifier)

Here's some example code:

var iban iban.Iban
var normalized string
var err error

if normalized, err = iban.Set("GB82-WEST 1234 5698 7654 32"); err != nil {
      fmt.Printf("%v: $v\n", normalized, err.Error())
} else {
      fmt.Printf("%v is a valid IBAN\n", normalized)
}

See main.go and the tester packages for more examples.

About

fistandards is a set of methods to validate a number of banking and financial coding standards

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages