[go-nuts] Re: Generic error handling with panic, recover, and defer

2022-08-06 Thread Harri L
Thanks for mentioning https://github.com/lainio/err2. I'm the author of the package. Maybe a few words about it would be ok. We could say that the err2 package is one of the most important libraries in our corporation's use. It's over three years old by now, and we have used it both for

Re: [go-nuts] Re: Generic error handling with panic, recover, and defer

2022-07-29 Thread 'Sean Liao' via golang-nuts
or https://github.com/dsnet/try - sean On Fri, Jul 29, 2022, 23:01 Nathaniel Lehrer wrote: > This is similar, maybe this one is better to use? > https://github.com/lainio/err2 > > On Tuesday, September 21, 2021 at 1:57:38 PM UTC-7 mces...@gmail.com > wrote: > >> With go 1.18 generics

[go-nuts] Re: Generic error handling with panic, recover, and defer

2022-07-29 Thread Nathaniel Lehrer
Hi mcesar, thanks for putting this together! I'm thinking about using this for our project... Curious if anyone would like to share their experience employing this library? On Tuesday, September 21, 2021 at 1:57:38 PM UTC-7 mces...@gmail.com wrote: > With go 1.18 generics implementation it is

[go-nuts] Re: Generic error handling with panic, recover, and defer

2022-07-29 Thread Nathaniel Lehrer
This is similar, maybe this one is better to use? https://github.com/lainio/err2 On Tuesday, September 21, 2021 at 1:57:38 PM UTC-7 mces...@gmail.com wrote: > With go 1.18 generics implementation it is now possible to provide error > handling functions in a fashion similar to the "try"