Skip to content

v0.1.6

Choose a tag to compare

@kayode0x kayode0x released this 13 May 04:34
· 2 commits to main since this release
58b0fa2

New change

You can now link data to contacts on triggering an event.

Example:

p, _ := plunk.New("<YOUR_SECRET_KEY>", nil)

evt := EventPayload{
   Event: "send:alert",
   Email: "hello@useplunk.com",
   Data: map[string]any{
	"alert": "Your server is down!",
	"link":  "https://example.com",
   },
}

res, _ := p.TriggerEvent(evt)

New contributor

@aosasona made their first contributions (#3 and #2)