[go-nuts] Re: Why does using time.Time.Compare like this work?

2025-02-20 Thread Mike Schilling
Any method can be called as a normal function with the receiver as the first argument. Thus you can call time.Time.Compare(time1, time2) . On Thursday, February 20, 2025 at 9:57:35 AM UTC-8 cpu...@gmail.com wrote: > Sorry for not finding a better than this click bait subject. > > In https://git

[go-nuts] Re: Why does using time.Time.Compare like this work?

2025-02-20 Thread Mike Schilling
See "Method expressions" in the Go Programming Language Specification. On Thursday, February 20, 2025 at 10:30:22 AM UTC-8 Mike Schilling wrote: > Any method can be called as a normal function with the receiver as the > first argument. Thus you can call time.Time.Compare(time1

[go-nuts] Are there plans to make coroutines a supported feature?

2024-10-20 Thread Mike Schilling
If so,is it likely. to look more like the current small API, of the larger one discussed in Russ Cox's Coroutines for Go? -- 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 e