Re: [go-nuts] Interesting "select" examples

2023-04-02 Thread Konstantin Kulikov
Below is an example of code that does some work even after timeout. In a perfect world it would be simple "return FetchLinks(user)", but unfortunately 3rd-party service is unreliable, so we did some caching and timeouts. The idea is as follows: User sends a request, we try to fetch data from a 3rd

Re: [go-nuts] Need help: Calling panic() is corrupting system stack

2023-04-02 Thread Robert Engels
I would start by publishing a small reproducible test case on github that fully compiles that demonstrates the issue. > On Apr 2, 2023, at 10:59 PM, mariappan balraj > wrote: > >  > Hello Go Experts, > > It is good if someone can help on this? > > Best Regards > Mariappan >> On Sat, Apr 1

[go-nuts] Need help: Calling panic() is corrupting system stack

2023-04-02 Thread mariappan balraj
Hello Go Experts, It is good if someone can help on this? Best Regards Mariappan On Sat, Apr 1, 2023 at 7:45 AM mariappan balraj wrote: > Hello Go experts, > > Could someone please help to resolve this issue? > > Best Regards > Mariappan > > On Thu, Mar 30, 2023 at 2:52 PM mariappan balraj < >

[go-nuts] Interesting "select" examples

2023-04-02 Thread Nigel Tao
I'm working on a multi-threaded C++ project. We have the equivalent of Go's channels, and are considering whether we also need to implement the equivalent of Go's select. Does anyone have interesting, non-trivial examples of a Go select statement in real code? By non-trivial, I mean that a lot of

[go-nuts] Table html + js + golang

2023-04-02 Thread Wellington Arantes
Hello, I'm a noob about Golang, I'm studying and making samples... I have a form HTML with inputs and a table I created a function to update and execute a function javascript In function, js get all information from HTML, inputs, and table, but in golang I don't get the table information...How ca