Re: [go-nuts] encoding/asn1 I can't Marshal a struct with pointer members

2024-04-27 Thread Jan Mercl
On Sun, Apr 28, 2024, 03:03 J Liu <8859210...@gmail.com> wrote: > My program is like this: > > type Girl struct { > Name string > Age int > } > > type Person struct { > girl *Girl > job string > } > > > What should I do to Marshal 'Person'? > I think you need to export

[go-nuts] encoding/asn1 I can't Marshal a struct with pointer members

2024-04-27 Thread J Liu
My program is like this: type Girl struct { Name string Age int } type Person struct { girl *Girl job string } What should I do to Marshal 'Person'? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from

[go-nuts] Re: all.bash fails on Ubuntu 24.04?

2024-04-27 Thread Uli Kunitz
I agree. Ubuntu 22.04 has gdb version 12.1, Ubuntu 24.04 has 15.0.50. The second bug may be a change by kernel 6.8 in the handling of ambient capabilities if the user namespace is changed. The test without changing the user namespace is successful. I have created two issues for the two

Re: [go-nuts] Congrats to the Go team

2024-04-27 Thread Robert Engels
Yes. It is this https://github.com/robaho/fixed/blob/5493e8737df761ffcf6be9441b4b8ae41fcf5da4/fixed_bench_test.go#L10On Apr 27, 2024, at 10:31 AM, Steven Hartland wrote:Do you have the test code for that specific test?That would allow others to have a look at it and also confirm if the test is

Re: [go-nuts] Congrats to the Go team

2024-04-27 Thread Steven Hartland
Do you have the test code for that specific test? That would allow others to have a look at it and also confirm if the test is somehow optimising the function call away. On Sat, 27 Apr 2024 at 05:12, robert engels wrote: > Apologies. The assembly files were reversed. But the timings remain the