Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/thenicolau/openpix-sdk-go

SDK OpenPix in Golang
https://github.com/thenicolau/openpix-sdk-go

Last synced: 16 days ago
JSON representation

SDK OpenPix in Golang

Lists

README

        

# OpenPix SDK in Golang

## Oficial Documentation
[OpenPix](https://developers.openpix.com.br/)
## Example

```go
package main

import (
"context"
"encoding/json"
"log"

"github.com/GustavoNicolau/openpix-sdk-go/service"
)
func main() {

op := service.Connect("your-token")

charge, err := op.GetOneCharge().Do(context.Background())

if err != nil {
log.Fatal(err)
}

result, _ := json.Marshal(&charge)
log.Println(string(result))


}

```