文件名称:Golang中的Pagar.me库-Golang开发
文件大小:63KB
文件格式:ZIP
更新时间:2024-06-15 12:45:14
Golang Miscellaneous
pagarme-go安装转到get github.com/luk4z7/pagarme-go导出PAGARME_APIKEY = YOUR_APYKEY用法创建一个银行:包main import(“ net / url”“ encoding / json”“ os”“ github.com/luk4z7/pa pagarme -go安装go get github.com/luk4z7/pagarme-go export PAGARME_APIKEY = YOUR_APYKEY用法创建银行:包main import(“ net / url”“ encoding / json”“ os”“ github.com/luk4z7/pagarme-go / auth“” github.com/luk4z7/pagarme-go/lib/bank“)var bankAccount bank.Account func main(){data:= [] byte(`{” bank_code“:” 184“,” agencia“: “ 0809”,“ agencia_dv”:“ 9”,“ conta”:
【文件预览】:
pagarme-go-master
----.gitignore(28B)
----repository()
--------repository.go(3KB)
--------repository_test.go(2KB)
----LICENSE(1KB)
----CHANGELOG.md(262B)
----auth()
--------auth.go(1KB)
--------auth_test.go(835B)
----examples()
--------transaction()
--------customer()
--------search()
--------bank()
--------recipient()
--------card()
--------subscription()
--------transfer()
--------balance()
--------payable()
--------plan()
----README.md(4KB)
----config()
--------apikey_test.go(471B)
--------apikey.go(447B)
----lib()
--------postback()
--------transaction()
--------event()
--------customer()
--------search()
--------bank()
--------operation()
--------recipient()
--------card()
--------subscription()
--------validation()
--------transfer()
--------balance()
--------zipcode()
--------payable()
--------plan()
----error()
--------error.go(674B)
----bootstrap.go(197B)