AfterShip / email-verifier

:white_check_mark: A Go library for email verification without sending any emails.
MIT License
1.17k stars 149 forks source link

Help installing this on ubuntu 22.04 #119

Open eliander30 opened 4 months ago

eliander30 commented 4 months ago

Hi I'm trying install it on ubuntu 22.04 but when i execute the command to install it i see the following error

go get -u github.com/AfterShip/email-verifier

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'.

NOTE: i also used the gollowing command but is not working neither

go install github.com/AfterShip/email-verifier@latest package github.com/AfterShip/email-verifier is not a main package

zakirkun commented 1 month ago

can you provide go version on your device?

tunecrew commented 2 weeks ago

Same issue on macOS - go 1.22.6.

I understand that go get has been deprecated in favour of go install but it still doesn't work.

go install github.com/AfterShip/email-verifier@latest

package github.com/AfterShip/email-verifier is not a main package