A simple Go program to validate credit card numbers using the Luhn algorithm.
- Validates credit card numbers against the Luhn algorithm.
- Identifies common card types (Visa, MasterCard, Amex, Discover, JCB).
- Provides clear validation results.
| Card Type | Number |
|---|---|
| Visa | 4111111111111111 |
| MasterCard | 5555555555554444 |
| Amex | 378282246310005 |
| Discover | 6011111111111117 |
| JCB | 3530111333300000 |
| Description | Number |
|---|---|
| Wrong checksum | 4111111111111121 |
| Short | 12345678 |
| All zeros | 0000000000000000 |
| Random digits | 9876543210123456 |


