switcheo-go is a go client library for Switcheo APIs
go get github.com/o3labs/switcheo-go
For details on all the functionality in this library, see the GoDoc documentation.
api := client.New(switcheo.TestNetAPI, httpClient, switcheo.UserAgent)
c := general.Client{API: *api}
response, err := c.GetTimestamp()
if err != nil {
fmt.Printf("%v", err)
return
}
log.Printf("%+v", response)
Each package contains test cases and including sample usage of apis