After you install with the software center, you don’t need to run that tar
command. That’s just a different (and frankly terrible) way of installing golang, which you’ve already done in the software center.
If you’re trying to write your Go code into files under /usr/local, you’ll probably run into lots of permission errors. That directory is normally used for system wide applications to be installed (though Solus doesn’t use /usr/local as such unlike many other Linux distros).
A better place to store your Go code files (that you’re writing with vscode) is your home directory.