Re: [go-nuts] Re: Struggling with working directory

2017-02-19 Thread Diego Medina
> > > > Did get it working (1.8) on windows though a side note on Docs for Fedora > that putting the path in $HOME/.profile does not work and for me anyway I > needed to put it in .bashrc > https://golang.org/doc/install?download=go1.8.linux-amd64.tar.gz > > Great to know you got it working! re

Re: [go-nuts] Re: Struggling with working directory

2017-02-18 Thread Sayth Renshaw
On Tuesday, 14 February 2017 11:53:45 UTC+11, Diego Medina wrote: > > > Not sure why its being difficult. > > knowing why I needed a GOPATH and what it was used for was probably the > main issue I had when I started with Go too, some 3+ years ago, we'll help > you get through it. Now, if you

Re: [go-nuts] Re: Struggling with working directory

2017-02-13 Thread Diego Medina
> Not sure why its being difficult. knowing why I needed a GOPATH and what it was used for was probably the main issue I had when I started with Go too, some 3+ years ago, we'll help you get through it. Now, if you go back to the original instructions, https://golang.org/doc/install#install you

Re: [go-nuts] Re: Struggling with working directory

2017-02-13 Thread Dave Cheney
Those instructions are wrong, I've written to the author and asked them to remove the incorrect information. Please follow the installation instructions on the golang.org website, they are well tested and known to work well. https://golang.org/doc/install On Tuesday, 14 February 2017 09:07:54

Re: [go-nuts] Re: Struggling with working directory

2017-02-13 Thread Sayth Renshaw
That's the one i used first but got errors that it couldn't find GOPATH even though i installed it to the suggested default location. So when that didn't work i delete the go directory and the details from .profile and then followed ://

Re: [go-nuts] Re: Struggling with working directory

2017-02-13 Thread Diego Medina
Can you include the link to the guide you followed to install Go? I always follow https://golang.org/doc/install#install which is, after downloading from the link on that page,: tar -C /usr/local -xzf go$VERSION.$OS-$ARCH.tar.gz and then adding: /usr/local/go/bin to the PATH And I have

[go-nuts] Re: Struggling with working directory

2017-02-13 Thread Sayth Renshaw
On Sunday, 12 February 2017 04:16:15 UTC+11, Diego Medina wrote: > > Hi, > > you were very close, instead of > > go install github.com/mortalcatalyst/xml/xml.go > > do > > go install github.com/mortalcatalyst/xml > > > In go, you don't install the particular file, you install the program as a >

[go-nuts] Re: Struggling with working directory

2017-02-12 Thread Igor Maznitsa
also you can try build golang projects through mvn-golang (with the java maven tool) in the case you should play with environment much less -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe

[go-nuts] Re: Struggling with working directory

2017-02-11 Thread Diego Medina
Hi, you were very close, instead of go install github.com/mortalcatalyst/xml/xml.go do go install github.com/mortalcatalyst/xml In go, you don't install the particular file, you install the program as a whole (which in many cases, it involves more than one file) And as a side note,