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))
}
-
Notifications
You must be signed in to change notification settings - Fork 0
thenicolau/openpix-sdk-go
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
SDK OpenPix in Golang
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published