Skip to content

Repository files navigation

Corporate Finance Go module cmdscale.com/corfin

CmdScale ProjectGo ReferenceCI StatusGo Report Card

ISIN Validation

Ensures that the check-digit of a given International Securities Identification Numbers (ISIN) is correct:

package main
import"fmt"import"cmdscale.com/corfin"funcmain() {
isin, err:=corfin.NewISIN("DE000BAY0017") // non alphanumeric characters will be ignorediferr!=nil {
fmt.Println(err) // isin is invalid
}
fmt.Println("ISIN is well-formed", isin.String())
}

Installation

go get cmdscale.com/corfin

License

BSD 3-Clause "New" or "Revised" License

Releases

Used by

Contributors

Languages