From 82658779e58b68e9e27cb52114329758c980bccc Mon Sep 17 00:00:00 2001 From: Ian Kent Date: Mon, 23 Jun 2014 17:41:03 +0100 Subject: [PATCH] Fix #1 --- README.md | 4 ++-- mailhog/http/api/v1.go | 8 ++++---- mailhog/http/server.go | 6 +++--- mailhog/smtp/session.go | 6 +++--- mailhog/storage/memory.go | 4 ++-- mailhog/storage/mongodb.go | 4 ++-- main.go | 8 ++++---- main_test.go | 4 ++-- mime_test.go | 4 ++-- 9 files changed, 24 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index e73cd59..8973b2f 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Go-MailHog Inspired by [MailCatcher](http://mailcatcher.me/), easier to install. -Go-MailHog is a rewritten version of [MailHog](https://github.com/ian-kent/MailHog), which was born out of [M3MTA](https://github.com/ian-kent/M3MTA). +Go-MailHog is a rewritten version of [MailHog](https://github.com/ian-kent/Go-MailHog), which was born out of [M3MTA](https://github.com/ian-kent/M3MTA). Go was chosen for portability - MailHog runs without installation on multiple platforms. @@ -53,7 +53,7 @@ You can configure Go-MailHog using command line options: ### Contributing -Clone this repository to ```$GOPATH/src/github.com/ian-kent/MailHog``` and type ```go install```. +Clone this repository to ```$GOPATH/src/github.com/ian-kent/Go-MailHog``` and type ```go install```. You'll need go-bindata to embed web assets: ``` diff --git a/mailhog/http/api/v1.go b/mailhog/http/api/v1.go index 02760b1..c91935a 100644 --- a/mailhog/http/api/v1.go +++ b/mailhog/http/api/v1.go @@ -10,10 +10,10 @@ import ( "strconv" "bufio" "strings" - "github.com/ian-kent/MailHog/mailhog/data" - "github.com/ian-kent/MailHog/mailhog/config" - "github.com/ian-kent/MailHog/mailhog/storage" - "github.com/ian-kent/MailHog/mailhog/http/router" + "github.com/ian-kent/Go-MailHog/mailhog/data" + "github.com/ian-kent/Go-MailHog/mailhog/config" + "github.com/ian-kent/Go-MailHog/mailhog/storage" + "github.com/ian-kent/Go-MailHog/mailhog/http/router" ) type APIv1 struct { diff --git a/mailhog/http/server.go b/mailhog/http/server.go index 2fc1857..e331b48 100644 --- a/mailhog/http/server.go +++ b/mailhog/http/server.go @@ -4,9 +4,9 @@ import ( "net/http" "strings" "log" - "github.com/ian-kent/MailHog/mailhog/config" - "github.com/ian-kent/MailHog/mailhog/http/api" - "github.com/ian-kent/MailHog/mailhog/http/router" + "github.com/ian-kent/Go-MailHog/mailhog/config" + "github.com/ian-kent/Go-MailHog/mailhog/http/api" + "github.com/ian-kent/Go-MailHog/mailhog/http/router" ) var exitChannel chan int diff --git a/mailhog/smtp/session.go b/mailhog/smtp/session.go index 4b2175b..c66751f 100644 --- a/mailhog/smtp/session.go +++ b/mailhog/smtp/session.go @@ -8,9 +8,9 @@ import ( "strings" "regexp" "errors" - "github.com/ian-kent/MailHog/mailhog/config" - "github.com/ian-kent/MailHog/mailhog/storage" - "github.com/ian-kent/MailHog/mailhog/data" + "github.com/ian-kent/Go-MailHog/mailhog/config" + "github.com/ian-kent/Go-MailHog/mailhog/storage" + "github.com/ian-kent/Go-MailHog/mailhog/data" ) type Session struct { diff --git a/mailhog/storage/memory.go b/mailhog/storage/memory.go index eac929a..529e7c1 100644 --- a/mailhog/storage/memory.go +++ b/mailhog/storage/memory.go @@ -1,8 +1,8 @@ package storage import ( - "github.com/ian-kent/MailHog/mailhog/config" - "github.com/ian-kent/MailHog/mailhog/data" + "github.com/ian-kent/Go-MailHog/mailhog/config" + "github.com/ian-kent/Go-MailHog/mailhog/data" ) type Memory struct { diff --git a/mailhog/storage/mongodb.go b/mailhog/storage/mongodb.go index 1dc0311..932e33a 100644 --- a/mailhog/storage/mongodb.go +++ b/mailhog/storage/mongodb.go @@ -4,8 +4,8 @@ import ( "log" "labix.org/v2/mgo" "labix.org/v2/mgo/bson" - "github.com/ian-kent/MailHog/mailhog/data" - "github.com/ian-kent/MailHog/mailhog/config" + "github.com/ian-kent/Go-MailHog/mailhog/data" + "github.com/ian-kent/Go-MailHog/mailhog/config" ) type MongoDB struct { diff --git a/main.go b/main.go index c0a64db..f9b6f46 100644 --- a/main.go +++ b/main.go @@ -2,10 +2,10 @@ package main import ( "flag" - "github.com/ian-kent/MailHog/mailhog/config" - "github.com/ian-kent/MailHog/mailhog/http" - "github.com/ian-kent/MailHog/mailhog/smtp" - "github.com/ian-kent/MailHog/mailhog/storage" + "github.com/ian-kent/Go-MailHog/mailhog/config" + "github.com/ian-kent/Go-MailHog/mailhog/http" + "github.com/ian-kent/Go-MailHog/mailhog/smtp" + "github.com/ian-kent/Go-MailHog/mailhog/storage" "log" "net" "os" diff --git a/main_test.go b/main_test.go index 4863223..f1f22f5 100644 --- a/main_test.go +++ b/main_test.go @@ -1,8 +1,8 @@ package main import ( - "github.com/ian-kent/MailHog/mailhog/config" - "github.com/ian-kent/MailHog/mailhog/storage" + "github.com/ian-kent/Go-MailHog/mailhog/config" + "github.com/ian-kent/Go-MailHog/mailhog/storage" "github.com/stretchr/testify/assert" "net" "regexp" diff --git a/mime_test.go b/mime_test.go index 942236a..456dca4 100644 --- a/mime_test.go +++ b/mime_test.go @@ -1,8 +1,8 @@ package main import ( - "github.com/ian-kent/MailHog/mailhog/config" - "github.com/ian-kent/MailHog/mailhog/storage" + "github.com/ian-kent/Go-MailHog/mailhog/config" + "github.com/ian-kent/Go-MailHog/mailhog/storage" "github.com/stretchr/testify/assert" "net" "regexp"