mailhog / MailHog

Web and API based SMTP testing
MIT License
14.16k stars 1.08k forks source link

go get github.com/mailhog/MailHog #445

Open ShekhSaifuddin007 opened 1 year ago

ShekhSaifuddin007 commented 1 year ago

In Ubuntu 22.04

go: go.mod file not found in current directory or any parent directory. 'go get' is no longer supported outside a module. To build and install a command, use 'go install' with a version, like 'go install example.com/cmd@latest' For more information, see https://golang.org/doc/go-get-install-deprecation or run 'go help get' or 'go help install'.

I'm new in mailhog, How can I install mailhog in my machine, someone help please

DBX12 commented 1 year ago

Hey, this is not a mailhog issue. You are running go in a version greater than 1.17, so you should follow this install instruction in the README: https://github.com/mailhog/MailHog#go--v117-debian-bookworm