I am a beginner of go.
I tried to compile a go project, but I can not find any doc or article explaning "/...
".
cd ~/src/ephenation-server
go install -v ./...
Waiting for your help.
Since Go 1.16, go install can install a command at a version specified on the command line while ignoring the go. mod file in the current directory (if one exists). go install should now be used to install commands in most cases.
The package installs the Go distribution to /usr/local/go. The package should put the /usr/local/go/bin directory in your PATH environment variable. You may need to restart any open Terminal sessions for the change to take effect. Confirm that the command prints the installed version of Go.
To install a package using go get follow the following steps: Step 1: Make sure to check whether the Golang is installed on your system by checking the version of Go. Step 2: Set the GOPATH by using the following command. Step 3: Now, set the PATH variable with the help of the following command.
The go command interprets example/path/...
as example/path/
and all subdirectories. You might want to read the section, Description of package lists, on how go
finds your packages..
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With