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;
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
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
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.
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,
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:
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