[go-nuts] x/mobile: Extend support for non Android java platform

2023-02-24 Thread K
Hi all, currently "x/mobile" support Android platform by generating AAR files, it can be easily support other platforms like Desktop (Windows, Linux, MacOS) for Java/Kotlin by generating a JAR file and .(so/dll/dylib), it only need to include the right headers to be compiled to the right platfo

Re: [go-nuts] With Go support of Generics I don't sure If interfaces are really about methods (behavior)

2023-02-24 Thread Ian Lance Taylor
On Fri, Feb 24, 2023 at 9:22 AM Mohab Alnajjar wrote: > > As we always say: "Interfaces are about behaviors, not data". However, when > it comes to Generics the only way to make type parameter constraints is by > listing types in the interface! (Interface type list): > > type myNumber interface

[go-nuts] Re: Making temporary changes to 3rd party modules without breaking go install

2023-02-24 Thread Adrian Hesketh
I think I have two choices: 1 - stop recommending the use of `go install`, because it: - Doesn't support the replace directive. - Had an unexpected failure mode that I don't properly understand even after reading the error message and the big thread. - I think it means I'm not all

[go-nuts] With Go support of Generics I don't sure If interfaces are really about methods (behavior)

2023-02-24 Thread Mohab Alnajjar
Hi everybody, As we always say: "Interfaces are about behaviors, not data". However, when it comes to Generics the only way to make type parameter constraints is by listing types in the interface! (Interface type list): type myNumber interface { int | float64 // Other methods signatures } This

[go-nuts] Re: Reading .xls file with golang

2023-02-24 Thread Daniel Theophanes
There isn't a good XLS reader. I had to fork that version here: https://pkg.go.dev/github.com/kardianos/xls It still has issues, but it is better then the previous version. On Wednesday, February 15, 2023 at 7:55:26 AM UTC-6 Amnon wrote: > File an issue at https://github.com/extrame/xls/issues >