From 7baaf7ec8941f2f1c225b0bd30600638bf1f60ec Mon Sep 17 00:00:00 2001 From: harymindiar Date: Tue, 16 May 2017 16:53:25 +0700 Subject: [PATCH] update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 013323c..ff84d5b 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Please proceed there for more detail on how to run the example. midclient.ClientKey = "YOUR-VT-CLIENT-KEY" midclient.ApiEnvType = midtrans.Sandbox - coreGateway = midtrans.CoreGateway{ + coreGateway := midtrans.CoreGateway{ Client: midclient, } @@ -38,7 +38,7 @@ Please proceed there for more detail on how to run the example. CreditCard: &midtrans.CreditCardDetail{ TokenID: "YOUR-CC-TOKEN", }, - Items: []midtrans.ItemDetail{ + Items: &[]midtrans.ItemDetail{ midtrans.ItemDetail{ Id: "ITEM1", Price: 200000,