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)")
}
-
Notifications
You must be signed in to change notification settings - Fork 1
A golang gosquared client
License
monzo/gosquared
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A golang gosquared client
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published