You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Hi @tunecrew@eliander30 .
After the go version is upgraded, it no longer supports the go get installation, but the email-verifier is only a library, so it does not support the go install.
For a library package in Go, you can install it and manage dependencies using Go Modules. Here are the steps:
Initialize Go Modules:
Open your terminal in the project directory and run the following command to initialize Go Modules: go mod init example.com/myproject
Install the email-verifier Package:
Use the following command to download and install email-verifier package along with its dependencies: import "github.com/AfterShip/email-verifier"
Install the Package:
Use the following command to download and install the email-verifier package along with its dependencies: go get github.com/AfterShip/email-verifier@latest
Write Your Code:
Utilize the library in your code as needed, referring to the library's documentation for proper usage instructions.
Build and Run:
Finally, build or run your program using go build or go run.
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
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
The text was updated successfully, but these errors were encountered: