go-render
go-render is an open source Go library for accessing the Render API.
go-render
Tiny Go library for the Render API.
Installation
go get -u github.com/mrusme/go-render
Getting Started
Listing Services
package main
import (
"log"
"encoding/json"
"github.com/mrusme/go-render"
)
func main() {
r := render.New("apiKeyHere")
services, err := r.ListServices()
if err != nil {
log.Panic(err)
}
for _, service := range services {
b, _ := json.MarshalIndent(service, "", " ")
log.Printf("%s\n\n", string(b))
}
}
Links
Enjoyed this? Support me via Monero, Bitcoin, Lightning, or Ethereum! More info.