[go-nuts] Re: Go lang

2020-03-18 Thread Brian Candler
It sounds like you have Tomcat running, and it's listening on port 8080. If that's the case, then your go program will be unable to bind a listening socket on port 8080 at the same time. Either modify your go program to bind to a different port; or stop Tomcat before starting your go program;

Re: [go-nuts] Re: GO lang not able to decrypt the xor-base64 text

2019-01-21 Thread Michael Jones
Another way to think about it... https://play.golang.org/p/XtfFgwYw3f8 On Mon, Jan 21, 2019 at 10:26 AM wrote: > Like Christian said, your main problem is how Javascript and how Go > iterate. > > In your Javascript example, you use: > > for(var i=0;i > so you iterate in a +1 increment

[go-nuts] Re: GO lang not able to decrypt the xor-base64 text

2019-01-21 Thread silviucapota
Like Christian said, your main problem is how Javascript and how Go iterate. In your Javascript example, you use: for(var i=0;ihttps://play.golang.org/p/23nMX2dFhJF On Sunday, 20 January 2019 10:14:05 UTC-5, Soorya Prakash wrote: > > > I am using the below code to encrypt and decrypt the

[go-nuts] Re: GO lang not able to decrypt the xor-base64 text

2019-01-20 Thread Pat Farrell
On Sunday, January 20, 2019 at 10:14:05 AM UTC-5, Soorya Prakash wrote: > > > I am using the below code to encrypt and decrypt the data. Now I want to > encrypt the data from Node JS and want to decrypt the data from Go lang. > use -1 as the key to debug. once that works, use zero as the key.

[go-nuts] Re: go lang best practices and git repo structure for newbies

2018-04-24 Thread Louki Sumirniy
This git repository shows an example of all the common conventions for build layout https://github.com/golang-standards/project-layout On Tuesday, 24 April 2018 08:26:49 UTC+3, vteja...@gmail.com wrote: > > Thank you Matt, I will start reading as you mentioned. > > BR, > Teja > > On Monday,

[go-nuts] Re: go lang best practices and git repo structure for newbies

2018-04-23 Thread vtejaswini1
Thank you Matt, I will start reading as you mentioned. BR, Teja On Monday, April 23, 2018 at 8:36:00 PM UTC+2, matthe...@gmail.com wrote: > > Hi Teja, > > I found Effective Go to be generally helpful: > https://golang.org/doc/effective_go.html > > Here’s my best example:

[go-nuts] Re: go lang best practices and git repo structure for newbies

2018-04-23 Thread matthewjuran
Hi Teja, I found Effective Go to be generally helpful: https://golang.org/doc/effective_go.html Here’s my best example: https://github.com/pciet/wichess My golang-nuts code review points: - don’t overuse interface (consider closures and function types/fields) - don’t overuse packages, make