-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Returning an interface here makes it rather difficult to work with the MailgunImpl struct * Changed README send example to a valid program * Removed the need for public api from Mailgun interface and created new Validator interface * Simplified NewMailgun() and NewMailgunFromEnv() * Removed NewMailgunImpl() test * Added support for mailing list events and disabled some check in event tests * test only 1.8, running concurrent tests causes issues * .travis.yml cleanup * renamed Api to API, removed campaigns * Load ENV variables from .env file
- Loading branch information
Showing
32 changed files
with
653 additions
and
290 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Set the following values and any others | ||
# you need loaded into the ENV. You can then | ||
# access the variables by using os.Getenv("KEY") | ||
# See https://github.com/gobuffalo/envy | ||
# Format is: | ||
# Key=Value | ||
# Required for Mailgun to function: | ||
# MG_API_KEY=your-api-key | ||
# MG_DOMAIN=your-domain | ||
# MG_PUBLIC_API_KEY=your-public-key | ||
# MG_URL="https://api.mailgun.net/v3" | ||
|
||
MG_API_KEY=123456 | ||
MG_DOMAIN=crazydomainname.lol | ||
MG_PUBLIC_API_KEY=cflat | ||
MG_URL="https://api.mailgun.net/v3" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
.DS_Store | ||
.idea/ | ||
cmd/mailgun/mailgun |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,4 @@ | ||
language: go | ||
|
||
go: | ||
- 1.6.x | ||
- 1.7.x | ||
- 1.8.x | ||
|
||
sudo: true | ||
|
||
before_script: | ||
- sudo apt-get install haveged && sudo service haveged start | ||
|
||
script: | ||
- make | ||
- 1.9.x |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# Gopkg.toml example | ||
# | ||
# Refer to https://golang.github.io/dep/docs/Gopkg.toml.html | ||
# for detailed Gopkg.toml documentation. | ||
# | ||
# required = ["github.com/user/thing/cmd/thing"] | ||
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"] | ||
# | ||
# [[constraint]] | ||
# name = "github.com/user/project" | ||
# version = "1.0.0" | ||
# | ||
# [[constraint]] | ||
# name = "github.com/user/project2" | ||
# branch = "dev" | ||
# source = "github.com/myfork/project2" | ||
# | ||
# [[override]] | ||
# name = "github.com/x/y" | ||
# version = "2.4.0" | ||
# | ||
# [prune] | ||
# non-go = false | ||
# go-tests = true | ||
# unused-packages = true | ||
|
||
|
||
[[constraint]] | ||
branch = "master" | ||
name = "github.com/drhodes/golorem" | ||
|
||
[[constraint]] | ||
branch = "master" | ||
name = "github.com/facebookgo/ensure" | ||
|
||
[[constraint]] | ||
name = "github.com/gobuffalo/envy" | ||
version = "1.6.4" | ||
|
||
[[constraint]] | ||
name = "github.com/onsi/ginkgo" | ||
version = "1.6.0" | ||
|
||
[[constraint]] | ||
name = "github.com/onsi/gomega" | ||
version = "1.4.2" | ||
|
||
[[constraint]] | ||
branch = "master" | ||
name = "github.com/pkg/errors" | ||
|
||
[[constraint]] | ||
name = "github.com/thrawn01/args" | ||
version = "0.3.0" | ||
|
||
[[override]] | ||
name = "gopkg.in/fsnotify.v1" | ||
source = "https://github.com/fsnotify/fsnotify.git" | ||
|
||
[prune] | ||
go-tests = true | ||
unused-packages = true |
Oops, something went wrong.