This commit is contained in:
Ian Kent 2014-06-23 17:41:03 +01:00
parent 945ed921ea
commit 82658779e5
9 changed files with 24 additions and 24 deletions

View file

@ -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:
```

View file

@ -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 {

View file

@ -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

View file

@ -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 {

View file

@ -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 {

View file

@ -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 {

View file

@ -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"

View file

@ -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"

View file

@ -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"