Skip to content

thenicolau/openpix-sdk-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

OpenPix SDK in Golang

Oficial Documentation

OpenPix

Example

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

	
}

About

SDK OpenPix in Golang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages