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. 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. 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 ### 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: You'll need go-bindata to embed web assets:
``` ```

View file

@ -10,10 +10,10 @@ import (
"strconv" "strconv"
"bufio" "bufio"
"strings" "strings"
"github.com/ian-kent/MailHog/mailhog/data" "github.com/ian-kent/Go-MailHog/mailhog/data"
"github.com/ian-kent/MailHog/mailhog/config" "github.com/ian-kent/Go-MailHog/mailhog/config"
"github.com/ian-kent/MailHog/mailhog/storage" "github.com/ian-kent/Go-MailHog/mailhog/storage"
"github.com/ian-kent/MailHog/mailhog/http/router" "github.com/ian-kent/Go-MailHog/mailhog/http/router"
) )
type APIv1 struct { type APIv1 struct {

View file

@ -4,9 +4,9 @@ import (
"net/http" "net/http"
"strings" "strings"
"log" "log"
"github.com/ian-kent/MailHog/mailhog/config" "github.com/ian-kent/Go-MailHog/mailhog/config"
"github.com/ian-kent/MailHog/mailhog/http/api" "github.com/ian-kent/Go-MailHog/mailhog/http/api"
"github.com/ian-kent/MailHog/mailhog/http/router" "github.com/ian-kent/Go-MailHog/mailhog/http/router"
) )
var exitChannel chan int var exitChannel chan int

View file

@ -8,9 +8,9 @@ import (
"strings" "strings"
"regexp" "regexp"
"errors" "errors"
"github.com/ian-kent/MailHog/mailhog/config" "github.com/ian-kent/Go-MailHog/mailhog/config"
"github.com/ian-kent/MailHog/mailhog/storage" "github.com/ian-kent/Go-MailHog/mailhog/storage"
"github.com/ian-kent/MailHog/mailhog/data" "github.com/ian-kent/Go-MailHog/mailhog/data"
) )
type Session struct { type Session struct {

View file

@ -1,8 +1,8 @@
package storage package storage
import ( import (
"github.com/ian-kent/MailHog/mailhog/config" "github.com/ian-kent/Go-MailHog/mailhog/config"
"github.com/ian-kent/MailHog/mailhog/data" "github.com/ian-kent/Go-MailHog/mailhog/data"
) )
type Memory struct { type Memory struct {

View file

@ -4,8 +4,8 @@ import (
"log" "log"
"labix.org/v2/mgo" "labix.org/v2/mgo"
"labix.org/v2/mgo/bson" "labix.org/v2/mgo/bson"
"github.com/ian-kent/MailHog/mailhog/data" "github.com/ian-kent/Go-MailHog/mailhog/data"
"github.com/ian-kent/MailHog/mailhog/config" "github.com/ian-kent/Go-MailHog/mailhog/config"
) )
type MongoDB struct { type MongoDB struct {

View file

@ -2,10 +2,10 @@ package main
import ( import (
"flag" "flag"
"github.com/ian-kent/MailHog/mailhog/config" "github.com/ian-kent/Go-MailHog/mailhog/config"
"github.com/ian-kent/MailHog/mailhog/http" "github.com/ian-kent/Go-MailHog/mailhog/http"
"github.com/ian-kent/MailHog/mailhog/smtp" "github.com/ian-kent/Go-MailHog/mailhog/smtp"
"github.com/ian-kent/MailHog/mailhog/storage" "github.com/ian-kent/Go-MailHog/mailhog/storage"
"log" "log"
"net" "net"
"os" "os"

View file

@ -1,8 +1,8 @@
package main package main
import ( import (
"github.com/ian-kent/MailHog/mailhog/config" "github.com/ian-kent/Go-MailHog/mailhog/config"
"github.com/ian-kent/MailHog/mailhog/storage" "github.com/ian-kent/Go-MailHog/mailhog/storage"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"net" "net"
"regexp" "regexp"

View file

@ -1,8 +1,8 @@
package main package main
import ( import (
"github.com/ian-kent/MailHog/mailhog/config" "github.com/ian-kent/Go-MailHog/mailhog/config"
"github.com/ian-kent/MailHog/mailhog/storage" "github.com/ian-kent/Go-MailHog/mailhog/storage"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"net" "net"
"regexp" "regexp"