Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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

Last synced: 8 days ago
JSON representation

SDK OpenPix in Golang

Awesome Lists containing this project

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))


}

```