Simple Go package to interact with API
Switch branches/tags
Nothing to show
Latest commit c1d4777 Jul 26, 2016 @elbuo8 committed on GitHub Merge pull request #3 from superhuman/master
Add "Activate Drip Campaign" to golang package
Failed to load latest commit information.
.gitignore Initial commit Jul 1, 2014
.travis.yml Added Travis CI Aug 6, 2014 Simple bash $ Aug 6, 2014
swu.go Use DripCampaign struct instead of Email struct Jul 26, 2016
swu_test.go Added log methods Aug 6, 2014


This is a simple package to interface with SendWithUs using Golang.


$ go get


This is a brief example on how to send 1 email. You can find more examples by looking at the test cases.

package main

import (

func main() {
	api := New("SWU_KEY")
	email := &SWUEmail{
		Recipient: &SWURecipient{
			Address: "",
		EmailData: make(map[string]string),
	err := api.Send(email)
	if err != nil {

Documentation (GoDoc)

MIT License

Enjoy! Feel free to send pull requests or submit issues :)