Skip to content

Commit

Permalink
updated example detail readme
Browse files Browse the repository at this point in the history
  • Loading branch information
adamnoto committed Jan 11, 2017
1 parent 4003c40 commit a103177
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ an advantage of itself. Now, Midtrans is available to be used in Go, too.

## Example

We have attached usage examples in this repository in folder `example/simplepay`.
Please proceed there for more detail on how to run the example.

### Core Gateway

```go
Expand Down
3 changes: 2 additions & 1 deletion example/simplepay/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ for integrating Midtrans PG with Go.
2. Clone and change dir to this example folder
3. Run: `go build -o main && ./main`

Visit: `localhost:1234` and make payment.
Visit: `localhost:1234` and make payment using core API. Visit `/snap` to
to make payment using Snap.

0 comments on commit a103177

Please sign in to comment.