I would like to access the Go Module it seems that mod sub command is not found on my system, i was trying to fix it but i couldn’t find proper solution… please help me with your answers.
am using Golang 10.4 version on Ubuntu 18.04
I would like to access the Go Module it seems that mod sub command is not found on my system, i was trying to fix it but i couldn’t find proper solution… please help me with your answers.
am using Golang 10.4 version on Ubuntu 18.04
The go version provided with apt on ubuntu is usually “outdated”.
The recommended way to install the most recent version of go is described here:
https://golang.org/dl/
To get back on your track, here are the steps to follow.
This is all you need to get the current latest version of Go 1.13 that support modules. Note that GOPATH is not defined since it’s not needed anymore with modules.
GOBIN is the directory where go commands will be installed or programs compiled with go install.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.