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

2017-02-18 Thread Sayth Renshaw
or give you an error, post back > what you got. > > Thanks > > Diego > > > > > > > On Mon, Feb 13, 2017 at 5:07 PM, Sayth Renshaw <flebbe...@gmail.com > > wrote: > >> That's the one i used first but got errors that it couldn't find GOPATH >

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

2017-02-13 Thread Sayth Renshaw
gt; > 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 never had to set GOBIN > > Thanks > > Diego > > > > On M

[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] Struggling with working directory

2017-02-11 Thread Sayth Renshaw
Hi All I installed go on a new linux mint laptop and followed the standard go guide and it works fine with the hello world example. Today i came back to work on go and cannot seem to do the install step to run my script. sayth@sayth-E6410 ~ $ mkdir -p work/src/github.com/mortalcatalyst/xml

[go-nuts] logical

2017-01-13 Thread Sayth Renshaw
The thing about Go is that its largely simple and logical. You get what you expect nothing less nothing more, its not fancy nor surprising it just is. There are many things I have yet to learn in Go but if I keep getting out exactly what I expext then I am sure to keep learning. Sayth -- You

[go-nuts] Golang structure CLI app

2017-01-06 Thread Sayth Renshaw
Hi Of i am going to parse a file in several different ways. The file type in is the same just selection parsed would differ should i have va separate file for each parsing option and one as the main that runs them? So that at command line use could run Someapp file_in --option1 or --all etc.

Re: [go-nuts] xml for a person used to python's lxml - multiple attributes

2017-01-02 Thread Sayth Renshaw
Is there a good simple ORM or pipeline to push data to a database like SQLite? Sayth -- 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

Re: [go-nuts] xml for a person used to python's lxml - multiple attributes

2017-01-01 Thread Sayth Renshaw
Wow that is so cool and clear. Sayyh -- 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

[go-nuts] xml for a person used to python's lxml - multiple attributes

2017-01-01 Thread Sayth Renshaw
HI I was reading the docs for Go xml and the examples on github. One thing I am liking is the lack of looping instead defining a struct for the level you want and taking it. What I cannot quite grasp from the examples is how do take multiple attributes out. say I have an XML example like