Ancestors

Written by Matt Palmer on 2024-10-28 at 00:21

"value of type time.Time cannot be ordered" -- #golang taking a very strong philosophical stance on the nature of time.

=> More informations about this toot | More toots from womble@infosec.exchange

Toot

Written by John Turner on 2024-10-28 at 00:43

@womble Go’s decision to not allow structs to define ordering behavior has some weird consequences

=> More informations about this toot | More toots from while1malloc0@hachyderm.io

Descendants

Written by Christoph Berger on 2024-10-28 at 06:52

@while1malloc0 @womble slices.SortFunc might be what you're looking for.

=> More informations about this toot | More toots from christophberger@c.im

Written by Olivier Mengué on 2024-10-28 at 07:37

@while1malloc0 @womble However Go allows slice types to define the order of their elements by implementing the sort.Interface.

https://pkg.go.dev/sort#Interface

=> More informations about this toot | More toots from dolmen

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113382274082026372
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
269.212924 milliseconds
Gemini-to-HTML Time
0.657305 milliseconds

This content has been proxied by September (3851b).