Skip to content

Commit 4fbd51e

Browse files
committed
Update README
1 parent 15e73b6 commit 4fbd51e

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

README.md

+15-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1-
# gomerchant
1+
# Gomerchant
2+
3+
Gomerchant is an abstracted payment interface for Golang, it provides unified API for different payment gateways.
4+
5+
## Usage
6+
7+
```go
8+
import "github.com/qor/gomerchant/gateways/stripe"
9+
10+
func main() {
11+
Stripe := stripe.New(&stripe.Config{
12+
Key: config.Key,
13+
})
14+
}
15+
```
216

317
[![GoDoc](https://godoc.org/github.com/golang/gddo?status.svg)](http://godoc.org/github.com/qor/gomerchant)

credit_card_manager.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ type ListCreditCardsResponse struct {
5151
Params
5252
}
5353

54-
// CustomerCard
54+
// CustomerCreditCard CustomerCard defination
5555
type CustomerCreditCard struct {
5656
CustomerID string
5757
CustomerName string

0 commit comments

Comments
 (0)