Sam, Your problems stem from this change:
Go 1.8 Release Notes Default GOPATH https://golang.org/doc/go1.8#gopath The GOPATH environment variable (https://golang.org/cmd/go/#hdr-GOPATH_environment_variable) now has a default value if it is unset. It defaults to $HOME/go on Unix and %USERPROFILE%/go on Windows. cmd/go: assume GOPATH=$HOME/go if not set #17262 https://github.com/golang/go/issues/17262 As you can see from the issue #17262 discussion, the change only addresses a simple (simplistic) case. Anything other than that is for "advanced users." What is your output from the go version, go env, and $PATH commands? What is your maximum space allocation on Dropbox? What is the slowest upload and download speed you use for a Dropbox connection? Peter On Thursday, May 18, 2017 at 10:27:55 AM UTC-4, Sam Pollard wrote: > > I’m new to GO and fairly new to the command line on Mac (but having a lot > of fun learning :-) ) > > Apologies in advance if this has been covered elsewhere. I’ve tried > searching but not found the answer. > > > I’ve installed GO on two separate Macs, and started learning GO, written a > couple of extremely simple programs, got them running, all’s well. > > > I’ve created my workspace inside my Dropbox folder and done what I think I > need to do inside my .bash_profile to make sure my GOPATH knows where to > find stuff. > > > That done, I then realise that the installation of Go left a folder called > ‘go’ inside my home folder. That ‘go’ folder has subdirectories called bin, > src, pkg. > > I’m assuming that this is Google’s way of saying, you’re going to need a > workspace, let us create one for you. > > That workspace is not empty. There are, indeed, several layers of nested > subfolders, containing quite a lot of ‘stuff’, the purpose of which I’m not > at all clear about at the moment. I can only assume it’s ‘stuff’ which > Google thinks I may need at some point. > > (The binaries named go, godoc, gofmt are tucked away in usr/local/go/bin > where we’d expect them to be). > > > I must admit, it seems odd that in the documentation I couldn’t find any > reference to this ‘workspace’, nor do any of the various tutorials/videos > that I’ve watched mention it. > > > My question: can I simply move the contents of that ‘go’ folder to the > workspace I’ve created in my Dropbox folder? > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.