eniz / CCGenerator

A simple test credit card generator in Go.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generate test CC numbers on the command line.

First goal of this program is to learn the basic structure of a Go program. Second goal is to eliminate the need for me to go (no pun indented) to this site constantly when testing ecommerce sites we are developing.

The idea here is that we can pipe the output of this program directly to pbcoby to grap a test credit card number like so:

test_cc | pbcopy

or

test_cc -card=mastercard | pbcopy

If this proves useful I'd like to support all the of the credit card types on the site linked above.

About

A simple test credit card generator in Go.


Languages

Language:Go 100.0%