Hi,you were very close, instead ofgo install github.com/mortalcatalyst/xml/xml.godogo install github.com/mortalcatalyst/xmlIn 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, normally you would$ cd $GOPATH/src/github.com/mortalcatalyst/xml$ go installso you don't have to specify the whole path to the project every time.Hope that helpsP.S. as you work with Go more and more, you'll want to add these lines to ~/.bash_profile:CDPATH=.:$GOPATH/src/github.com:$GOPATH/src/bitbucket.org #you may add more domains here if you host your proejct(s) somewhere elseexport CDPATHthat let's you, form anywhere in your terminal, to type:$ cd morThen press tab and the terminal will autocomplete mortalcatalystP.S. source of the tip https://twitter.com/rob_pike/status/467367507305574400Diego
--
You received this message because you are subscribed to a topic in the Google Groups "golang-nuts" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/golang-nuts/YE0w1Cbb1Ac/unsubscribe.
To unsubscribe from this group and all its topics, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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 ://www.digitalocean.com/community/tutorials/how-to-install-go-1-6-on-ubuntu-16-04.
Not sure why its being difficult.
Cheers
Sayth
To unsubscribe from this group and all its topics, send an email to golang-nuts...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to golang-nuts+unsubscribe@googlegroups.com.
--
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
Also an note with system wide with fedora is that for system wide it should be a custom .sh script in /etc/profile.d well according the the etc/profile anyway.From etc/profile# It's NOT a good idea to change this file unless you know what you# are doing. It's much better to create a custom.sh shell script in# /etc/profile.d/ to make custom changes to your environment, as this# will prevent the need for merging in future updates.ThanksSayth