Got it. I missed that the signature of the SortFunc does not include a return
value. Thanks!
> On Sep 9, 2024, at 12:31 PM, Jan Mercl <0xj...@gmail.com> wrote:
>
> On Mon, Sep 9, 2024 at 9:24 PM P Padil wrote:
>
>> Can someone please explain to me why the following doesn’t work:
>>
>> slices.
On Mon, Sep 9, 2024 at 9:24 PM P Padil wrote:
> Can someone please explain to me why the following doesn’t work:
>
> slices.SortFunc(ilps, func(u, w *big.Int) int { return u.Cmp(w) })
>
> I get:
> slices.SortFunc(ilps, (func(u, w *big.Int) int literal)) (no value) used as
> value
Providing a co
Can someone please explain to me why the following doesn’t work:
slices.SortFunc(ilps, func(u, w *big.Int) int { return u.Cmp(w) })
I get:
slices.SortFunc(ilps, (func(u, w *big.Int) int literal)) (no value) used as
value
Much appreciated!
Regards,
Pete
--
You received this message because yo
Hello,
I've written a slog handler that checks the context for a key/value and
changes the log level to debugging if the value matches. It can be found at
https://github.com/MichelHollands/tracerbullet.
Is this a valid use of a custom handler? Can you seen anything obviously
wrong with this ap
Hi,
Java is certainly not Go, now we have a great simplification to develop
code, but you can clarify the context for making a decision in the
description of the ValueListHandler J2EE pattern.
Regards,
пятница, 6 сентября 2024 г. в 02:11:39 UTC+3, cpasmaboiteaspam:
> Hello,
>
> I would defini