go-credit-card
go-credit-card copied to clipboard
Expose an interface so the Card methods can be mocked by other packages
trafficstars
Right now Card does not implement an interface, so other packages can not mock the Card struct methods on their unit tests. Exposing a valid interface could improve the usage of this package.