8000 GitHub - monzo/gosquared: A golang gosquared client
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

monzo/gosquared

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

A golang client for gosquared

package main

import (
        "github.com/mondough/gosquared"
)

type ExampleEventData struct {
        NumTransactions int
        Type string
        Tags []string
}

func main() {
        client := gosquared.NewClient("apiKey", "siteToken")
        data := &ExampleEventData{
                NumTransactions: 102,
                Type: "foo",
                Tags: []string{ "bar", "foobar"},
        }
        client.Event("event name", data, "personId (can be blank)")
}

About

A golang gosquared client

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0