Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile ERROR #1

Closed
bom-d-van opened this issue Jun 23, 2014 · 2 comments
Closed

Compile ERROR #1

bom-d-van opened this issue Jun 23, 2014 · 2 comments
Labels

Comments

@bom-d-van
Copy link

main.go:5:2: cannot find package "github.com/ian-kent/MailHog/mailhog/config" in any of:
    /usr/local/go/src/pkg/github.com/ian-kent/MailHog/mailhog/config (from $GOROOT)
    /Users/bom_d_van/Code/go/workspace/src/github.com/ian-kent/MailHog/mailhog/config (from $GOPATH)
main.go:6:2: cannot find package "github.com/ian-kent/MailHog/mailhog/http" in any of:
    /usr/local/go/src/pkg/github.com/ian-kent/MailHog/mailhog/http (from $GOROOT)
    /Users/bom_d_van/Code/go/workspace/src/github.com/ian-kent/MailHog/mailhog/http (from $GOPATH)
main.go:7:2: cannot find package "github.com/ian-kent/MailHog/mailhog/smtp" in any of:
    /usr/local/go/src/pkg/github.com/ian-kent/MailHog/mailhog/smtp (from $GOROOT)
    /Users/bom_d_van/Code/go/workspace/src/github.com/ian-kent/MailHog/mailhog/smtp (from $GOPATH)
main.go:8:2: cannot find package "github.com/ian-kent/MailHog/mailhog/storage" in any of:
    /usr/local/go/src/pkg/github.com/ian-kent/MailHog/mailhog/storage (from $GOROOT)
    /Users/bom_d_van/Code/go/workspace/src/github.com/ian-kent/MailHog/mailhog/storage (from $GOPATH)
@ian-kent
Copy link
Member

Ah sorry, my bad! Just noticed I've got all the dependencies setup to use github.com/ian-kent/MailHog, but the git repo name is Go-MailHog

It should work if you rename the Go-MailHog directory to MailHog, or update the include paths at the top of every file to use the correct git repo name.

I'll commit a fix for it later, but won't have time for a few hours.

@bom-d-van
Copy link
Author

I see. Thanks. :)

On Tue, Jun 24, 2014 at 12:41 AM, Ian Kent notifications@github.com wrote:

Closed #1 #1 via 8265877
8265877
.


Reply to this email directly or view it on GitHub
#1 (comment).

Van Hu
Go Developer at The Plant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants