Basic Golang client for Vero developed at Uniplaces
import "github.com/uniplaces/vero-go/vero"
client := vero.NewClient("YOUR_AUTH_TOKEN")
// Identify
data := make(map[string]interface{})
data["First name"] = "Jeff"
data["Last name"] = "Kane"
email := "[email protected]"
client.Identify("1234567890", data, &email)
// Unsubscribe
client.Usubscribe("1234567890")
// Tags
add := []string{"Blog reader"}
remove := []string{}
client.Tags("1234567890", add, remove)