title: Unknown subcommand "mod" error while running go mod init
body: <p>I have installed the go language in my ubuntu using <code>sudo apt install golang-go</code>. </p>
  
  <p>It was successfully installed. When i run <code>go version</code> I am getting <code>go version go1.10.4 linux/amd64</code> </p>
  
  <p>but when i tried running <code>go mod init projectName</code> I am getting the following <code>error go: unknown subcommand "mod"</code></p>
  
  <p>Do I need to install mod package or am i missing something?  I have implemented the solution given by christophe in this <a href="https://forum.golangbridge.org/t/go-unknown-subcommand-mod/15257" rel="noreferrer">forum</a> but it didn't work for me.</p>