Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrCardNumberFormat = errors.New("card number must match the format xxxx xxxx xxxx xxxx") ErrCVVFormat = errors.New("card's CardCVV must be a 3-digits value") ErrExpDateFormat = errors.New("card's expire date must match the format mm/yy") ErrExpDateInPast = errors.New("card's expire date must not be in the past") )
Functions ¶
func CardExpDate ¶
func CardNumber ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.