Re: [go-nuts] Language idea: Improved support for method-like functions

2022-12-20 Thread 'Axel Wagner' via golang-nuts
On Tue, Dec 20, 2022 at 6:05 PM Red Daly wrote: > Thanks for the links. Note that while 56283 was declined citing lack of > emoji support > , a > comment in issue 49085 >

Re: [go-nuts] Re: App Engine hasn't upgraded beyond Go 1.16, which is now out of security window

2022-12-20 Thread ga...@zenbunker.ch
Any updates on App Engine Flexible? It's still stuck on 1.15 and a pull request for 1.16 has been ignored for over a year https://github.com/GoogleCloudPlatform/golang-docker Is App Engine Flexible being abandoned by Google? Where should I migrate our Go applications? Best, Gabor On Tuesday,

[go-nuts] In App Engine Flexible, how do I use a Go version beyond 1.15?

2022-12-20 Thread Gabor Lenard
Hello everyone I would like to use the latest available Go version in Google App Engine Flexible. However, the latest supported Go version seems to be 1.15, see https://cloud.google.com/appengine/docs/flexible/go/runtime The responsible repository was not updated since 2020, and relevant pull

[go-nuts] Create a XML signature my XML DATA

2022-12-20 Thread Reeturaj Sahoo
Hello Golang Team, I want to implement Signed XML to my XML Data . If anyone have reference document .Kindly share -- 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

Re: [go-nuts] Language idea: Improved support for method-like functions

2022-12-20 Thread Red Daly
On Mon, Dec 19, 2022 at 12:25 PM Axel Wagner wrote: > > > On Mon, Dec 19, 2022 at 8:31 PM Red Daly wrote: > >> Methods cannot take type arguments, so I find myself writing `func Foo(o >> Object) {...}` instead of `func (o Object) Foo()` in cases where Foo needs >> a type parameter. >> >> I

Re: [go-nuts] Re: Context cancellation: Is it sufficient to make long-running things interruptible?

2022-12-20 Thread Jason E. Aten
Nonsense. Closing channels is a generic means of broadcasting to all listeners a state change. To say that only one goroutine should ever initiate such a change is a needless and pointless restriction. On Tue, Dec 20, 2022 at 2:40 AM Jan Mercl <0xj...@gmail.com> wrote: > On Tue, Dec 20, 2022

Re: [go-nuts] Re: Context cancellation: Is it sufficient to make long-running things interruptible?

2022-12-20 Thread Jan Mercl
On Tue, Dec 20, 2022 at 9:21 AM Jason E. Aten wrote: > Shutting down goroutines quickly was needed so often that I wrote a package > to help me with it. it is called idem, short for idempotent. > > It uses the idea of an idempotent Close of a channel to signal that the > goroutine should stop.

[go-nuts] Re: Context cancellation: Is it sufficient to make long-running things interruptible?

2022-12-20 Thread Jason E. Aten
Shutting down goroutines quickly was needed so often that I wrote a package to help me with it. it is called idem, short for idempotent. It uses the idea of an idempotent Close of a channel to signal that the goroutine should stop. This is because Go will panic if close a channel more than once