Re: [go-nuts] Re: chidley: XML to Go structs

2017-06-15 Thread Glen Newton
Without your XML file I cannot figure out the issue. If you are OK with sharing your XML file, please post it with the issue at: https://github.com/gnewton/chidley/issues Thanks, Glen On Wednesday, June 14, 2017 at 2:54:28 PM UTC-4, shrinkhala singhania wrote: > > Hi, > > I tried running my

Re: [go-nuts] Re: chidley: XML to Go structs

2017-06-14 Thread Shrinkhala Singhania
Hi, I tried running my XML file and throws this error: chidley$chidley -W xml/openconfig.xml > examples/oc/openconfig1.go chidley$cd examples/oc/ oc$go build # github.com/gnewton/chidley/examples/oc ./openconfig1.go:3361: Chiroot redeclared in this block previous

Re: [go-nuts] Re: chidley: XML to Go structs

2017-06-14 Thread Shrinkhala Singhania
That worked. Thanks. Regards, Shrinkhala On Wed, Jun 14, 2017 at 2:22 PM, Ian Lance Taylor wrote: > On Wed, Jun 14, 2017 at 11:08 AM, wrote: > > I have this in my bash_profile: > > > > export PATH=/usr/local/bin:/usr/local/sbin:$PATH > > > >

Re: [go-nuts] Re: chidley: XML to Go structs

2017-06-14 Thread Ian Lance Taylor
On Wed, Jun 14, 2017 at 11:08 AM, wrote: > I have this in my bash_profile: > > export PATH=/usr/local/bin:/usr/local/sbin:$PATH > > export GOPATH = /Users/ssinghania/go/ > > export CLASSPATH=".:/usr/local/lib/antlr-4.6-complete.jar:$CLASSPATH" OK, so do what I

Re: [go-nuts] Re: chidley: XML to Go structs

2017-06-14 Thread singhania . shrink
I have this in my bash_profile: export PATH=/usr/local/bin:/usr/local/sbin:$PATH *export GOPATH = /Users/ssinghania/go/* export CLASSPATH=".:/usr/local/lib/antlr-4.6-complete.jar:$CLASSPATH" On Wednesday, June 14, 2017 at 1:53:53 PM UTC-4, Ian Lance Taylor wrote: > > On Wed, Jun 14, 2017 at

Re: [go-nuts] Re: chidley: XML to Go structs

2017-06-14 Thread Shrinkhala Singhania
I have this in my bash_profile: export PATH=/usr/local/bin:/usr/local/sbin:$PATH *export GOPATH = /Users/ssinghania/go/* export CLASSPATH=".:/usr/local/lib/antlr-4.6-complete.jar:$CLASSPATH" Regards, Shrinkhala On Wed, Jun 14, 2017 at 1:53 PM, Ian Lance Taylor wrote: > On

Re: [go-nuts] Re: chidley: XML to Go structs

2017-06-14 Thread Ian Lance Taylor
On Wed, Jun 14, 2017 at 10:19 AM, wrote: > > To install chidley, I did the following: > > go get github.com/gnewton/chidley > > This worked. However, issue on > > > chidley -W xml/test1.xml > examples/test/ChildTest1.go > > -bash: chidley: command not found > > How do

[go-nuts] Re: chidley: XML to Go structs

2017-06-14 Thread singhania . shrink
To install chidley, I did the following: go get github.com/gnewton/chidley This worked. However, issue on chidley -W xml/test1.xml > examples/test/ChildTest1.go -bash: chidley: command not found How do I fix this? Thanks On Thursday, August 28, 2014 at 7:33:27 AM UTC-4, Glen Newton wrote: